summaryrefslogtreecommitdiff
path: root/themes/wind
diff options
context:
space:
mode:
Diffstat (limited to 'themes/wind')
-rw-r--r--themes/wind/css/screen.css9
-rw-r--r--themes/wind/views/album.html.php2
-rw-r--r--themes/wind/views/page.html.php17
3 files changed, 21 insertions, 7 deletions
diff --git a/themes/wind/css/screen.css b/themes/wind/css/screen.css
index be802976..2f91deaa 100644
--- a/themes/wind/css/screen.css
+++ b/themes/wind/css/screen.css
@@ -336,6 +336,15 @@ td {
background-color: #cfc;
}
+#g-permissions .g-breadcrumbs a {
+ border: 1px solid #fff;
+}
+
+#g-permissions .g-active a {
+ border: 1px solid #ddd;
+ background: #eee;
+}
+
/** *******************************************************************
* 5) Navigation and menus
*********************************************************************/
diff --git a/themes/wind/views/album.html.php b/themes/wind/views/album.html.php
index 43565b45..ff069a84 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 9f94b04f..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") ?>
@@ -101,19 +101,22 @@
<? $i = 0 ?>
<? foreach ($parents as $parent): ?>
<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
- level you're on the right page. -->
+ <? // 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
+ // level you're on the right page. ?>
<a href="<?= $parent->url($parent == $theme->item()->parent() ?
"show={$theme->item()->id}" : null) ?>">
- <?= html::purify(text::limit_chars($parent->title, 15)) ?>
+ <!-- limit the title length to something reasonable (defaults to 15) -->
+ <?= html::purify(text::limit_chars($parent->title,
+ module::get_var("gallery", "visible_title_length"))) ?>
</a>
</li>
<? $i++ ?>
<? endforeach ?>
<li class="g-active<? if ($i == 0) print " g-first" ?>">
- <?= html::purify(text::limit_chars($theme->item()->title, 15)) ?>
+ <?= html::purify(text::limit_chars($theme->item()->title,
+ module::get_var("gallery", "visible_title_length"))) ?>
</li>
</ul>
<? endif ?>