diff options
author | Andrew Dolgov <[email protected]> | 2018-12-05 21:44:26 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-05 21:44:26 +0300 |
commit | f905c2a9436581f74355815a0ba0e2fad56d6c34 (patch) | |
tree | 5c00e2b1378e4f5f4b30a8aa5463dc286ee547e7 /classes/pref | |
parent | 1d334b9762249c78461b3ef5d496a060d1ded78e (diff) | |
parent | a0b1664620abb096ac21de8f2e680e383c34a0e1 (diff) |
Merge branch 'material-icons' into weblate-integration
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>"; |