/** * Returns partial path of news category * * @return string * @deprecated since version 1.4.6 */ function getNewsCategoryPath($category, $page = NULL) { Zenpage_internal_deprecations::getNewsCategoryPath(); $rewrite = '/' . _CATEGORY_ . '/' . $category; $plain = "/index.php?p=news&category={$category}"; if ($page > 1) { $rewrite .= '/' . $page; $plain .= '&page=' . $page; } return rewrite_path($rewrite, $plain); //deprecated }