[prev in list] [next in list] [prev in thread] [next in thread]
List: kolab-commits
Subject: steffen: server/kolab-webadmin/kolab-webadmin/php/admin/include
From: cvs () intevation ! de
Date: 2006-02-22 0:36:29
Message-ID: 20060222003629.4B5851005CF () lists ! intevation ! de
[Download RAW message or body]
Author: steffen
Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/include
In directory doto:/tmp/cvs-serv4418/kolab-webadmin/php/admin/include
Modified Files:
form.class.php
Log Message:
Fix for issue1100 (multidomain admin aliases)
Index: form.class.php
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/include/form.class.php,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- form.class.php 29 Aug 2005 21:28:28 -0000 1.23
+++ form.class.php 22 Feb 2006 00:36:27 -0000 1.24
@@ -151,8 +151,9 @@
} else {
$str .= '<td><table class="contentform">';
foreach( $value['options'] as $opt ) {
- $checked = ( in_array($opt ,$value['value'] ))?"checked":"";
- debug("Checking if $opt is in ".join(",",$value['value'])." :$checked");
+ if( is_array( $value['value'] ) ) $checked = ( in_array($opt ,$value['value'] \
))?"checked":""; + else $checked = "";
+ //debug("Checking if $opt is in ".join(",",$value['value'])." :$checked");
$str .= '<tr><td><input name="'.$key.'[]" type="checkbox" \
value="'.MySmarty::htmlentities($opt).'" '.$value['attrs']." $checked \
/></td><td>"
.MySmarty::htmlentities($opt).'</td></tr>';
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic