From: tjhunt Date: Thu, 23 Apr 2009 06:25:51 +0000 (+0000) Subject: XHTML strict X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9c3ea652950b70e5cafe4f676feeae4ae7266101;p=moodle.git XHTML strict --- diff --git a/admin/roles/lib.php b/admin/roles/lib.php index 97d9f867ad..d59a418084 100644 --- a/admin/roles/lib.php +++ b/admin/roles/lib.php @@ -714,11 +714,11 @@ class define_role_table_advanced extends capability_table_with_risks { } $checked = ''; if ($this->permissions[$capability->name] == $perm) { - $checked = ' checked="checked"'; + $checked = 'checked="checked" '; } echo ''; echo ''; } @@ -754,7 +754,7 @@ class define_role_table_basic extends define_role_table_advanced { } echo ''; echo ''; + '" value="' . CAP_ALLOW . '" ' . $checked . '/> ' . $this->strallow . ''; } else { echo ''; echo $this->strperms[$permname] . '' . $this->stradvmessage . ''; @@ -875,11 +875,11 @@ class override_permissions_table_advanced extends capability_table_with_risks { } $checked = ''; if ($this->permissions[$capability->name] == $perm) { - $checked = ' checked="checked"'; + $checked = 'checked="checked" '; } echo ''; echo '