diff options
author | Andrew Dolgov <[email protected]> | 2010-11-12 13:52:53 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-12 14:54:06 +0300 |
commit | e69fb880a306d65653a2c69e58463cb1c6af868b (patch) | |
tree | ff338ff6c12106da5092d5d6ad47fefa1db27461 /modules/pref-labels.php | |
parent | 6bb0ed42f4edd7af0955181995133ce4bd6365e9 (diff) |
js: misc fixes, code cleanup
Diffstat (limited to 'modules/pref-labels.php')
-rw-r--r-- | modules/pref-labels.php | 12 |
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%\"> </td> - <td width=\"95%\"><a href=\"javascript:updateLabelList('caption')\">".__('Caption')."</a></td> - </td> - </tr>"; */ - $lnum = 0; while ($line = db_fetch_assoc($result)) { |