summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9ae0abe)
raw | patch | inline | side by side (parent: 9ae0abe)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 5 Jul 2005 10:36:48 +0000 (10:36 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 5 Jul 2005 10:36:48 +0000 (10:36 +0000) |
plugins/admin/systems/class_servKolab.inc | patch | blob | history | |
plugins/admin/systems/servkolab.tpl | patch | blob | history |
index 910ab152ec2ea47dd69d1d4944d4aa68b9156ff7..c88e17bb34aa8c4d8a7c24ecf77029736cfc26ed 100644 (file)
} else {
$this->is_account=false;
}
+
+ 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;
+ }
}
$this->kolabHost[]= $this->cn;
}
+
+ $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();
index c16011ae1699b51906732566aec7ab73098b9d7b..b6f1a597e9f6d805ff195fcadf8de3e50433324d 100644 (file)
</tr>
<tr>
<td>
- {t}Hosts/networks allowed to relay{/t}
- <input name="postfix_mynetworks" size="35" maxlength="120" value="{$postfix_mynetworks}" {$postfix_mynetworksACL} type="text">
+ {t}Hosts/networks allowed to relay{/t}<br>
+ <input name="postfix_mynetworks" size="60" maxlength="220" value="{$postfix_mynetworks}" {$postfix_mynetworksACL} type="text">
+ <br>
+ ( {t}Enter multiple values, seperated with{/t} ; )
</td>
</tr>
</table>