diff --git a/e107_plugins/news/news.php b/e107_plugins/news/news.php index 6eccc4f47..fc3ecbc35 100644 --- a/e107_plugins/news/news.php +++ b/e107_plugins/news/news.php @@ -258,20 +258,22 @@ class news_front { echo "
"; echo "

News Debug Info

"; - echo "action: ".$this->action." "; - echo "
subaction: ".$this->subAction." "; - echo "
route: ".$this->route." "; - echo "
e_QUERY: ".e_QUERY." "; - echo "
CacheTimeout: ".$this->cacheRefreshTime." "; - echo "
_GET: ".print_r($_GET,true); + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; foreach($this->debugInfo as $key=>$val) { - echo "
".$key.": ".$val; + echo ""; } - - echo ""; + echo "
action:".$this->action."
subaction:".$this->subAction."
route:".$this->route."
e_QUERY:".e_QUERY."
e_PAGETITLE:".defset('e_PAGETITLE','(unassigned)')."
PAGE_NAME:".defset('PAGE_NAME','(unassigned)')."
CacheTimeout:".$this->cacheRefreshTime."
_GET:".print_r($_GET,true)."
".$key.":".$val."
"; } @@ -367,6 +369,8 @@ class news_front $tp = e107::getParser(); + $this->addDebug('setNewsFrontMeta (type)',$type); + if($type == 'news') { if($news['news_title'] && !defined('e_PAGETITLE'))