diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-28 11:38:05 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-28 11:38:05 -0700 |
| commit | 8ef78de3f72f695225ac87223d0815235a630417 (patch) | |
| tree | f2d749126bcd7e54db095e5091fcd1a4e4844929 /themes/wind/views | |
| parent | 2a21f3bc80758a20635534b837c11836a72b202c (diff) | |
| parent | fbc551771153a6664da2c3a3a82e22b912bb3cdc (diff) | |
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'themes/wind/views')
| -rw-r--r-- | themes/wind/views/page.html.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/themes/wind/views/page.html.php b/themes/wind/views/page.html.php index a14a3278..a2b2fdd7 100644 --- a/themes/wind/views/page.html.php +++ b/themes/wind/views/page.html.php @@ -77,14 +77,14 @@ <?= $theme->site_status() ?> <div id="g-header" class="ui-helper-clearfix"> <div id="g-banner"> - <?= $theme->header_top() ?> <? if ($header_text = module::get_var("gallery", "header_text")): ?> <?= $header_text ?> <? else: ?> - <a id="g-logo" href="<?= item::root()->url() ?>" title="<?= t("go back to the Gallery home")->for_html_attr() ?>"> + <a id="g-logo" class="g-left" href="<?= item::root()->url() ?>" title="<?= t("go back to the Gallery home")->for_html_attr() ?>"> <img width="107" height="48" alt="<?= t("Gallery logo: Your photos on your web site")->for_html_attr() ?>" src="<?= url::file("lib/images/logo.png") ?>" /> </a> <? endif ?> + <?= $theme->header_top() ?> <div id="g-site-menu"> <?= $theme->site_menu() ?> </div> @@ -93,8 +93,9 @@ <? if (!empty($parents)): ?> <ul class="g-breadcrumbs"> + <? $i = 0 ?> <? foreach ($parents as $parent): ?> - <li> + <li<? if ($i == 0) print " class=\"g-first\"" ?>> <!-- Adding ?show=<id> causes Gallery3 to display the page containing that photo. For now, we just do it for the immediate parent so that when you go back up a @@ -104,8 +105,9 @@ <?= html::purify($parent->title) ?> </a> </li> + <? $i++ ?> <? endforeach ?> - <li class="active"><?= html::purify($theme->item()->title) ?></li> + <li class="g-active"><?= html::purify($theme->item()->title) ?></li> </ul> <? endif ?> </div> |
