Revision: 6582
http://care2002.svn.sourceforge.net/care2002/?rev=6582&view=rev
Author: mizuko
Date: 2010-07-21 11:34:42 +0000 (Wed, 21 Jul 2010)
Log Message:
-----------
see #70 - radios and checkbox have erronous formating
Modified Paths:
--------------
care2x/branches/gettext/modules/system_admin/admin_user_role_edit.php
Added Paths:
-----------
care2x/branches/gettext/
Removed Paths:
-------------
care2x/branches/gettext/
Modified: care2x/branches/gettext/modules/system_admin/admin_user_role_edit.php
===================================================================
--- care2x/branches/gettext/modules/system_admin/admin_user_role_edit.php
2010-07-21 10:49:11 UTC (rev 6580)
+++ care2x/branches/gettext/modules/system_admin/admin_user_role_edit.php
2010-07-21 11:34:42 UTC (rev 6582)
@@ -303,23 +303,23 @@
switch ( $cindex) {
case 0 :
echo '
- <td valign=top colspan=5><img ' .
createComIcon ( $root_path, 'redpfeil.gif', '0', 'absmiddle' ) . '><input
type="checkbox" name="' . $x . '" value="' . $x . '" ' ;
+ <td valign=top colspan=5><label><input
type="checkbox" name="' . $x . '" value="' . $x . '" ' ;
if ($edit && strstr ( $userRole [ 'permission'
], $x ))
echo 'checked ><FONT SIZE=2
FACE="Arial" color="#ff0000"> ' ; else
echo '>' ;
- echo $v . '</td>' ;
+ echo $v . '</label></td>' ;
break ;
case 1 :
echo '
- <td><img src="p.gif" width=15></td><td
valign=top colspan=4><img src="tl2-blue.gif" border=0 width=20 height=21
align="absmiddle"><input type="checkbox" name="' . $x . '" value="' . $x . '" '
;
+ <td><img src="p.gif" width=15></td><td
valign=top colspan=4><sup>L</sup><label><input type="checkbox" name="' . $x .
'" value="' . $x . '" ' ;
if ($edit && strstr ( $userRole [ 'permission'
], $x ))
echo 'checked ><FONT SIZE=2
FACE="Arial" color="#ff0000">' ; else
echo '>' ;
- echo $v . '</td>' ;
+ echo $v . '</label></td>' ;
break ;
case 2 :
echo '
- <td><img src="p.gif" width=15><td><img
src="p.gif" width=15><td valign=top colspan=3><img src="tl2-blue.gif" border=0
width=20 height=21 align="absmiddle"><input type="checkbox" name="' . $x . '"
value="' . $x . '" ' ;
+ <td><img src="p.gif" width=15><td><img
src="p.gif" width=15><td valign=top colspan=3><sup>L</sup><label><input
type="checkbox" name="' . $x . '" value="' . $x . '" ' ;
if ($edit && strstr ( $userRole [ 'permission'
], $x ))
echo 'checked ><FONT SIZE=2
FACE="Arial" color="#ff0000">' ; else
echo '>' ;
@@ -327,19 +327,19 @@
break ;
case 3 :
echo '
- <td><img src="p.gif" width=15><td><img
src="p.gif" width=15><td><img src="p.gif" width=15><td valign=top
colspan=2><img src="tl2-blue.gif" border=0 width=20 height=21
align="absmiddle"><input type="checkbox" name="' . $x . '" value="' . $x . '" '
;
+ <td><img src="p.gif" width=15><td><img
src="p.gif" width=15><td><img src="p.gif" width=15><td valign=top
colspan=2><sup>L</sup><label><input type="checkbox" name="' . $x . '" value="'
. $x . '" ' ;
if ($edit && strstr ( $userRole [ 'permission'
], $x ))
echo 'checked ><FONT SIZE=2
FACE="Arial" color="#ff0000">' ; else
echo '>' ;
- echo $v . '</td>' ;
+ echo $v . '</label></td>' ;
break ;
case 4 :
echo '
- <td><img src="p.gif" width=15><td><img
src="p.gif" width=15><td><img src="p.gif" width=15><td><img src="p.gif"
width=15><td valign=top colspan=1><img src="tl2-blue.gif" border=0 width=20
height=21 align="absmiddle"><input type="checkbox" name="' . $x . '" value="' .
$x . '" ' ;
+ <td><img src="p.gif" width=15><td><img
src="p.gif" width=15><td><img src="p.gif" width=15><td><img src="p.gif"
width=15><td valign=top colspan=1><sup>L</sup><label><input type="checkbox"
name="' . $x . '" value="' . $x . '" ' ;
if ($edit && strstr ( $userRole [ 'permission'
], $x ))
echo 'checked ><FONT SIZE=2
FACE="Arial" color="#ff0000">' ; else
echo '>' ;
- echo $v . '</td>' ;
+ echo $v . '</label></td>' ;
break ;
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Care2002-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/care2002-developers