summaryrefslogtreecommitdiff
path: root/modules/pref-filters.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-filters.php
parentc239b26b3a199a92ee64ee58cff118283fa9495e (diff)
rework entry display for prefs, filters, labels and users
Diffstat (limited to 'modules/pref-filters.php')
-rw-r--r--modules/pref-filters.php16
1 files changed, 7 insertions, 9 deletions
diff --git a/modules/pref-filters.php b/modules/pref-filters.php
index 7975e1297..4fb59d4ae 100644
--- a/modules/pref-filters.php
+++ b/modules/pref-filters.php
@@ -370,12 +370,12 @@
$line["action_param"] = "<span class=\"insensitive\">" .
$line["action_param"] . "</span>";
}
+
+ $onclick = "onclick='editFilter($filter_id)' title='".__('Click to edit')."'";
+
+ print "<td $onclick>" . $line["reg_exp"] . "</td>";
- print "<td><a href=\"javascript:editFilter($filter_id);\">" .
- $line["reg_exp"] . "</td>";
-
- print "<td><a href=\"javascript:editFilter($filter_id);\">" .
- $line["feed_title"] . "</td>";
+ print "<td $onclick>" . $line["feed_title"] . "</td>";
$inverse_label = "";
@@ -383,14 +383,12 @@
$inverse_label = " <span class='insensitive'>".__('(Inverse)')."</span>";
}
- print "<td><a href=\"javascript:editFilter($filter_id);\">" .
- $line["filter_type_descr"] . "$inverse_label</td>";
+ print "<td $onclick>" . $line["filter_type_descr"] . "$inverse_label</td>";
/* print "<td><a href=\"javascript:editFilter($filter_id);\">" .
$line["action_description"]."</td>"; */
- print "<td><a href=\"javascript:editFilter($filter_id);\">" .
- $line["action_param"] . "</td>";
+ print "<td $onclick>" . $line["action_param"] . "</td>";
print "</tr>";