diff options
author | Andrew Dolgov <[email protected]> | 2010-11-17 21:39:51 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-17 21:39:51 +0300 |
commit | d69fa6d66afc03115682840e71619914449a2abc (patch) | |
tree | 4f2b0cc0817091794df87b590699ad258803a82f /modules/pref-labels.php | |
parent | 1985a5e0d780c1d873085fd8b47ff59d3ef8335f (diff) |
further pref-pane updates
Diffstat (limited to 'modules/pref-labels.php')
-rw-r--r-- | modules/pref-labels.php | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/modules/pref-labels.php b/modules/pref-labels.php index c794e023e..cc92985a9 100644 --- a/modules/pref-labels.php +++ b/modules/pref-labels.php @@ -115,7 +115,7 @@ if (label_create($link, $caption)) { if (!$output) { - //print T_sprintf("Created label <b>%s</b>", htmlspecialchars($caption)); + print T_sprintf("Created label <b>%s</b>", htmlspecialchars($caption)); } } @@ -163,6 +163,15 @@ <button dojoType=\"dijit.form.Button\" onclick=\"javascript:updateLabelList()\">".__('Search')."</button> </div>"; + print "<div dojoType=\"dijit.form.DropDownButton\">". + "<span>" . __('Select')."</span>"; + print "<div dojoType=\"dijit.Menu\" style=\"display: none;\">"; + print "<div onclick=\"selectTableRows('prefLabelList', 'all')\" + dojoType=\"dijit.MenuItem\">".__('All')."</div>"; + print "<div onclick=\"selectTableRows('prefLabelList', 'none')\" + dojoType=\"dijit.MenuItem\">".__('None')."</div>"; + print "</div></div>"; + print"<button dojoType=\"dijit.form.Button\" onclick=\"return addLabel()\">". __('Create label')."</button dojoType=\"dijit.form.Button\"> "; @@ -209,12 +218,6 @@ print "<p><table width=\"100%\" cellspacing=\"0\" class=\"prefLabelList\" id=\"prefLabelList\">"; - print "<tr><td class=\"selectPrompt\" colspan=\"8\"> - ".__('Select:')." - <a href=\"#\" onclick=\"selectTableRows('prefLabelList', 'all')\">".__('All')."</a>, - <a href=\"#\" onclick=\"selectTableRows('prefLabelList', 'none')\">".__('None')."</a> - </td</tr>"; - $lnum = 0; while ($line = db_fetch_assoc($result)) { |