diff --git a/admin/roles/classes/define_role_table_advanced.php b/admin/roles/classes/define_role_table_advanced.php index 57b449f7aa24e..632cb3e39a6a2 100644 --- a/admin/roles/classes/define_role_table_advanced.php +++ b/admin/roles/classes/define_role_table_advanced.php @@ -663,7 +663,7 @@ protected function print_field($name, $caption, $field, $helpicon = null) { } else { $extraclass = ''; } - echo '
'; + echo '
'; echo $field; if (isset($this->errors[$name])) { echo $OUTPUT->error_text($this->errors[$name]); diff --git a/admin/roles/module.js b/admin/roles/module.js index e161948c9572a..9a249176336b1 100644 --- a/admin/roles/module.js +++ b/admin/roles/module.js @@ -45,7 +45,7 @@ M.core_role.init_cap_table_filter = function(Y, tableid, contextid) { this.table = Y.one('#'+this.tableid); // Create a div to hold the search UI. - this.div = Y.Node.create('
').setStyles({ + this.div = Y.Node.create('
').setStyles({ width : this.table.get('offsetWidth'), marginLeft : 'auto', marginRight : 'auto' diff --git a/admin/templates/header_search_input.mustache b/admin/templates/header_search_input.mustache index 51a6386f10508..eed7f6a2971fd 100644 --- a/admin/templates/header_search_input.mustache +++ b/admin/templates/header_search_input.mustache @@ -26,7 +26,7 @@ } }}
-
+