summaryrefslogtreecommitdiff
path: root/modules/pref-filters.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-11 18:59:21 +0300
committerAndrew Dolgov <[email protected]>2010-11-11 18:59:21 +0300
commita998dbef95bb6ac94a0f4b401e94e4c932c855a0 (patch)
tree24593ab69bcdbc72838ed79ce824331c26d0764c /modules/pref-filters.php
parentb0d32d324ceedd5134861dee9af2e3f251ed0b6a (diff)
misc code cleanup, allow ctrl-key selection in prefs
Diffstat (limited to 'modules/pref-filters.php')
-rw-r--r--modules/pref-filters.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/pref-filters.php b/modules/pref-filters.php
index 26efebd50..5df8a8cea 100644
--- a/modules/pref-filters.php
+++ b/modules/pref-filters.php
@@ -377,8 +377,8 @@
print "<tr><td class=\"selectPrompt\" colspan=\"8\">
".__('Select:')."
- <a href=\"javascript:selectPrefRows('filter', true)\">".__('All')."</a>,
- <a href=\"javascript:selectPrefRows('filter', false)\">".__('None')."</a>
+ <a href=\"#\" onclick=\"selectPrefRows('filter', true)\">".__('All')."</a>,
+ <a href=\"#\" onclick=\"selectPrefRows('filter', false)\">".__('None')."</a>
</td</tr>";
$lnum = 0;
@@ -405,10 +405,10 @@
print "<tr class=\"title\">
<td align='center' width=\"5%\">&nbsp;</td>
- <td width=\"20%\"><a href=\"javascript:updateFilterList('reg_exp')\">".__('Match')."</a></td>
- <td width=\"\"><a href=\"javascript:updateFilterList('feed_title')\">".__('Feed')."</a></td>
- <td width=\"20%\"><a href=\"javascript:updateFilterList('filter_type')\">".__('Field')."</a></td>
- <td width=\"20%\"><a href=\"javascript:updateFilterList('action_param')\">".__('Params')."</a></td>";
+ <td width=\"20%\"><a href=\"#\" onclick=\"updateFilterList('reg_exp')\">".__('Match')."</a></td>
+ <td width=\"\"><a href=\"#\" onclick=\"updateFilterList('feed_title')\">".__('Feed')."</a></td>
+ <td width=\"20%\"><a href=\"#\" onclick=\"updateFilterList('filter_type')\">".__('Field')."</a></td>
+ <td width=\"20%\"><a href=\"#\" onclick=\"updateFilterList('action_param')\">".__('Params')."</a></td>";
$lnum = 0;
}
@@ -436,7 +436,7 @@
$line["feed_title"] = htmlspecialchars($line["feed_title"]);
- print "<td align='center'><input onclick='toggleSelectPrefRow(this, \"filter\");'
+ print "<td align='center'><input onclick='toggleSelectRow(this);'
type=\"checkbox\" id=\"FICHK-".$line["id"]."\"></td>";
$filter_params = array(
@@ -486,7 +486,7 @@
$line["action_param"] . "</span>";
}
- $onclick = "onclick='editFilter($filter_id)' title='".__('Click to edit')."'";
+ $onclick = "onclick='editFilter($filter_id, event)' title='".__('Click to edit')."'";
$inverse_label = "";