From: hickert Date: Mon, 12 Mar 2007 11:48:17 +0000 (+0000) Subject: Updated html code generation. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=73e172e521667029f762d07712d7d3fde7a45d6d;p=gosa.git Updated html code generation. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5766 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/sieve/class_My_Tree.inc b/include/sieve/class_My_Tree.inc index 40f59fdf1..cb18851b9 100644 --- a/include/sieve/class_My_Tree.inc +++ b/include/sieve/class_My_Tree.inc @@ -146,7 +146,7 @@ class My_Tree extends Tree foreach($this->pap as $key => $obj){ if(in_array(get_class($obj),array("sieve_if","sieve_elsif","sieve_vacation","sieve_comment","sieve_reject","sieve_fileinto","sieve_require","sieve_redirect"))){ - #$this->pap[$key]->save_object(); + $this->pap[$key]->save_object(); } $once = TRUE; diff --git a/include/sieve/class_sieveElement_If.inc b/include/sieve/class_sieveElement_If.inc index 6d06ddf0b..e0c24f77b 100644 --- a/include/sieve/class_sieveElement_If.inc +++ b/include/sieve/class_sieveElement_If.inc @@ -574,7 +574,7 @@ class sieve_if if(($key2 === "Inverse") && ($key2 == "Inverse")){ continue; } - $parsed[$key][$key2] = $this->save_object_recursive($dat, ($id +1),$key2); + $parsed[$key][$key2] = $this->save_object_recursive($dat, ($id +1),$key2."-".$obj_id); } break ; } @@ -592,7 +592,7 @@ class sieve_if if(($key2 === "Inverse") && ($key2 == "Inverse")){ continue; } - $parsed[$key][$key2] = $this->save_object_recursive($dat, ($id + 1),$key2); + $parsed[$key][$key2] = $this->save_object_recursive($dat, ($id + 1),$key2."-".$obj_id); } break ; } @@ -896,7 +896,7 @@ class sieve_if if(($key === "Inverse") && ($key == "Inverse")){ continue; } - $Contents .= $this->get_as_html($dat, ($id +1),$key); + $Contents .= $this->get_as_html($dat, ($id +1),$key."-".$obj_id); } $smarty = get_smarty(); $smarty->assign("Inverse",$Inverse); @@ -918,7 +918,7 @@ class sieve_if if(($key === "Inverse") && ($key == "Inverse")){ continue; } - $Contents .= $this->get_as_html($dat, ($id +1),$key); + $Contents .= $this->get_as_html($dat, ($id +1),$key."-".$obj_id); } $smarty = get_smarty(); $smarty->assign("Inverse",$Inverse); diff --git a/include/sieve/class_sieveElements.inc b/include/sieve/class_sieveElements.inc index 870e38010..3c133fdf1 100644 --- a/include/sieve/class_sieveElements.inc +++ b/include/sieve/class_sieveElements.inc @@ -335,7 +335,7 @@ class sieve_fileinto function get_mail_boxes() { - return(array("not","impplemented/yet")); + return(array("not"=>"not","impplemented/yet"=>"impplemented/yet")); } }