summaryrefslogtreecommitdiff
path: root/themes/default/views/header.html.php
diff options
context:
space:
mode:
authorJozef Selesi <jozefs@users.sourceforge.net>2008-11-19 00:12:25 +0000
committerJozef Selesi <jozefs@users.sourceforge.net>2008-11-19 00:12:25 +0000
commitb2772f5a050351129a64b966b127e39cf76c80b5 (patch)
treea0a7704bdd944d45b09a8959ab3c60c91f31bab1 /themes/default/views/header.html.php
parent1992343c2e1f2df892f39f971ae629edc59c33d0 (diff)
* Renamed the album, item and photo controllers to albums, items and photos in order to follow the convention that controllers that refer to a collection of resources have plural names.
* Added a bug workaround to routes.php
Diffstat (limited to 'themes/default/views/header.html.php')
-rw-r--r--themes/default/views/header.html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/views/header.html.php b/themes/default/views/header.html.php
index 03d4357c..1a6a10e8 100644
--- a/themes/default/views/header.html.php
+++ b/themes/default/views/header.html.php
@@ -25,7 +25,7 @@
<ul id="gSiteMenu">
<li><a href="<?= url::base() ?>"><?= _("HOME") ?></a></li>
- <li><a class="active" href="<?= url::site("album/1") ?>"><?= _("BROWSE") ?></a></li>
+ <li><a class="active" href="<?= url::site("albums/1") ?>"><?= _("BROWSE") ?></a></li>
<li><a href="#"><?= _("UPLOAD") ?></a></li>
<li><a href="#"><?= _("MY GALLERY") ?></a></li>
<li><a href="#"><?= _("ADMIN") ?></a></li>
@@ -40,7 +40,7 @@
<ul id="gBreadcrumbs">
<? foreach ($parents as $parent): ?>
- <li><a href="<?= url::site("album/{$parent->id}") ?>"><?= $parent->title_edit ?></a></li>
+ <li><a href="<?= url::site("albums/{$parent->id}") ?>"><?= $parent->title_edit ?></a></li>
<? endforeach ?>
<li class="active"><?= $item->title_edit ?></li>
</ul>