diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2010-08-30 22:06:26 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-08-30 22:06:26 -0700 |
| commit | 866f8eefc66f24f9fcfb9f20bdc0add3a654db76 (patch) | |
| tree | 11f39ff6251b1c90cc3f03a37fd9ec67243db991 /themes/wind | |
| parent | 0f2daf29acc051e7fe79abc625406684e9da8196 (diff) | |
| parent | d5ebcb91ad8401df8a393f84ade82150467dbf33 (diff) | |
Fix for ticket #1320. Hook the loading of the initial albums and check to see if the loaded item is the requested item.
Diffstat (limited to 'themes/wind')
| -rw-r--r-- | themes/wind/views/album.html.php | 2 | ||||
| -rw-r--r-- | themes/wind/views/page.html.php | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/themes/wind/views/album.html.php b/themes/wind/views/album.html.php index de196be0..1a56af67 100644 --- a/themes/wind/views/album.html.php +++ b/themes/wind/views/album.html.php @@ -16,7 +16,9 @@ <li id="g-item-id-<?= $child->id ?>" class="g-item <?= $item_class ?>"> <?= $theme->thumb_top($child) ?> <a href="<?= $child->url() ?>"> + <? if ($child->has_thumb()): ?> <?= $child->thumb_img(array("class" => "g-thumbnail")) ?> + <? endif ?> </a> <?= $theme->thumb_bottom($child) ?> <?= $theme->context_menu($child, "#g-item-id-{$child->id} .g-thumbnail") ?> diff --git a/themes/wind/views/page.html.php b/themes/wind/views/page.html.php index 3c4f6ef5..4938ed60 100644 --- a/themes/wind/views/page.html.php +++ b/themes/wind/views/page.html.php @@ -23,7 +23,7 @@ <? endif ?> <? endif ?> </title> - <link rel="shortcut icon" href="<?= url::file("lib/images/favicon.ico") ?>" type="image/x-icon" /> + <link rel="shortcut icon" href="<?= url::file(module::get_var("gallery", "favicon_url")) ?>" type="image/x-icon" /> <?= $theme->css("yui/reset-fonts-grids.css") ?> <?= $theme->css("superfish/css/superfish.css") ?> <?= $theme->css("themeroller/ui.base.css") ?> |
