summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-12 00:42:14 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-12 00:42:14 +0000
commit59202b943e4e0a6d29fdda922e670cc4e5f8beb7 (patch)
tree77c2080521442937482927e1ac22b0d4a3518bcf
parente7f6befaa49974a02ec64928df377cd9b44899cc (diff)
Make the logos link back to the main album page for easy navigation.
-rw-r--r--themes/admin_default/views/admin.html.php2
-rw-r--r--themes/default/views/header.html.php4
2 files changed, 4 insertions, 2 deletions
diff --git a/themes/admin_default/views/admin.html.php b/themes/admin_default/views/admin.html.php
index a2439040..c94e64ee 100644
--- a/themes/admin_default/views/admin.html.php
+++ b/themes/admin_default/views/admin.html.php
@@ -36,7 +36,7 @@
<li class="first"><?= html::anchor("albums/1", "Browse the Gallery") ?></li>
<li id="gLogoutLink"><a href="<?= url::site("logout?continue=albums/1") ?>">Logout</a></li>
</ul>
- <a href="http://gallery.menalto.com/"><img src="<?= url::file("themes/default/images/logo.png") ?>" id="gLogo" alt="<?= t("Gallery 3: Your Photos on Your Web Site") ?>" /></a>
+ <a href="<?= url::site("albums/1") ?>"><img src="<?= url::file("themes/default/images/logo.png") ?>" id="gLogo" alt="<?= t("Gallery 3: Your Photos on Your Web Site") ?>" /></a>
<div id="gSiteAdminMenu">
<?= $theme->admin_menu() ?>
</div>
diff --git a/themes/default/views/header.html.php b/themes/default/views/header.html.php
index 145d0286..e5a7fa80 100644
--- a/themes/default/views/header.html.php
+++ b/themes/default/views/header.html.php
@@ -1,6 +1,8 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<?= $theme->header_top() ?>
-<img id="gLogo" alt="<?= t("Logo") ?>" src="<?= $theme->url("images/logo.png") ?>" />
+<a href="<?= url::site("albums/1") ?>">
+ <img id="gLogo" alt="<?= t("Logo") ?>" src="<?= $theme->url("images/logo.png") ?>" />
+</a>
<div id="gSiteMenu">
<?= $theme->site_menu() ?>