diff --git a/themes/browny_admin_wind/views/admin.html.php b/themes/browny_admin_wind/views/admin.html.php
index f9ef18c7..c4b51f41 100644
--- a/themes/browny_admin_wind/views/admin.html.php
+++ b/themes/browny_admin_wind/views/admin.html.php
@@ -11,7 +11,7 @@
= t("Admin dashboard") ?>
endif ?>
- " type="image/x-icon" />
+ " type="image/x-icon" />
= $theme->css("yui/reset-fonts-grids.css") ?>
= $theme->css("themeroller/ui.base.css") ?>
@@ -77,9 +77,11 @@
= $theme->admin_page_bottom() ?>
diff --git a/themes/browny_wind/views/album.html.php b/themes/browny_wind/views/album.html.php
index de196be0..1a56af67 100644
--- a/themes/browny_wind/views/album.html.php
+++ b/themes/browny_wind/views/album.html.php
@@ -16,7 +16,9 @@
= $theme->thumb_top($child) ?>
+ if ($child->has_thumb()): ?>
= $child->thumb_img(array("class" => "g-thumbnail")) ?>
+ endif ?>
= $theme->thumb_bottom($child) ?>
= $theme->context_menu($child, "#g-item-id-{$child->id} .g-thumbnail") ?>
diff --git a/themes/browny_wind/views/page.html.php b/themes/browny_wind/views/page.html.php
index 72df044a..45ad51a7 100644
--- a/themes/browny_wind/views/page.html.php
+++ b/themes/browny_wind/views/page.html.php
@@ -23,7 +23,7 @@
endif ?>
endif ?>
- " type="image/x-icon" />
+ " type="image/x-icon" />
= $theme->css("yui/reset-fonts-grids.css") ?>
= $theme->css("superfish/css/superfish.css") ?>
= $theme->css("themeroller/ui.base.css") ?>
@@ -101,18 +101,23 @@
$i = 0 ?>
foreach ($parents as $parent): ?>
>
-
- url($parent->id == $theme->item()->parent_id ?
"show={$theme->item()->id}" : null) ?>">
- = html::purify($parent->title) ?>
+ // limit the title length to something reasonable (defaults to 15) ?>
+ = html::purify(text::limit_chars($parent->title,
+ module::get_var("gallery", "visible_title_length"))) ?>
$i++ ?>
endforeach ?>
- ">= html::purify($theme->item()->title) ?>
+ ">
+ = html::purify(text::limit_chars($theme->item()->title,
+ module::get_var("gallery", "visible_title_length"))) ?>
+
endif ?>