From ddb575c744e2740611fd51d11492a5bdc6265caf Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 14 Jun 2012 21:04:14 +0400 Subject: add select all/none functionality to several edit dialogs --- classes/pref_feeds.php | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'classes/pref_feeds.php') diff --git a/classes/pref_feeds.php b/classes/pref_feeds.php index 61eeb598b..257c1f9c3 100644 --- a/classes/pref_feeds.php +++ b/classes/pref_feeds.php @@ -1171,11 +1171,25 @@ class Pref_Feeds extends Protected_Handler { } } - print "
- + print "
"; + + print "
". + "" . __('Select').""; + print "
"; + print "
".__('All')."
"; + print "
".__('None')."
"; + print "
"; + + print "
"; + + print "
"; + print "
"; + $result = db_query($this->link, "SELECT title,id FROM ttrss_feed_categories WHERE owner_uid = ".$_SESSION["uid"]." ORDER BY title"); @@ -1196,11 +1210,11 @@ class Pref_Feeds extends Protected_Handler { $cat_id = $line["id"]; $this_row_id = "id=\"FCATR-$cat_id\""; - print ""; + print ""; $edit_title = htmlspecialchars($line["title"]); - print ""; -- cgit v1.2.3