mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00
fix for MDL-7483, add table header to user picture on participants listing
This commit is contained in:
parent
9fbccd3907
commit
1d40c70b43
3 changed files with 8 additions and 3 deletions
|
@ -274,8 +274,8 @@
|
|||
|
||||
/// Define a table showing a list of users in the current role selection
|
||||
|
||||
$tablecolumns = array('picture', 'fullname');
|
||||
$tableheaders = array('', get_string('fullname'));
|
||||
$tablecolumns = array('userpic', 'fullname');
|
||||
$tableheaders = array(get_string('userpic'), get_string('fullname'));
|
||||
if (!isset($hiddenfields['city'])) {
|
||||
$tablecolumns[] = 'city';
|
||||
$tableheaders[] = get_string('city');
|
||||
|
@ -304,7 +304,7 @@
|
|||
$table->define_columns($tablecolumns);
|
||||
$table->define_headers($tableheaders);
|
||||
$table->define_baseurl($baseurl);
|
||||
|
||||
|
||||
$table->sortable(true, 'lastaccess', SORT_DESC);
|
||||
|
||||
$table->set_attribute('cellspacing', '0');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue