From a5c815d35822dab932c0303837e82d88bcb0f308 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 16 Jan 2009 17:12:28 +0100 Subject: code cleanup (remove dashboard initial stuff) --- functions.php | 35 ----------------------------------- 1 file changed, 35 deletions(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index e49dd9d21..78cd39875 100644 --- a/functions.php +++ b/functions.php @@ -4077,8 +4077,6 @@ } - if (!$dashboard_menu) { - if (strpos($_SESSION["client.userAgent"], "MSIE") === false) { print " @@ -4157,11 +4155,6 @@ print ""; } - } else { // dashboard menu actions - - // not implemented - print ""; - } print ""; @@ -4284,11 +4277,6 @@ 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); @@ -5843,29 +5831,6 @@ } // function update_daemon_common - function generate_dashboard_feed($link) { - - print "
"; - - print_headline_subtoolbar($link, "", "Dashboard", - false, false, -4, false, false, false, - false, 0, 0, true, true, "tag.png"); - - print "
"; - print "
There is 666 unread articles in 666 feeds.
"; - print "
"; - - print "
"; - - print "]]>"; - print ""; - print ""; - print ""; - - print ""; - print ""; - } - function sanitize_article_content($text) { # we don't support CDATA sections in articles, they break our own escaping $text = preg_replace("/\[\[CDATA/", "", $text); -- cgit v1.2.3