summaryrefslogtreecommitdiff
path: root/classes/pref/prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-05 16:37:09 +0300
committerAndrew Dolgov <[email protected]>2018-12-05 16:37:09 +0300
commitb16c57d29c1aa304716ae524cdc74a957a50763c (patch)
tree959236a79d55246387886ae88792f4ca907577c1 /classes/pref/prefs.php
parent2dac797704dcdc0293a7989c56cbb86be7a7dfde (diff)
replace plugin.png with scalable icon
Diffstat (limited to 'classes/pref/prefs.php')
-rw-r--r--classes/pref/prefs.php8
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 " &mdash; <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 " &mdash; <a target=\"_blank\" rel=\"noopener noreferrer\" class=\"visibleLink\"