summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-26 12:05:06 +0100
committerAndrew Dolgov <[email protected]>2009-01-26 12:05:06 +0100
commit76b2bc6559f1bf9e3d4b60e61bc059780efc2f09 (patch)
treedb2470f257aa2626be1b26c4ac830ad21048f720
parentc17d514b6c1192d4bb7fd0ab58beca00c072ea07 (diff)
tmp disable colored labels (2)
-rw-r--r--modules/pref-labels.php6
-rw-r--r--prefs.js3
-rw-r--r--tt-rss.css2
3 files changed, 8 insertions, 3 deletions
diff --git a/modules/pref-labels.php b/modules/pref-labels.php
index 8e0efdbc3..9e487e0cd 100644
--- a/modules/pref-labels.php
+++ b/modules/pref-labels.php
@@ -186,9 +186,9 @@
onclick='toggleSelectPrefRow(this, \"label\");'
type=\"checkbox\" id=\"LICHK-".$line["id"]."\"></td>";
-/* $id = $line['id'];
+ $id = $line['id'];
- print "<td width='30' align='center'>
+/* print "<td width='30' align='center'>
<div class='labelColorIndicator'
style='color : $fg_color; background-color : $bg_color'
onclick=\"colorPicker(this, '$id', '$fg_color', '$bg_color')\">z</div>";
@@ -196,9 +196,11 @@
print "</td>"; */
print "<td><span class='prefsLabelEntry'
+ style='color : $fg_color; background-color : $bg_color'
id=\"LILT-".$line["id"]."\">" . $line["caption"] .
"</span>";
+ print "</td>";
print "</tr>";
diff --git a/prefs.js b/prefs.js
index a3d38c9de..334bed379 100644
--- a/prefs.js
+++ b/prefs.js
@@ -1968,6 +1968,7 @@ function batchFeedsToggleField(cb, elem, label) {
}
}
+/*
function colorPicker(caller, id, fg, bg) {
try {
var picker = document.getElementById("colorPicker");
@@ -1979,4 +1980,4 @@ function colorPicker(caller, id, fg, bg) {
} catch (e) {
exception_error("colorPicker", e);
}
-}
+}*/
diff --git a/tt-rss.css b/tt-rss.css
index ba69820fd..e6c5a957b 100644
--- a/tt-rss.css
+++ b/tt-rss.css
@@ -2121,3 +2121,5 @@ div#colorPicker {
top : 50px;
z-index : 3;
}
+
+