diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2008-11-06 07:24:58 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-06 07:24:58 +0000 |
| commit | 93fd448e7edbf3aedbf62580650c2abdbf8e8cb5 (patch) | |
| tree | 94666b31b41e5ed929ae9d8deb55bcdba88ab6a6 /themes/default/views/header.html.php | |
| parent | 278191dd6d38bd939ccefb7a1c338611ee920b6e (diff) | |
Break header/sidebar/footer out into separate templates.
Diffstat (limited to 'themes/default/views/header.html.php')
| -rw-r--r-- | themes/default/views/header.html.php | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/themes/default/views/header.html.php b/themes/default/views/header.html.php new file mode 100644 index 00000000..a5a85988 --- /dev/null +++ b/themes/default/views/header.html.php @@ -0,0 +1,29 @@ +<? defined("SYSPATH") or die("No direct script access."); ?> +<div id="gHeader"> + <img id="gLogo" alt="<?= _("Logo") ?>" src="<?= $theme->url("images/logo.png") ?>" /> + <h1><?= $item->title ?></h1> + <div id="gLoginMenu"> + <a href="#"><?= _("Register") ?></a> | + <a href="#"><?= _("Login") ?></a> + </div> + + <ul id="gSiteMenu"> + <li><a href="index.html"><?= _("HOME") ?></a></li> + <li><a class="active" href="browse.html"><?= _("BROWSE") ?></a></li> + <li><a href="upload.html"><?= _("UPLOAD") ?></a></li> + <li><a href="upload.html"><?= _("MY GALLERY") ?></a></li> + <li><a href="#"><?= _("ADMIN") ?></a></li> + </ul> + + <ul id="gBreadcrumbs"> + <? foreach ($parents as $parent): ?> + <li><a href="<?= url::site("album/{$parent->id}") ?>"><?= $parent->title ?></a></li> + <? endforeach ?> + <li class="active"><span><?= $item->title ?></span></li> + </ul> + + <form id="gSearchForm"> + <input type="text" class="text" value="<?= _("Search Gallery ...") ?>"/> + <input type="submit" class="submit" value="search" /> + </form> +</div> |
