From: hickert Date: Thu, 1 Jun 2006 05:02:02 +0000 (+0000) Subject: Handle postfix_mynetworks as single value seperated by , X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e52272e3c0d5ed49dee3c39afd95438ea4b0aece;p=gosa.git Handle postfix_mynetworks as single value seperated by , git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3593 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servKolab.inc b/plugins/admin/systems/class_servKolab.inc index d6a30a0e9..901133c62 100644 --- a/plugins/admin/systems/class_servKolab.inc +++ b/plugins/admin/systems/class_servKolab.inc @@ -70,19 +70,6 @@ class servkolab extends plugin { } } - /* Parse mynetworks */ - if(isset($this->attrs['postfix-mynetworks'])){ - if(is_array($this->attrs['postfix-mynetworks'])){ - unset($this->attrs['postfix-mynetworks']['count']); - $tmp=""; - foreach($this->attrs['postfix-mynetworks'] as $tm){ - $tmp.=$tm.";"; - } - $this->postfix_mynetworks = $tmp; - } - }else{ - $this->postfix_mynetworks=""; - } } @@ -323,17 +310,6 @@ class servkolab extends plugin { $this->kolabHost[]= $this->cn; } - /* Create mynetworks array by splitting the string with ; */ - $tmp = split(";",$this->postfix_mynetworks); - $this->postfix_mynetworks = array(); - foreach($tmp as $tm){ - trim($tm); - if(!empty($tm)){ - $this->postfix_mynetworks[]=$tm; - } - } - $this->attrs['postfix_mynetworks']=$this->postfix_mynetworks; - /* Call parents save to prepare $this->attrs */ plugin::save(); diff --git a/plugins/admin/systems/servkolab.tpl b/plugins/admin/systems/servkolab.tpl index 58578bade..446340eb2 100644 --- a/plugins/admin/systems/servkolab.tpl +++ b/plugins/admin/systems/servkolab.tpl @@ -141,7 +141,7 @@

- ( {t}Enter multiple values, seperated with{/t} ; ) + ( {t}Enter multiple values, seperated with{/t} , )