]> git.wh0rd.org - tt-rss.git/blobdiff - functions.php
code cleanup (remove dashboard initial stuff)
[tt-rss.git] / functions.php
index e49dd9d21e3215169462b2df771a487663c63605..78cd39875f48e7140640665b37c83a0c1ad60118 100644 (file)
 
                        }
 
-                       if (!$dashboard_menu) {
-
                                if (strpos($_SESSION["client.userAgent"], "MSIE") === false) {
 
                                        print "<td class=\"headlineActions$rtl_cpart\">
                                        print "</td>";  
        
                                }
-                       } else { // dashboard menu actions
-
-                               // not implemented
-                               print "</td>";
-                       }
 
                        print "<td class=\"headlineTitle$rtl_cpart\">";
 
                        printCategoryHeader($link, -1, $cat_hidden, false);
                }
 
-               if (defined('_ENABLE_DASHBOARD')) {
-                       printFeedEntry(-4, "virt", __("Dashboard"), 0, 
-                               "images/tag.png", $link);
-               }
-
                $num_starred = getFeedUnread($link, -1);
                $num_published = getFeedUnread($link, -2);
                $num_fresh = getFeedUnread($link, -3);
 
        } // function update_daemon_common
 
-       function generate_dashboard_feed($link) {
-
-               print "<div id=\"headlinesContainer\">";
-
-               print_headline_subtoolbar($link, "", "Dashboard", 
-                       false, false, -4, false, false, false,
-                       false, 0, 0, true, true, "tag.png");
-
-               print "<div id=\"headlinesInnerContainer\" class=\"dashboard\">";
-               print "<div>There is <b>666</b> unread articles in <b>666</b> feeds.</div>";
-               print "</div>";
-
-               print "</div>";
-
-               print "]]></headlines>";
-               print "<headlines-count value=\"0\"/>";
-               print "<headlines-unread value=\"0\"/>";
-               print "<disable-cache value=\"1\"/>";
-
-               print "<articles>";
-               print "</articles>";
-       }
-
        function sanitize_article_content($text) {
                # we don't support CDATA sections in articles, they break our own escaping
                $text = preg_replace("/\[\[CDATA/", "", $text);