From 2ab097b2e5d0470f39021e2c27252d1ee8f20d94 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 4 Dec 2018 22:24:31 +0300 Subject: initial work for flat modern theme --- classes/feeds.php | 78 ++++++++++++++++--------------------------------------- 1 file changed, 22 insertions(+), 56 deletions(-) (limited to 'classes/feeds.php') diff --git a/classes/feeds.php b/classes/feeds.php index e9650ca5e..8425b9c06 100755 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -15,22 +15,6 @@ class Feeds extends Handler_Protected { $feed_id, $is_cat, $search, $error, $feed_last_updated) { - $catchup_sel_link = "Headlines.catchupSelection()"; - - $archive_sel_link = "Headlines.archiveSelection()"; - $delete_sel_link = "Headlines.deleteSelection()"; - - $sel_all_link = "Headlines.select('all')"; - $sel_unread_link = "Headlines.select('unread')"; - $sel_none_link = "Headlines.select('none')"; - $sel_inv_link = "Headlines.select('invert')"; - - $tog_unread_link = "Headlines.selectionToggleUnread()"; - $tog_marked_link = "Headlines.selectionToggleMarked()"; - $tog_published_link = "Headlines.selectionTogglePublished()"; - - $set_score_link = "Article.selectionSetScore()"; - if ($is_cat) $cat_q = "&is_cat=$is_cat"; if ($search) { @@ -39,23 +23,20 @@ class Feeds extends Handler_Protected { $search_q = ""; } - $reply = ""; + $reply = ""; $rss_link = htmlspecialchars(get_self_url_prefix() . "/public.php?op=rss&id=$feed_id$cat_q$search_q"); - // right part - $error_class = $error ? "error" : ""; - $reply .= " - - "; - + "; -# $reply .= ""; $reply .= ""; if ($feed_site_url) { @@ -75,52 +56,37 @@ class Feeds extends Handler_Protected { $reply .= strip_tags($feed_title); } - $reply .= ""; - - $reply .= ""; - -# $reply .= ""; - - // left part + $reply .= ""; - $reply .= ""; + $reply .= ""; $reply .= ""; - - /*$reply .= " - ".__('All').", - ".__('Unread').", - ".__('Invert').", - ".__('None').""; - - $reply .= " "; */ - + $reply .= " "; $reply .= "