/** * Latest News block */ function getBlockCode_News() { $news_limit_chars = getParam("max_news_preview"); $max_news_on_home = (int) getParam("max_news_on_home"); return printNewsPanel($max_news_on_home, $news_limit_chars); }
function getBlockCode_News() { global $oTemplConfig; return printNewsPanel($oTemplConfig->iMaxNewsOnMemberPanel); }