summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-21 00:17:36 +0300
committerAndrew Dolgov <[email protected]>2010-11-21 00:17:36 +0300
commit33d8b5d09121d782d58953196c076cd0e121b713 (patch)
tree80e1791f62877704bbba251a830eade6f895f380 /functions.php
parentd6034614e060ef2b9ea2ab1b037f67cc83c149aa (diff)
subtoolbar-related fixes
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php33
1 files changed, 7 insertions, 26 deletions
diff --git a/functions.php b/functions.php
index e3b3b3d7c..a4e431c02 100644
--- a/functions.php
+++ b/functions.php
@@ -4068,8 +4068,6 @@
$feed_id, $is_cat, $search, $match_on,
$search_mode, $view_mode) {
-# print "<div class=\"headlinesSubToolbar\">";
-
$page_prev_link = "viewFeedGoPage(-1)";
$page_next_link = "viewFeedGoPage(1)";
$page_first_link = "viewFeedGoPage(0)";
@@ -4104,16 +4102,13 @@
onchange=\"headlineActionsChange(this)\">";
print "<option value=\"false\">".__('Actions...')."</option>";
-# print "<optgroup label=\"".__("Selection toggle:")."\">";
-
- print "<option value=\"$tog_unread_link\">".__('Toggle unread')."</option>
- <option value=\"$tog_marked_link\">".__('Toggle starred')."</option>
- <option value=\"$tog_published_link\">".__('Toggle published')."</option>";
+ print "<option value=\"0\" disabled=\"1\">".__('Selection toggle:')."</option>";
-# print "</optgroup>
-# <optgroup label=\"".__("Selection:")."\">";
+ print "<option value=\"$tog_unread_link\">".__('Unread')."</option>
+ <option value=\"$tog_marked_link\">".__('Starred')."</option>
+ <option value=\"$tog_published_link\">".__('Published')."</option>";
- print "<option>----------</option>";
+ print "<option value=\"0\" disabled=\"1\">".__('Selection:')."</option>";
print "<option value=\"$catchup_sel_link\">".__('Mark as read')."</option>";
@@ -4128,13 +4123,8 @@
print "<option value=\"emailArticle(false)\">".__('Forward by email').
"</option>";
-# print "<optgroup label=\"".__("Assign label:")."\">";
- //print "<option>----------</option>";
- //print_labels_headlines_dropdown($link, $feed_id);
-
- print "<option>----------</option>";
-
-# print "</optgroup>";
+ $rss_link = htmlspecialchars(get_self_url_prefix() .
+ "/backend.php?op=rss&id=$feed_id&is_cat=$is_cat$view_mode$search_q");
print "<option value=\"displayDlg('generatedFeed', '$feed_id:$is_cat:$rss_link')\">".__('View as RSS')."</option>";
@@ -4185,15 +4175,6 @@
else
$view_mode = "&view-mode=$view_mode";
- $rss_link = htmlspecialchars(get_self_url_prefix() .
- "/backend.php?op=rss&id=$feed_id&is_cat=$is_cat$view_mode$search_q");
-
- #print "
- # <a target=\"_blank\"
- # title=\"".__("View as RSS feed")."\"
- # href=\"$rss_link\">
- # <img class=\"noborder\" src=\"images/feed-icon-12x12.png\"></a>";
-
print "
<a href=\"#\"
title=\"".__("View as RSS feed")."\"