MDL-36553 admin settings: removed commented out code and add generaltable class to frontpage filter settings

This commit is contained in:
Rossiani Wijaya
2013-01-14 10:09:52 +08:00
parent 8be244b2e2
commit f0e3fbb5dd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -281,7 +281,7 @@ if (($action == 'edit') || ($action == 'new')) {
// Table to list plug-ins
$table = new html_table();
$table->head = array(get_string('name'), get_string('isactive', 'repository'), get_string('order'), $settingsstr);
// $table->
$table->colclasses = array('leftalign', 'centeralign', 'centeralign', 'centeralign', 'centeralign');
$table->id = 'repositoriessetting';
$table->data = array();
+1 -1
View File
@@ -166,7 +166,7 @@ if (empty($availablefilters)) {
$table->colclasses[] = 'leftalign';
}
$table->id = 'frontpagefiltersettings';
$table->attributes['class'] = 'admintable';
$table->attributes['class'] = 'admintable generaltable';
$table->data = array();
// iterate through filters adding to display table