summaryrefslogtreecommitdiff
path: root/modules/pref-labels.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-05-17 16:36:35 +0100
committerAndrew Dolgov <[email protected]>2008-05-17 16:36:35 +0100
commita95da1368ec6ed8e7a6e26c831cf160b71440766 (patch)
tree4ffd304c61256a690dead14dbbe4f76c20a8540f /modules/pref-labels.php
parentc239b26b3a199a92ee64ee58cff118283fa9495e (diff)
rework entry display for prefs, filters, labels and users
Diffstat (limited to 'modules/pref-labels.php')
-rw-r--r--modules/pref-labels.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/modules/pref-labels.php b/modules/pref-labels.php
index ce326bf01..fda73ecf0 100644
--- a/modules/pref-labels.php
+++ b/modules/pref-labels.php
@@ -299,16 +299,15 @@
$line["sql_exp"] = htmlspecialchars($line["sql_exp"]);
$line["description"] = htmlspecialchars($line["description"]);
- if (!$line["description"]) $line["description"] = "[No caption]";
+ if (!$line["description"]) $line["description"] = __("[No caption]");
+
+ $onclick = "onclick='editLabel($label_id)' title='".__('Click to edit')."'";
print "<td align='center'><input onclick='toggleSelectPrefRow(this, \"label\");'
type=\"checkbox\" id=\"LICHK-".$line["id"]."\"></td>";
- print "<td><a href=\"javascript:editLabel($label_id);\">" .
- $line["description"] . "</td>";
-
- print "<td><a href=\"javascript:editLabel($label_id);\">" .
- $line["sql_exp"] . "</td>";
+ print "<td $onclick>" . $line["description"] . "</td>";
+ print "<td $onclick>" . $line["sql_exp"] . "</td>";
print "</tr>";