summaryrefslogtreecommitdiff
path: root/classes/pref
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-12-25 12:31:07 +0400
committerAndrew Dolgov <[email protected]>2012-12-25 12:31:07 +0400
commit65d1e2501b4af1b28330d438c0e0dc08e77c7b5a (patch)
tree4fc518313ea19d56cf1cc575c752d4021419bbe6 /classes/pref
parent04486904820a324b8282f7063f574ca3c5e64813 (diff)
plugins web list style tweaks
Diffstat (limited to 'classes/pref')
-rw-r--r--classes/pref/prefs.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php
index b8c8b9097..14e88546a 100644
--- a/classes/pref/prefs.php
+++ b/classes/pref/prefs.php
@@ -655,7 +655,7 @@ class Pref_Prefs extends Handler_Protected {
print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"op\" value=\"pref-prefs\">";
print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"method\" value=\"setplugins\">";
- print "<table width='100%'>";
+ print "<table width='100%' class='prefPluginsList'>";
print "<tr><td colspan='4'><h3>".__("System plugins")."</h3></td></tr>";
@@ -716,22 +716,25 @@ class Pref_Prefs extends Handler_Protected {
if (in_array($name, $system_enabled)) {
$checked = "checked='1'";
$disabled = "disabled='1'";
+ $rowclass = '';
} else if (in_array($name, $user_enabled)) {
$checked = "checked='1'";
$disabled = "";
+ $rowclass = "Selected";
} else {
$checked = "";
$disabled = "";
+ $rowclass = '';
}
- print "<tr>";
+ print "<tr class='$rowclass'>";
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>$name</td>";
- print "<td>" . htmlspecialchars($about[1]) . "</td>";
+ print "<td><label for='FPCHK-$name'>$name</label></td>";
+ print "<td><label for='FPCHK-$name'>" . htmlspecialchars($about[1]) . "</label></td>";
print "<td>" . htmlspecialchars(sprintf("%.2f", $about[0])) . "</td>";
print "<td>" . htmlspecialchars($about[2]) . "</td>";