phptemplate_breadcrumb
themes/garland/template.php, строка 33
- Версии
- 5 – 6
phptemplate_breadcrumb($breadcrumb)
Return a themed breadcrumb trail.
Параметры
$breadcrumb
An array containing the breadcrumb links.
Возвращаемое значение
a string containing the breadcrumb output.
Код
<?php
function phptemplate_breadcrumb($breadcrumb) {
if (!empty($breadcrumb)) {
return '<div class="breadcrumb">'. implode(' › ', $breadcrumb) .'</div>';
}
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии