$theme->start_combining("script,css") ?>
if ($page_title): ?> = $page_title ?> else: ?> if ($theme->item()): ?> = $theme->item()->title ?> elseif ($theme->tag()): ?> = t("Photos tagged with %tag_title", array("tag_title" => $theme->tag()->name)) ?> else: /* Not an item, not a tag, no page_title specified. Help! */ ?> = item::root()->title ?> endif ?> endif ?>
" type="image/x-icon" />
" /> if ($theme->page_type == "collection"): ?> if ($thumb_proportion != 1): ?> $new_width = round($thumb_proportion * 213) ?> $new_height = round($thumb_proportion * 240) ?> endif ?> endif ?> = $theme->script("json2-min.js") ?> = $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") ?> /* 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() ?> /* Theme specific CSS/JS goes last so that it can override module CSS/JS */ ?> = $theme->script("ui.init.js") ?> = $theme->css("yui/reset-fonts-grids.css") ?> = $theme->css("superfish/css/superfish.css") ?> = $theme->css("themeroller/ui.base.css") ?> = $theme->css("screen.css") ?> if (locales::is_rtl()): ?> = $theme->css("screen-rtl.css") ?> endif; ?> = $theme->get_combined("css") ?> = $theme->get_combined("script") ?> body_attributes() ?>> = $theme->page_top() ?>
= $theme->site_status() ?>
if ($header_text = module::get_var("gallery", "header_text")): ?> = $header_text ?> else: ?>
for_html_attr() ?>">
for_html_attr() ?>" src="= url::file("lib/images/logo.png") ?>" />
endif ?> = $theme->user_menu() ?> = $theme->header_top() ?>
= $theme->site_menu($theme->item() ? "#g-item-id-{$theme->item()->id}" : "") ?>
= $theme->header_bottom() ?>
if ($theme->item() && !empty($parents)): ?>
$i = 0 ?> foreach ($parents as $parent): ?>
> // Adding ?show=
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. ?>
item()->id}" : null) ?>"> // 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(text::limit_chars($theme->item()->title, module::get_var("gallery", "visible_title_length"))) ?>
endif ?>
= $theme->messages() ?> = $content ?>
if ($theme->page_subtype != "login"): ?> = new View("sidebar.html") ?> endif ?>
= $theme->page_bottom() ?>