MDL-86235 core: Add table-hover class to admintable and generaltable

This commit is contained in:
Andi Permana
2025-10-24 15:50:06 +07:00
parent 1beae326aa
commit 2a4b767402
79 changed files with 123 additions and 114 deletions
+14 -14
View File
@@ -6790,7 +6790,7 @@ class admin_setting_manageenrols extends admin_setting {
$table->head = array(get_string('name'), $strusage, $strversion, $strenable, $strup.'/'.$strdown, $strsettings, $strtest, $struninstall);
$table->colclasses = array('leftalign', 'centeralign', 'centeralign', 'centeralign', 'centeralign', 'centeralign', 'centeralign', 'centeralign');
$table->id = 'courseenrolmentplugins';
$table->attributes['class'] = 'admintable generaltable';
$table->attributes['class'] = 'admintable generaltable table table-hover';
$table->data = array();
// Iterate through enrol plugins and add to the display table.
@@ -7341,7 +7341,7 @@ class admin_setting_manageauths extends admin_setting {
$table->head = array($txt->name, $txt->users, $txt->enable, $txt->updown, $txt->settings, $txt->testsettings, $txt->uninstall);
$table->colclasses = array('leftalign', 'centeralign', 'centeralign', 'centeralign', 'centeralign', 'centeralign', 'centeralign');
$table->data = array();
$table->attributes['class'] = 'admintable generaltable';
$table->attributes['class'] = 'admintable generaltable table table-hover';
$table->id = 'manageauthtable';
//add always enabled plugins first
@@ -7540,7 +7540,7 @@ class admin_setting_manageantiviruses extends admin_setting {
$table->head = array($txt->name, $txt->enable, $txt->updown, $txt->settings, $struninstall);
$table->colclasses = array('leftalign', 'centeralign', 'centeralign', 'centeralign', 'centeralign');
$table->id = 'antivirusmanagement';
$table->attributes['class'] = 'admintable generaltable';
$table->attributes['class'] = 'admintable generaltable table table-hover';
$table->data = array();
// Iterate through auth plugins and add to the display table.
@@ -7701,7 +7701,7 @@ class admin_setting_manageformats extends admin_setting {
$table = new html_table();
$table->head = array($txt->name, $txt->enable, $txt->updown, $txt->uninstall, $txt->settings);
$table->align = array('left', 'center', 'center', 'center', 'center');
$table->attributes['class'] = 'manageformattable generaltable admintable';
$table->attributes['class'] = 'manageformattable generaltable admintable table table-hover';
$table->data = array();
$cnt = 0;
@@ -7850,7 +7850,7 @@ class admin_setting_managecustomfields extends admin_setting {
$table = new html_table();
$table->head = array($txt->name, $txt->enable, $txt->uninstall, $txt->settings);
$table->align = array('left', 'center', 'center', 'center');
$table->attributes['class'] = 'managecustomfieldtable generaltable admintable';
$table->attributes['class'] = 'managecustomfieldtable generaltable admintable table table-hover';
$table->data = array();
$spacer = $OUTPUT->pix_icon('spacer', '', 'moodle', array('class' => 'iconsmall'));
@@ -7972,7 +7972,7 @@ class admin_setting_managedataformats extends admin_setting {
$table = new html_table();
$table->head = array($txt->name, $txt->enable, $txt->updown, $txt->uninstall, $txt->settings);
$table->align = array('left', 'center', 'center', 'center', 'center');
$table->attributes['class'] = 'manageformattable generaltable admintable';
$table->attributes['class'] = 'manageformattable generaltable admintable table table-hover';
$table->data = array();
$cnt = 0;
@@ -8449,7 +8449,7 @@ class admin_setting_managemediaplayers extends admin_setting {
$table->colclasses = array('leftalign', 'leftalign', 'centeralign',
'centeralign', 'centeralign', 'centeralign', 'centeralign');
$table->id = 'mediaplayerplugins';
$table->attributes['class'] = 'admintable generaltable';
$table->attributes['class'] = 'admintable generaltable table table-hover';
$table->data = array();
// Iterate through media plugins and add to the display table.
@@ -8627,7 +8627,7 @@ class admin_setting_managecontentbankcontenttypes extends admin_setting {
$table = new html_table();
$table->head = array($txt->name, $txt->enable, $txt->order, $txt->settings, $txt->uninstall);
$table->align = array('left', 'center', 'center', 'center', 'center');
$table->attributes['class'] = 'managecontentbanktable generaltable admintable';
$table->attributes['class'] = 'managecontentbanktable generaltable admintable table table-hover';
$table->data = array();
$spacer = $OUTPUT->pix_icon('spacer', '', 'moodle', array('class' => 'iconsmall'));
@@ -9910,7 +9910,7 @@ class admin_setting_manageexternalservices extends admin_setting {
$table->head = array($strservice, $strplugin, $strfunctions, $strusers, $stredit);
$table->colclasses = array('leftalign service', 'leftalign plugin', 'centeralign functions', 'centeralign users', 'centeralign ');
$table->id = 'builtinservices';
$table->attributes['class'] = 'admintable externalservices generaltable';
$table->attributes['class'] = 'admintable externalservices generaltable table table-hover';
$table->data = array();
// iterate through auth plugins and add to the display table
@@ -9950,7 +9950,7 @@ class admin_setting_manageexternalservices extends admin_setting {
$table->head = array($strservice, $strdelete, $strfunctions, $strusers, $stredit);
$table->colclasses = array('leftalign service', 'leftalign plugin', 'centeralign functions', 'centeralign users', 'centeralign ');
$table->id = 'customservices';
$table->attributes['class'] = 'admintable externalservices generaltable';
$table->attributes['class'] = 'admintable externalservices generaltable table table-hover';
$table->data = array();
// iterate through auth plugins and add to the display table
@@ -10055,7 +10055,7 @@ class admin_setting_webservicesoverview extends admin_setting {
get_string('description'));
$table->colclasses = array('leftalign step', 'leftalign status', 'leftalign description');
$table->id = 'onesystemcontrol';
$table->attributes['class'] = 'admintable wsoverview generaltable';
$table->attributes['class'] = 'admintable wsoverview generaltable table table-hover';
$table->data = array();
$return .= $brtag . get_string('onesystemcontrollingdescription', 'webservice')
@@ -10179,7 +10179,7 @@ class admin_setting_webservicesoverview extends admin_setting {
get_string('description'));
$table->colclasses = array('leftalign step', 'leftalign status', 'leftalign description');
$table->id = 'userasclients';
$table->attributes['class'] = 'admintable wsoverview generaltable';
$table->attributes['class'] = 'admintable wsoverview generaltable table table-hover';
$table->data = array();
$return .= $brtag . get_string('userasclientsdescription', 'webservice') .
@@ -10370,7 +10370,7 @@ class admin_setting_managewebserviceprotocols extends admin_setting {
$table->head = array($strprotocol, $strversion, $strenable, $strsettings);
$table->colclasses = array('leftalign', 'centeralign', 'centeralign', 'centeralign', 'centeralign');
$table->id = 'webserviceprotocols';
$table->attributes['class'] = 'admintable generaltable';
$table->attributes['class'] = 'admintable generaltable table table-hover';
$table->data = array();
// iterate through auth plugins and add to the display table
@@ -11222,7 +11222,7 @@ class admin_setting_searchsetupinfo extends admin_setting {
$table->head = array(get_string('step', 'search'), get_string('status'));
$table->colclasses = array('leftalign step', 'leftalign status');
$table->id = 'searchsetup';
$table->attributes['class'] = 'admintable generaltable';
$table->attributes['class'] = 'admintable generaltable table table-hover';
$table->data = array();
$return .= $brtag . get_string('searchsetupdescription', 'search') . $brtag . $brtag;