From d98779972d09c8e722aeebd5b69945f37856739d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 12 Aug 2015 20:35:53 +0300 Subject: tabbed feed editor --- classes/pref/feeds.php | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) (limited to 'classes/pref/feeds.php') diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php index 98eadf39c..530d851d7 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; } -- cgit v1.2.3