| Current Path : /home/s/u/n/sunflowe/www2/j15/components/com_sh404sef/sef_ext/ |
| Current File : /home/s/u/n/sunflowe/www2/j15/components/com_sh404sef/sef_ext/com_wrapper.php |
<?php
/**
* sh404SEF support for com_wrapper component.
* @author $Author: shumisha $
* @copyright Yannick Gaultier - 2007-2010
* @package sh404SEF-15
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @version $Id: com_wrapper.php 1190 2010-04-04 16:00:15Z silianacom-svn $
*/
defined( '_JEXEC' ) or die( 'Direct Access to this location is not allowed.' );
// ------------------ standard plugin initialize function - don't change ---------------------------
global $sh_LANG;
$sefConfig = & shRouter::shGetConfig();
$shLangName = '';
$shLangIso = '';
$title = array();
$shItemidString = '';
$dosef = shInitializePlugin( $lang, $shLangName, $shLangIso, $option);
if ($dosef == false) return;
// ------------------ standard plugin initialize function - don't change ---------------------------
shRemoveFromGETVarsList('option');
shRemoveFromGETVarsList('view');
if (!empty($lang))
shRemoveFromGETVarsList('lang');
if (isset($Itemid))
shRemoveFromGETVarsList('Itemid');
$shTemp = getMenuTitle($option, null, $Itemid, null, $shLangName );
if (!empty($shTemp) && ($shTemp != '/')) $title[] = $shTemp; // V 1.2.4.t
// ------------------ standard plugin finalize function - don't change ---------------------------
if ($dosef){
$string = shFinalizePlugin( $string, $title, $shAppendString, $shItemidString,
(isset($limit) ? @$limit : null), (isset($limitstart) ? @$limitstart : null),
(isset($shLangName) ? @$shLangName : null));
}
// ------------------ standard plugin finalize function - don't change ---------------------------
?>