Browse files

MDL-42265 make Browse Users list scrollable for smaller screens

  • Loading branch information...
1 parent 7877f2a commit 3e90b472a02b86bf1bbe9f122c1e82ca921b8787 @MorrisR2 MorrisR2 committed with damyon Oct 10, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 admin/user.php
View
2 admin/user.php
@@ -378,7 +378,9 @@
echo $OUTPUT->heading('<a href="'.$securewwwroot.'/user/editadvanced.php?id=-1">'.get_string('addnewuser').'</a>');
}
if (!empty($table)) {
+ echo html_writer::start_tag('div', array('class'=>'no-overflow'));
echo html_writer::table($table);
+ echo html_writer::end_tag('div');
echo $OUTPUT->paging_bar($usercount, $page, $perpage, $baseurl);
if (has_capability('moodle/user:create', $sitecontext)) {
echo $OUTPUT->heading('<a href="'.$securewwwroot.'/user/editadvanced.php?id=-1">'.get_string('addnewuser').'</a>');

0 comments on commit 3e90b47

Please sign in to comment.