summaryrefslogtreecommitdiff
path: root/classes/pref/prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-07-10 13:09:12 +0400
committerAndrew Dolgov <[email protected]>2013-07-10 13:09:12 +0400
commit2f20dd58d277d0ec5e4898feed0f530479a0c831 (patch)
treed82f84afbb13f359cd78e6d58a26ed4100899d2d /classes/pref/prefs.php
parent0156128702a7477c6a2f725fa6bf24c66952aa48 (diff)
integrate silk icons by Mark James
Diffstat (limited to 'classes/pref/prefs.php')
-rw-r--r--classes/pref/prefs.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php
index 32071e3b3..3dfe95241 100644
--- a/classes/pref/prefs.php
+++ b/classes/pref/prefs.php
@@ -765,7 +765,9 @@ class Pref_Prefs extends Handler_Protected {
dojoType=\"dijit.form.CheckBox\" $checked
type=\"checkbox\"></td>";
- print "<td>$name</td>";
+ $plugin_icon = $checked ? "plugin.png" : "plugin_disabled.png";
+
+ print "<td><img src='images/$plugin_icon' alt=''> $name</td>";
print "<td>" . htmlspecialchars($about[1]);
if (@$about[4]) {
print " &mdash; <a target=\"_blank\" class=\"visibleLink\"
@@ -818,11 +820,13 @@ class Pref_Prefs extends Handler_Protected {
print "<tr class='$rowclass'>";
+ $plugin_icon = $checked ? "plugin.png" : "plugin_disabled.png";
+
print "<td align='center'><input id='FPCHK-$name' name='plugins[]' value='$name' onclick='toggleSelectRow2(this);'
dojoType=\"dijit.form.CheckBox\" $checked $disabled
type=\"checkbox\"></td>";
- print "<td><label for='FPCHK-$name'>$name</label></td>";
+ print "<td><label for='FPCHK-$name'><img src='images/$plugin_icon' alt=''> $name</label></td>";
print "<td><label for='FPCHK-$name'>" . htmlspecialchars($about[1]) . "</label>";
if (@$about[4]) {
print " &mdash; <a target=\"_blank\" class=\"visibleLink\"