/* Don't show the extra chrome for photo and movie pages */ ?>
if ($page_subtype == "photo" || $page_subtype == "movie"): ?>
= $content ?>
return ?>
endif ?>
if ($page_title): ?>
= $page_title ?>
else: ?>
if ($theme->item()): ?>
if ($theme->item()->is_album()): ?>
= t("Gallery :: %album_title", array("album_title" => $theme->item()->title)) ?>
elseif ($theme->item()->is_photo()): ?>
= t("Gallery :: %photo_title", array("photo_title" => $theme->item()->title)) ?>
else: ?>
= t("Gallery :: %movie_title", array("movie_title" => $theme->item()->title)) ?>
endif ?>
elseif ($theme->tag()): ?>
= t("Gallery :: %tag_title", array("tag_title" => $theme->tag()->name)) ?>
else: /* Not an item, not a tag, no page_title specified. Help! */ ?>
= t("Gallery") ?>
endif ?>
endif ?>
" type="image/x-icon" />
= $theme->css("yui/reset-fonts-grids.css") ?>
= $theme->css("superfish/css/superfish.css") ?>
= $theme->css("themeroller/ui.base.css") ?>
= $theme->css("jquery.fancybox.css") ?>
= $theme->css("screen.css") ?>
= $theme->css("three_nids.css") ?>
if ($theme->page_type == 'collection'): ?>
if ($thumb_proportion != 1): ?>
$new_width = $thumb_proportion * 180 ?>
$new_height = $thumb_proportion * 230 ?>
endif ?>
endif ?>
= $theme->script("jquery.js") ?>
= $theme->script("jquery.form.js") ?>
= $theme->script("jquery-ui.js") ?>
= $theme->script("gallery.common.js") ?>
/* MSG_CANCEL is required by gallery.dialog.js */ ?>
= $theme->script("gallery.ajax.js") ?>
= $theme->script("gallery.dialog.js") ?>
= $theme->script("superfish/js/superfish.js") ?>
= $theme->script("jquery.localscroll.js") ?>
= $theme->script("jquery.easing.js") ?>
= $theme->script("jquery.fancybox.js") ?>
= $theme->script("ui.init.js") ?>
/* These are page specific, but if we put them before $theme->head() they get combined */ ?>
if ($theme->page_subtype == "photo"): ?>
= $theme->script("jquery.scrollTo.js") ?>
= $theme->script("gallery.show_full_size.js") ?>
elseif ($theme->page_subtype == "movie"): ?>
= $theme->script("flowplayer.js") ?>
endif ?>
= $theme->head() ?>
body_attributes() ?>>
= $theme->page_top() ?>