diff options
author | Andrew Dolgov <[email protected]> | 2018-12-05 16:37:09 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-05 16:37:09 +0300 |
commit | b16c57d29c1aa304716ae524cdc74a957a50763c (patch) | |
tree | 959236a79d55246387886ae88792f4ca907577c1 /classes/pref/prefs.php | |
parent | 2dac797704dcdc0293a7989c56cbb86be7a7dfde (diff) |
replace plugin.png with scalable icon
Diffstat (limited to 'classes/pref/prefs.php')
-rw-r--r-- | classes/pref/prefs.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index 5a42884c7..2d15c2489 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -746,9 +746,9 @@ class Pref_Prefs extends Handler_Protected { dojoType=\"dijit.form.CheckBox\" $checked type=\"checkbox\"></td>"; - $plugin_icon = $checked ? "plugin.png" : "plugin_disabled.png"; + $icon_class = $checked ? "plugin-enabled" : "plugin-disabled"; - print "<td><label><img src='images/$plugin_icon' alt=''> $name</label></td>"; + print "<td><label><i class='material-icons $icon_class'>settings</i> $name</label></td>"; print "<td>" . htmlspecialchars($about[1]); if (@$about[4]) { print " — <a target=\"_blank\" rel=\"noopener noreferrer\" class=\"visibleLink\" @@ -801,13 +801,13 @@ class Pref_Prefs extends Handler_Protected { print "<tr class='$rowclass'>"; - $plugin_icon = $checked ? "plugin.png" : "plugin_disabled.png"; + $icon_class = $checked ? "plugin-enabled" : "plugin-disabled"; print "<td align='center'><input id='FPCHK-$name' name='plugins[]' value='$name' onclick='Tables.onRowChecked(this);' dojoType=\"dijit.form.CheckBox\" $checked $disabled type=\"checkbox\"></td>"; - print "<td><label for='FPCHK-$name'><img src='images/$plugin_icon' alt=''> $name</label></td>"; + print "<td><label for='FPCHK-$name'><i class='material-icons $icon_class'>settings</i> $name</label></td>"; print "<td><label for='FPCHK-$name'>" . htmlspecialchars($about[1]) . "</label>"; if (@$about[4]) { print " — <a target=\"_blank\" rel=\"noopener noreferrer\" class=\"visibleLink\" |