MDL-36553 Admin settings: make tables class consistent throughout admin plugins setting

This commit is contained in:
Rossiani Wijaya
2013-01-14 10:09:51 +08:00
parent ca48fe5f97
commit 8be244b2e2
11 changed files with 96 additions and 38 deletions
+4 -1
View File
@@ -281,8 +281,11 @@ 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->align = array('left', 'center', 'center', 'center', 'center');
// $table->
$table->colclasses = array('leftalign', 'centeralign', 'centeralign', 'centeralign', 'centeralign');
$table->id = 'repositoriessetting';
$table->data = array();
$table->attributes['class'] = 'admintable generaltable';
// Get list of used plug-ins
$instances = repository::get_types();