]> git.wh0rd.org Git - tt-rss.git/commitdiff
disable catchup above/below active article for CDM
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 25 Jan 2008 06:41:33 +0000 (07:41 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 25 Jan 2008 06:41:33 +0000 (07:41 +0100)
functions.php

index d4f7cce993f3380a6759b9ec19f45c88a6135bb9..4e4e8ef0e5e2c5f47411d5af21189d53bd6cc9f6 100644 (file)
                                        <li class=\"vsep\">&nbsp;</li>
                                        <li class=\"top\">".__('Mark as read')."<ul>
                                                <li onclick=\"$catchup_sel_link\">".__('Selection')."</li>
-                                               <!-- <li onclick=\"$catchup_page_link\">".__('This page')."</li> -->
+                                               <!-- <li onclick=\"$catchup_page_link\">".__('This page')."</li> -->";
+
+                               if (!get_pref($link, 'COMBINED_DISPLAY_MODE')) {
+
+                               print "
                                                <li><span class=\"insensitive\">--------</span></li>
                                                <li onclick=\"catchupRelativeToArticle(0)\">".__("Above active article")."</li>
                                                <li onclick=\"catchupRelativeToArticle(1)\">".__("Below active article")."</li>
-                                               <li><span class=\"insensitive\">--------</span></li>
+                                               <li><span class=\"insensitive\">--------</span></li>";
+                               }
+
+                               print "
                                                <li onclick=\"$catchup_feed_link\">".__('Entire feed')."</li></ul></li>
                                        ";