mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-19796 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno
This commit is contained in:
parent
642816a60c
commit
16fa745661
1 changed files with 2 additions and 2 deletions
|
@ -156,7 +156,7 @@ if (empty($availablefilters)) {
|
||||||
echo "\n<div>\n";
|
echo "\n<div>\n";
|
||||||
echo '<input type="hidden" name="sesskey" value="' . sesskey() . '" />';
|
echo '<input type="hidden" name="sesskey" value="' . sesskey() . '" />';
|
||||||
|
|
||||||
$table = new stdClass;
|
$table = new html_table();
|
||||||
$table->head = array(get_string('filter'), get_string('isactive', 'filters'));
|
$table->head = array(get_string('filter'), get_string('isactive', 'filters'));
|
||||||
$table->align = array('left', 'left');
|
$table->align = array('left', 'left');
|
||||||
if ($settingscol) {
|
if ($settingscol) {
|
||||||
|
@ -195,7 +195,7 @@ if (empty($availablefilters)) {
|
||||||
$table->data[] = $row;
|
$table->data[] = $row;
|
||||||
}
|
}
|
||||||
|
|
||||||
print_table($table);
|
echo $OUTPUT->table($table);
|
||||||
echo '<div class="buttons">' . "\n";
|
echo '<div class="buttons">' . "\n";
|
||||||
echo '<input type="submit" name="savechanges" value="' . get_string('savechanges') . '" />';
|
echo '<input type="submit" name="savechanges" value="' . get_string('savechanges') . '" />';
|
||||||
echo "\n</div>\n";
|
echo "\n</div>\n";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue