From a998dbef95bb6ac94a0f4b401e94e4c932c855a0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 11 Nov 2010 18:59:21 +0300 Subject: misc code cleanup, allow ctrl-key selection in prefs --- modules/popup-dialog.php | 8 ++++---- modules/pref-feeds.php | 40 ++++++++++++++++++++-------------------- modules/pref-filters.php | 16 ++++++++-------- modules/pref-labels.php | 6 +++--- modules/pref-users.php | 16 ++++++++-------- 5 files changed, 43 insertions(+), 43 deletions(-) (limited to 'modules') diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index 520c9f954..364dfe7b0 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -80,8 +80,8 @@ WHERE owner_uid = ".$_SESSION["uid"]." ORDER BY title"); print __('Select:')." - ".__('All').", - ".__('None').""; + ".__('All').", + ".__('None').""; print "
"; @@ -93,7 +93,7 @@ print ""; print ""; if (!$_SESSION["profile"]) { @@ -121,7 +121,7 @@ $edit_title = htmlspecialchars($line["title"]); print ""; if ($_SESSION["profile"] == $line["id"]) { diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index d83a1a25b..e557903ea 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -981,7 +981,7 @@ -
"; $result = db_query($link, "SELECT title,id FROM ttrss_feed_categories @@ -993,8 +993,8 @@ if (db_num_rows($result) != 0) { print __('Select:')." - ".__('All').", - ".__('None').""; + ".__('All').", + ".__('None').""; print "
"; @@ -1017,7 +1017,7 @@ $edit_title = htmlspecialchars($line["title"]); print ""; print "" . @@ -1078,10 +1078,10 @@ print "
-
"; @@ -1093,11 +1093,11 @@ if (get_pref($link, 'ENABLE_FEED_CATS')) { - print " "; } - print " "; if (defined('_ENABLE_FEED_DEBUGGING')) { @@ -1199,8 +1199,8 @@ $show_last_article_checked>
". __('Select:')." - ".__('All').", - ".__('None')." + ".__('All').", + ".__('None')." "; if (!get_pref($link, 'ENABLE_FEED_CATS')) { @@ -1209,13 +1209,13 @@ print " "; - print "".__('Title').""; + print "".__('Title').""; if ($show_last_article_info) { - print "".__('Last Article').""; + print "".__('Last Article').""; } - print "".__('Updated').""; + print "".__('Updated').""; } $lnum = 0; @@ -1260,15 +1260,15 @@ print " "; - print "".__('Title').""; + print "".__('Title').""; if ($show_last_article_info) { print " - ".__('Last Article').""; + ".__('Last Article').""; } print " - ".__('Updated').""; + ".__('Updated').""; $cur_cat_id = $cat_id; } @@ -1286,10 +1286,10 @@ $feed_icon = ""; } - print ""; - $onclick = "onclick='editFeed($feed_id)' title='".__('Click to edit')."'"; + $onclick = "onclick='editFeed($feed_id, event)' title='".__('Click to edit')."'"; print "$feed_icon"; 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 " ".__('Select:')." - ".__('All').", - ".__('None')." + ".__('All').", + ".__('None')." "; $lnum = 0; @@ -405,10 +405,10 @@ print "   - ".__('Match')." - ".__('Feed')." - ".__('Field')." - ".__('Params').""; + ".__('Match')." + ".__('Feed')." + ".__('Field')." + ".__('Params').""; $lnum = 0; } @@ -436,7 +436,7 @@ $line["feed_title"] = htmlspecialchars($line["feed_title"]); - print ""; $filter_params = array( @@ -486,7 +486,7 @@ $line["action_param"] . ""; } - $onclick = "onclick='editFilter($filter_id)' title='".__('Click to edit')."'"; + $onclick = "onclick='editFilter($filter_id, event)' title='".__('Click to edit')."'"; $inverse_label = ""; diff --git a/modules/pref-labels.php b/modules/pref-labels.php index 884a25d1a..d7a300843 100644 --- a/modules/pref-labels.php +++ b/modules/pref-labels.php @@ -208,8 +208,8 @@ print " ".__('Select:')." - ".__('All').", - ".__('None')." + ".__('All').", + ".__('None')." "; /* print " @@ -238,7 +238,7 @@ if (!$bg_color) $bg_color = ""; print ""; $id = $line['id']; diff --git a/modules/pref-users.php b/modules/pref-users.php index a4531c45f..dcca9a936 100644 --- a/modules/pref-users.php +++ b/modules/pref-users.php @@ -417,16 +417,16 @@ print " ".__('Select:')." - ".__('All').", - ".__('None')." + ".__('All').", + ".__('None')." "; print "   - ".__('Login')." - ".__('Access Level')." - ".__('Registered')." - ".__('Last login').""; + ".__('Login')." + ".__('Access Level')." + ".__('Registered')." + ".__('Last login').""; $lnum = 0; @@ -451,10 +451,10 @@ $line["created"] = make_local_datetime($link, $line["created"], false); $line["last_login"] = make_local_datetime($link, $line["last_login"], false); - print ""; - $onclick = "onclick='editUser($uid)' title='".__('Click to edit')."'"; + $onclick = "onclick='editUser($uid, event)' title='".__('Click to edit')."'"; print "" . $line["login"] . ""; -- cgit v1.2.3