';
$output .= '
'.HTML::anchor('/',_('Home')).'';
$data = empty(static::$_data['path']) ? explode('/',preg_replace('/^\//','',Request::detect_uri())) : static::$_data['path'];
$c = count($data);
$i=0;
foreach ($data as $k => $v) {
$i++;
$p = join('/',array_slice($data,0,$k+1));
$output .= $i==$c ? '' : '';
$output .= HTML::anchor(
(empty(static::$_data['url'][$p]) ? $p : static::$_data['url'][$p]),
(empty(static::$_data['name'][$p]) ? ucfirst(URL::dir($v)) : static::$_data['name'][$p])
);
$output .= '';
}
$output .= '';
return $output;
}
}
?>