From d98779972d09c8e722aeebd5b69945f37856739d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 12 Aug 2015 20:35:53 +0300 Subject: [PATCH] tabbed feed editor --- classes/pref/feeds.php | 27 ++++++++++++++++++++------- css/tt-rss.css | 2 +- 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php index 98eadf39..530d851d 100644 --- a/classes/pref/feeds.php +++ b/classes/pref/feeds.php @@ -533,6 +533,9 @@ class Pref_Feeds extends Handler_Protected { global $purge_intervals; global $update_intervals; + print '
+
'; + $feed_id = $this->dbh->escape_string($_REQUEST["id"]); $result = $this->dbh->query( @@ -658,8 +661,11 @@ class Pref_Feeds extends Handler_Protected {
"; print "
"; - print "
".__("Options")."
"; - print "
"; + + print '
'; + + //print "
".__("Options")."
"; + print "
"; $private = sql_bool_to_bool($this->dbh->fetch_result($result, 0, "private")); @@ -737,10 +743,11 @@ class Pref_Feeds extends Handler_Protected { print "
"; + print '
'; + /* Icon */ - print "
".__("Icon")."
"; - print "
"; + print "
"; print ""; @@ -751,18 +758,23 @@ class Pref_Feeds extends Handler_Protected { - - - "; print "
"; + print '
'; + PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_EDIT_FEED, "hook_prefs_edit_feed", $feed_id); + + print "
"; + $title = htmlspecialchars($title, ENT_QUOTES); print "
@@ -788,6 +800,7 @@ class Pref_Feeds extends Handler_Protected {
"; + return; } diff --git a/css/tt-rss.css b/css/tt-rss.css index 1955ee0d..434c66fa 100644 --- a/css/tt-rss.css +++ b/css/tt-rss.css @@ -675,7 +675,7 @@ div.dlgSecCont { font-weight : normal; } -div.dlgSecCont hr { +div.dlgSecCont hr, div.dlgSecSimple hr { height : 0px; line-height : 0px; border : 0px solid transparent; -- 2.39.5