summaryrefslogtreecommitdiff
path: root/modules/pref-labels.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-26 11:54:47 +0100
committerAndrew Dolgov <[email protected]>2009-01-26 11:54:47 +0100
commitc17d514b6c1192d4bb7fd0ab58beca00c072ea07 (patch)
treea462d8ea0fe98e01faee7fb28d7f68bf7ca44885 /modules/pref-labels.php
parent2eb9c95c970644f8408da9d22b60a66caadd36fb (diff)
tmp disable colored labels
Diffstat (limited to 'modules/pref-labels.php')
-rw-r--r--modules/pref-labels.php39
1 files changed, 37 insertions, 2 deletions
diff --git a/modules/pref-labels.php b/modules/pref-labels.php
index 059079a71..8e0efdbc3 100644
--- a/modules/pref-labels.php
+++ b/modules/pref-labels.php
@@ -87,6 +87,32 @@
$label_search = $_SESSION["prefs_label_search"];
}
+ print "<div id=\"colorPicker\" style=\"display : none\">";
+
+ $color_picker_pairs = array(
+ array('#063064', '#fff7d5'),
+ array('#ffffff', '#00ccff'),
+ array('#ffffff', '#cc00ff'),
+ array('#ffffff', '#00ffcc'),
+ array('#ffffff', '#0000ff'),
+ array('#ffffff', '#ff00ff'),
+ array('#ffffff', '#ff0000'),
+ array('#394f00', '#ccff00'));
+
+ foreach ($color_picker_pairs as $c) {
+ $fg_color = $c[0];
+ $bg_color = $c[1];
+
+ print "<div class='colorPickerEntry'
+ style='color : $fg_color; background-color : $bg_color;'
+ onclick=\"colorPickerDo('$fg_color', '$bg_color')\">z</div>";
+
+ }
+
+ print "<br clear='both'>";
+
+ print "</div>";
+
print "<div class=\"feedEditSearch\">
<input id=\"label_search\" size=\"20\" type=\"search\"
onfocus=\"javascript:disableHotkeys();\"
@@ -160,10 +186,19 @@
onclick='toggleSelectPrefRow(this, \"label\");'
type=\"checkbox\" id=\"LICHK-".$line["id"]."\"></td>";
- print "<td><span class='prefsLabelEntry'
+/* $id = $line['id'];
+
+ 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>";
+
+ print "</td>"; */
+
+ print "<td><span class='prefsLabelEntry'
id=\"LILT-".$line["id"]."\">" . $line["caption"] .
- "</span></td>";
+ "</span>";
+
print "</tr>";