summaryrefslogtreecommitdiff
path: root/modules/pref-labels.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-12 13:52:53 +0300
committerAndrew Dolgov <[email protected]>2010-11-12 14:54:06 +0300
commite69fb880a306d65653a2c69e58463cb1c6af868b (patch)
treeff338ff6c12106da5092d5d6ad47fefa1db27461 /modules/pref-labels.php
parent6bb0ed42f4edd7af0955181995133ce4bd6365e9 (diff)
js: misc fixes, code cleanup
Diffstat (limited to 'modules/pref-labels.php')
-rw-r--r--modules/pref-labels.php12
1 files changed, 2 insertions, 10 deletions
diff --git a/modules/pref-labels.php b/modules/pref-labels.php
index d7a300843..ac25d01e1 100644
--- a/modules/pref-labels.php
+++ b/modules/pref-labels.php
@@ -199,8 +199,6 @@
owner_uid = ".$_SESSION["uid"]."
ORDER BY $sort");
-// print "<div id=\"infoBoxShadow\"><div id=\"infoBox\">PLACEHOLDER</div></div>";
-
if (db_num_rows($result) != 0) {
print "<p><table width=\"100%\" cellspacing=\"0\"
@@ -208,16 +206,10 @@
print "<tr><td class=\"selectPrompt\" colspan=\"8\">
".__('Select:')."
- <a href=\"#\" onclick=\"selectPrefRows('label', true)\">".__('All')."</a>,
- <a href=\"#\" onclick=\"selectPrefRows('label', false)\">".__('None')."</a>
+ <a href=\"#\" onclick=\"selectTableRows('prefLabelList', 'all')\">".__('All')."</a>,
+ <a href=\"#\" onclick=\"selectTableRows('prefLabelList', 'none')\">".__('None')."</a>
</td</tr>";
-/* print "<tr class=\"title\">
- <td width=\"5%\">&nbsp;</td>
- <td width=\"95%\"><a href=\"javascript:updateLabelList('caption')\">".__('Caption')."</a></td>
- </td>
- </tr>"; */
-
$lnum = 0;
while ($line = db_fetch_assoc($result)) {