]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14932, improve accessibility in group assigning and role assigning pages.
authordongsheng <dongsheng>
Fri, 11 Jul 2008 03:48:49 +0000 (03:48 +0000)
committerdongsheng <dongsheng>
Fri, 11 Jul 2008 03:48:49 +0000 (03:48 +0000)
admin/roles/assign.html
group/members.php
theme/standard/styles_layout.css

index 98ddb570af94072728722ceae66866db1e21ad35..eb953b8bfb510919fcc82f0a8096b0c857888b2d 100755 (executable)
@@ -46,8 +46,8 @@
         </label>
         <?php check_theme_arrows(); ?>
         <p class="arrow_button">
-            <input name="add" id="add" type="submit" value="<?php echo '&nbsp;&nbsp;&nbsp;'.$THEME->larrow.'&nbsp;'.get_string('add'); ?>" title="<?php print_string('add'); ?>" /><br />
-            <input name="remove" id="remove" type="submit" value="<?php echo '&nbsp;&nbsp;&nbsp;'.get_string('remove'). '&nbsp;'.$THEME->rarrow.'&nbsp;'; ?>" title="<?php print_string('remove'); ?>" />
+            <input name="add" id="add" type="submit" value="<?php echo $THEME->larrow.'&nbsp;'.get_string('add'); ?>" title="<?php print_string('add'); ?>" /><br />
+            <input name="remove" id="remove" type="submit" value="<?php echo get_string('remove').'&nbsp;'.$THEME->rarrow; ?>" title="<?php print_string('remove'); ?>" />
         </p>
       </td>
       <td valign="top">
index c1703c92085f9d0c2868a090de3c417aeb7c73ad..e9fc93eb6f231eb234c26fad1e336e67e069229a 100644 (file)
@@ -231,9 +231,8 @@ function updateUserSummary() {
 
         <?php check_theme_arrows(); ?>
         <p class="arrow_button">
-            <input name="add" id="add" type="submit" value="<?php echo '&nbsp;'.$THEME->larrow.' &nbsp; &nbsp; '.get_string('add'); ?>" title="<?php print_string('add'); ?>" />
-            <br />
-            <input name="remove" id="remove" type="submit" value="<?php echo '&nbsp; '.$THEME->rarrow.' &nbsp; &nbsp; '.get_string('remove'); ?>" title="<?php print_string('remove'); ?>" />
+            <input name="add" id="add" type="submit" value="<?php echo $THEME->larrow.'&nbsp;'.get_string('add'); ?>" title="<?php print_string('add'); ?>" /><br />
+            <input name="remove" id="remove" type="submit" value="<?php echo get_string('remove').'&nbsp;'.$THEME->rarrow; ?>" title="<?php print_string('remove'); ?>" />
         </p>
       </td>
       <td valign="top">
index 500ea91afbd82937250a6e135166b7d6b5c02b3c..b2d1e898c71e2f458903e7eb49fcce6895aef8f3 100644 (file)
@@ -429,7 +429,6 @@ form.popupform label {
 }
 
 .arrow_button input {
-  width:2.4em;
   padding:0.3em;
   overflow:hidden;
 }
@@ -2154,14 +2153,7 @@ body#group-index #groupeditform {
 }
 
 #add, #remove{
-    width:100px; 
-    height:35px 
-}
-#add{
-    text-align:left;
-}
-#remove{
-    text-align:right;
+    text-align:center;
 }
 
 /***