fix for MDL-7483, add table header to user picture on participants listing

This commit is contained in:
toyomoyo 2006-11-13 03:43:12 +00:00
parent 9fbccd3907
commit 1d40c70b43
3 changed files with 8 additions and 3 deletions

View file

@ -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');