| Current Path : /home/sunflowe/www2/floridevilladereve/templates/saffron/html/mod_k2_tools/ |
| Current File : /home/sunflowe/www2/floridevilladereve/templates/saffron/html/mod_k2_tools/breadcrumbs.php |
<?php
/**
* @package saffron
* @author arrowthemes https://arrowthemes.com
* @copyright Copyright (C) arrowthemes
* @license https://www.gnu.org/licenses/gpl.html GNU/GPL
*/
// no direct access
defined('_JEXEC') or die;
?>
<div id="k2ModuleBox<?php echo $module->id; ?>" class="k2BreadcrumbsBlock<?php if($params->get('moduleclass_sfx')) echo ' '.$params->get('moduleclass_sfx'); ?>">
<?php
$output = '';
if ($params->get('home')) {
$output .= '<span class="bcTitle">'.JText::_('K2_YOU_ARE_HERE').'</span>';
$output .= '<a href="'.JURI::root().'">'.$params->get('home',JText::_('K2_HOME')).'</a>';
if (count($path)) {
foreach ($path as $link) {
$output .= '<span class="bcSeparator">'.$params->get('seperator','»').'</span>'.$link;
}
}
if($title){
$output .= '<span class="bcSeparator">'.$params->get('seperator','»').'</span>'.$title;
}
} else {
if($title){
$output .= '<span class="bcTitle">'.JText::_('K2_YOU_ARE_HERE').'</span>';
}
if (count($path)) {
foreach ($path as $link) {
$output .= $link.'<span class="bcSeparator">'.$params->get('seperator','»').'</span>';
}
}
$output .= $title;
}
echo $output;
?>
</div>