[add] better breadcrumb in video view

This commit is contained in:
Knah Tsaeb 2013-07-26 12:04:17 +02:00
parent eba1dd06e5
commit be1cb2a7b2
2 changed files with 1 additions and 4 deletions

View File

@ -97,7 +97,7 @@ $i = 1;
echo '<a href="?">Home</a> >>';
if (!empty($breadcrumb)) {
foreach ($breadcrumb as $key => $value) {
if ($i === $nbBread) {
if ($i === $nbBread && $ci['ac'] !== 'view') {
echo $value;
} else {
echo '<a href="?bc=', $key, '">', $value, '</a> >> ';

View File

@ -241,9 +241,6 @@ function makeBreadcrumb($bc, $fullListDir) {
return $breadcrumb;
}
function renameDir() {
}
function listVideo($breadcrumb) {
return glob("*.jpg");
}