1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-20 15:01:27 +00:00

misc code cleanup, allow ctrl-key selection in prefs

This commit is contained in:
Andrew Dolgov
2010-11-11 18:59:21 +03:00
parent b0d32d324c
commit a998dbef95
6 changed files with 98 additions and 135 deletions

View File

@@ -80,8 +80,8 @@
WHERE owner_uid = ".$_SESSION["uid"]." ORDER BY title");
print __('Select:')."
<a href=\"javascript:selectPrefRows('fcat', true)\">".__('All')."</a>,
<a href=\"javascript:selectPrefRows('fcat', false)\">".__('None')."</a>";
<a href=\"#\" onclick=\"selectPrefRows('fcat', true)\">".__('All')."</a>,
<a href=\"#\" onclick=\"selectPrefRows('fcat', false)\">".__('None')."</a>";
print "<div class=\"prefFeedCatHolder\">";
@@ -93,7 +93,7 @@
print "<tr class=\"odd\" id=\"FCATR-0\">";
print "<td width='5%' align='center'><input
onclick='toggleSelectPrefRow(this, \"fcat\");'
onclick='toggleSelectRow(this);'
type=\"checkbox\" id=\"FCCHK-0\"></td>";
if (!$_SESSION["profile"]) {
@@ -121,7 +121,7 @@
$edit_title = htmlspecialchars($line["title"]);
print "<td width='5%' align='center'><input
onclick='toggleSelectPrefRow(this, \"fcat\");'
onclick='toggleSelectRow(this);'
type=\"checkbox\" id=\"FCCHK-$cat_id\"></td>";
if ($_SESSION["profile"] == $line["id"]) {