tmp disable colored labels (2)

This commit is contained in:
Andrew Dolgov 2009-01-26 12:05:06 +01:00
parent c17d514b6c
commit 76b2bc6559
3 changed files with 8 additions and 3 deletions

View File

@ -186,9 +186,9 @@
onclick='toggleSelectPrefRow(this, \"label\");' onclick='toggleSelectPrefRow(this, \"label\");'
type=\"checkbox\" id=\"LICHK-".$line["id"]."\"></td>"; 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' <div class='labelColorIndicator'
style='color : $fg_color; background-color : $bg_color' style='color : $fg_color; background-color : $bg_color'
onclick=\"colorPicker(this, '$id', '$fg_color', '$bg_color')\">z</div>"; onclick=\"colorPicker(this, '$id', '$fg_color', '$bg_color')\">z</div>";
@ -196,9 +196,11 @@
print "</td>"; */ print "</td>"; */
print "<td><span class='prefsLabelEntry' print "<td><span class='prefsLabelEntry'
style='color : $fg_color; background-color : $bg_color'
id=\"LILT-".$line["id"]."\">" . $line["caption"] . id=\"LILT-".$line["id"]."\">" . $line["caption"] .
"</span>"; "</span>";
print "</td>";
print "</tr>"; print "</tr>";

View File

@ -1968,6 +1968,7 @@ function batchFeedsToggleField(cb, elem, label) {
} }
} }
/*
function colorPicker(caller, id, fg, bg) { function colorPicker(caller, id, fg, bg) {
try { try {
var picker = document.getElementById("colorPicker"); var picker = document.getElementById("colorPicker");
@ -1979,4 +1980,4 @@ function colorPicker(caller, id, fg, bg) {
} catch (e) { } catch (e) {
exception_error("colorPicker", e); exception_error("colorPicker", e);
} }
} }*/

View File

@ -2121,3 +2121,5 @@ div#colorPicker {
top : 50px; top : 50px;
z-index : 3; z-index : 3;
} }