Совсем не пойму, куда тут, что прописывать...
public function printPathway($separator='→'){
$inCore = cmsCore::getInstance();
//Проверяем, на главной мы или нет
if (($inCore->menuId()==1 && !$this->site_cfg->index_pw) || !$this->site_cfg->show_pw) { return false; }
$count = sizeof($this->pathway);
if (!$this->site_cfg->last_item_pw){
unset($this->pathway[$count-1]); $count --;
} elseif ($this->site_cfg->last_item_pw == 2) {
$this->pathway[$count-1]['is_last'] = true;
}
if ($this->pathway){
$this->initTemplate('special', 'pathway.tpl')->
assign('pathway', $this->pathway)->
assign('separator', $separator)->
display('pathway.tpl');
}
}
$inCore = cmsCore::getInstance();
//Проверяем, на главной мы или нет
if (($inCore->menuId()==1 && !$this->site_cfg->index_pw) || !$this->site_cfg->show_pw) { return false; }
$count = sizeof($this->pathway);
if (!$this->site_cfg->last_item_pw){
unset($this->pathway[$count-1]); $count --;
} elseif ($this->site_cfg->last_item_pw == 2) {
$this->pathway[$count-1]['is_last'] = true;
}
if ($this->pathway){
$this->initTemplate('special', 'pathway.tpl')->
assign('pathway', $this->pathway)->
assign('separator', $separator)->
display('pathway.tpl');
}
}