From a95da1368ec6ed8e7a6e26c831cf160b71440766 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 17 May 2008 16:36:35 +0100 Subject: rework entry display for prefs, filters, labels and users --- modules/pref-labels.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'modules/pref-labels.php') 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 ""; - print "" . - $line["description"] . ""; - - print "" . - $line["sql_exp"] . ""; + print "" . $line["description"] . ""; + print "" . $line["sql_exp"] . ""; print ""; -- cgit v1.2.3