MDL-19796 upgraded calls to print_table, print_single_button, print_user_picture...
authornicolasconnault <nicolasconnault>
Thu, 20 Aug 2009 08:51:28 +0000 (08:51 +0000)
committernicolasconnault <nicolasconnault>
Thu, 20 Aug 2009 08:51:28 +0000 (08:51 +0000)
filter/manage.php

index 20750014a2591b6d7eef67fefb7fef63df79202a..d07b98098a4c1315732b52a84b276c7abdb01307 100644 (file)
@@ -156,7 +156,7 @@ if (empty($availablefilters)) {
     echo "\n<div>\n";
     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->align = array('left', 'left');
     if ($settingscol) {
@@ -195,7 +195,7 @@ if (empty($availablefilters)) {
         $table->data[] = $row;
     }
 
-    print_table($table);
+    echo $OUTPUT->table($table);
     echo '<div class="buttons">' . "\n";
     echo '<input type="submit" name="savechanges" value="' . get_string('savechanges') . '" />';
     echo "\n</div>\n";