case 'fb_rss': case 'rss': if ($sefConfig->shInsertFireboardName) { $title[] = $shKUName; } $title[] = 'rss'; shRemoveFromGETVarsList('func'); shRemoveFromGETVarsList('no_html'); break; default: if (shKUGetVersion() < '1.6') { $dosef = false; } break; } if (shKUGetVersion() >= '1.6') { // version 1.6+ : use view instead of func for some functions switch ($view) { case 'listcat': if ($sefConfig->shInsertFireboardName) { $title[] = $shKUName; } $title[] = $sh_LANG[$shLangIso]['COM_SH404SEF_KU_LIST_CAT']; $shCat = shKUCategoryName($catid, $option, $shLangIso, $shLangName); // V 1.2.4.q $option was missing if (!empty($shCat)) { $title[] = $shCat; } shRemoveFromGETVarsList('view'); shRemoveFromGETVarsList('catid'); $title[] = '/';
} // manage GET var lists ourselves, as Joomla router.php does not do it if (!empty($vars)) { // there are some unused GET vars, we must transfer them to our mechanism, so // that they are eventually appended to the sef url foreach ($vars as $k => $v) { switch ($k) { case 'option': case 'Itemid': case 'lang': shRemoveFromGETVarsList($k); break; default: // if variable has not been used in sef url, add it to list of variables to be // appended to the url as query string elements if (array_key_exists($k, $originalVars)) { shAddToGETVarsList($k, $v); } else { shRemoveFromGETVarsList($k); } break; } } } } // ------------------ standard plugin finalize function - don't change --------------------------- $suppressPagination = shKUGetVersion() >= '2'; if ($dosef) { $string = shFinalizePlugin($string, $title, $shAppendString, $shItemidString, isset($limit) ? $limit : null, isset($limitstart) ? $limitstart : null, isset($shLangName) ? $shLangName : null, isset($showall) ? $showall : null, $suppressPagination); } // ------------------ standard plugin finalize function - don't change ---------------------------