Also fix wrong title on Manage filters admin page.
/// Print the page heading.
admin_externalpage_print_header();
- print_heading(get_string('manageqtypes', 'admin'));
+ print_heading(get_string('managefilters'));
$activechoices = array(
TEXTFILTER_DISABLED => get_string('disabled', 'filters'),
$row = get_table_row($filterinfo, $firstrow, $filter == $lastactive, $applytostrings);
$table->data[] = $row;
if ($filterinfo->active == TEXTFILTER_DISABLED) {
- $table->rowclass[] = 'dimmed_text';
+ $table->rowclasses[] = 'dimmed_text';
} else {
- $table->rowclass[] = '';
+ $table->rowclasses[] = '';
}
$firstrow = false;
}
$filterinfo->active = TEXTFILTER_DISABLED;
$row = get_table_row($filterinfo, false, false, false);
$table->data[] = $row;
- $table->rowclass[] = 'dimmed_text';
+ $table->rowclasses[] = 'dimmed_text';
}
print_table($table);
//display a grey row if the type is defined as not visible
if (!$i->get_visible()){
- $table->rowclass[] = 'dimmed_text';
+ $table->rowclasses[] = 'dimmed_text';
} else{
- $table->rowclass[] = '';
+ $table->rowclasses[] = '';
}
if (!in_array($i->get_typename(), $alreadyplugins)) {
//display a grey row if the type is defined as not visible
if (!$i->get_enable()){
- $table->rowclass[] = 'dimmed_text';
+ $table->rowclasses[] = 'dimmed_text';
} else{
- $table->rowclass[] = '';
+ $table->rowclasses[] = '';
}
}
$output = print_table($table, true);
$table->tablealign = 'center';
$table->class = 'codecoveragetable';
$table->id = 'codecoveragetable_' . $type;
- $table->rowclass = array('label', 'value');
+ $table->rowclasses = array('label', 'value');
$table->data = array(
array(get_string('date') , userdate($data->time)),
array(get_string('files') , format_float($data->totalfiles, 0)),
// highlight the highest grade if appropriate
if ($overallstats && !$attempt->preview && $numattempts > 1 && !is_null($mygrade) &&
$attemptgrade == $mygrade && $quiz->grademethod == QUIZ_GRADEHIGHEST) {
- $table->rowclass[$attempt->attempt] = 'bestrow';
+ $table->rowclasses[$attempt->attempt] = 'bestrow';
}
$row[] = $formattedgrade;
//display a grey row if the type is defined as not visible
if (isset($type) && !$type->get_visible()) {
- $table->rowclass[] = 'dimmed_text';
+ $table->rowclasses[] = 'dimmed_text';
} else {
- $table->rowclass[] = '';
+ $table->rowclasses[] = '';
}
if (!in_array($i->name, $alreadyplugins)) {
$table->data[$themename] = $row;
if ($themename == $CFG->theme) {
- $table->rowclass[$themename] = 'selectedtheme';
+ $table->rowclasses[$themename] = 'selectedtheme';
}
}