Skip to content

Commit

Permalink
MDL-14932, improve accessibility in group assigning and role assignin…
Browse files Browse the repository at this point in the history
…g pages.
  • Loading branch information
dongsheng committed Jul 11, 2008
1 parent c1ac9e7 commit d3789c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 14 deletions.
4 changes: 2 additions & 2 deletions admin/roles/assign.html
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
5 changes: 2 additions & 3 deletions group/members.php
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
10 changes: 1 addition & 9 deletions theme/standard/styles_layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,6 @@ form.popupform label {
}

.arrow_button input {
width:2.4em;
padding:0.3em;
overflow:hidden;
}
Expand Down Expand Up @@ -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;
}

/***
Expand Down

0 comments on commit d3789c6

Please sign in to comment.