]> git.wh0rd.org Git - tt-rss.git/commitdiff
subtoolbar-related fixes
authorAndrew Dolgov <fox@fakecake.org>
Sat, 20 Nov 2010 21:17:36 +0000 (00:17 +0300)
committerAndrew Dolgov <fox@fakecake.org>
Sat, 20 Nov 2010 21:17:36 +0000 (00:17 +0300)
functions.php

index e3b3b3d7c0e3d9586da3b5b89060830f60a91f91..a4e431c0201c1349ab6c208df129b9163d30cef9 100644 (file)
                        $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)";
                                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>";
 
                        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>";
 
                        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")."\"