Хлебные крошки для DLE

VM
На сайте с 23.09.2009
Offline
192
1134

Знаю что есть модуль отвечающий за их вывод но в гугле они не выводятся, надобы пошаманить.

if ($config['speedbar'] and !isset($view_template)) {

$s_navigation = “<span itemscope itemtype=\”http://data-vocabulary.org/Breadcrumb\” ><a itemprop=\”url\” href=\”{$config['http_home_url']}\”><span itemprop=\”title\”>” . $config['short_title'] . “</span></a></span>”;

if ($category_id)

$s_navigation .= ” &raquo; <span itemscope itemtype=\”http://data-vocabulary.org/Breadcrumb\” >” . str_replace(array(’a href’,'”>’,'</a>’),array(’a itemprop=”url” href’,'”><span itemprop=”title”>’,'</span></a></span>’),get_categories($category_id));

elseif ($do == ‘tags’) {

if ($config['allow_alt_url'] == “yes”)

$s_navigation .= ” &raquo; <a href=\”" . $config['http_home_url'] . “tags/\”>” . $lang['tag_cloud'] . “</a> &raquo; ” . $tag;

else

$s_navigation .= ” &raquo; <a href=\”?do=tags\”>” . $lang['tag_cloud'] . “</a> &raquo; ” . $tag;

} elseif ($nam_e)

$s_navigation .= ” &raquo; ” . $nam_e;

if ($titl_e)

$s_navigation .= ” &raquo;<span itemscope itemtype=\”http://data-vocabulary.org/Breadcrumb\” ><a itemprop=\”url\” href=\”{$config['http_home_url']}{$_SESSION['referrer']}\”><span itemprop=\”title\”>” . $titl_e . “</span></a></span>”;

$tpl->load_template(’speedbar.tpl’);

$tpl->set(’{speedbar}’, ‘<span id=\’dle-speedbar\’>’ . stripslashes($s_navigation) . ‘</span>’);

$tpl->compile(’speedbar’);

$tpl->clear();

}

Почему то не выводятся в подкатегории. Сайт - Фильмы - Боевики

выводится только Сайт - Фильмы.

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий