mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:25:54 +00:00
replace plugin.png with scalable icon
This commit is contained in:
@@ -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\"
|
||||
|
||||
Reference in New Issue
Block a user