Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach ($categories as $category) {
- $cat = new CMSCategory((int)$category['id_cms_category'], (int)$id_lang);
- $this->_menu .= '<li>';
- if ($cat->id==32){
- $this->_menu .= '<li '.$selected.'>';
- $this->_menu .= '<a href="https://acolorfoto.it/tipografia/16-volantini.html">'.$cat->meta_title.'</a>';
- $this->getCMSMenuItems($category['id_cms_category'], (int)$depth + 1);
- $this->_menu .= '</li>';
- }
- else
- {
- $this->_menu .= '<a href="'.Tools::HtmlEntitiesUTF8($cat->getLink()).'">'.$category['name'].'</a>';
- $this->getCMSMenuItems($category['id_cms_category'], (int)$depth + 1);
- $this->_menu .= '</li>';
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement