diff options
Diffstat (limited to 'classes/pref')
-rw-r--r-- | classes/pref/prefs.php | 8 | ||||
-rw-r--r-- | classes/pref/users.php | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index 5a42884c7..af827af58 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'>extension</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'>extension</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\" diff --git a/classes/pref/users.php b/classes/pref/users.php index 9a9feac92..6fedddf1d 100644 --- a/classes/pref/users.php +++ b/classes/pref/users.php @@ -160,9 +160,9 @@ class Pref_Users extends Handler_Protected { $icon_file = ICONS_URL."/".$line["id"].".ico"; if (file_exists($icon_file) && filesize($icon_file) > 0) { - $feed_icon = "<img class=\"tinyFeedIcon\" src=\"$icon_file\">"; + $feed_icon = "<img class=\"icon\" src=\"$icon_file\">"; } else { - $feed_icon = "<img class=\"tinyFeedIcon\" src=\"images/blank_icon.gif\">"; + $feed_icon = "<img class=\"icon\" src=\"images/blank_icon.gif\">"; } print "<li>$feed_icon <a href=\"".$line["site_url"]."\">".$line["title"]."</a></li>"; @@ -422,7 +422,7 @@ class Pref_Users extends Handler_Protected { print "<td align='center'><input onclick='Tables.onRowChecked(this); event.stopPropagation();' dojoType=\"dijit.form.CheckBox\" type=\"checkbox\"></td>"; - print "<td title='".__('Click to edit')."'><img src='images/user.png' class='marked-pic' alt=''> " . $line["login"] . "</td>"; + print "<td title='".__('Click to edit')."'><i class='material-icons'>person</i> " . $line["login"] . "</td>"; print "<td>" . $access_level_names[$line["access_level"]] . "</td>"; print "<td>" . $line["num_feeds"] . "</td>"; |