if ($theme->desc_allowbbcode):
$_description = $theme->bb2html($item->description, 1);
else:
$_description = nl2br(html::purify($item->description));
endif;
if ($theme->is_photometa_visible):
$_description .= '
$_title = $theme->get_item_title($item, TRUE); ?>
= $_title ?>
= $theme->add_paginator("top", FALSE); ?>
= $theme->photo_top() ?>
if (($theme->photo_descmode == "top") and ($_description)): ?>
endif; ?>
= $theme->resize_top($item) ?>
$_resizewidth = $item->resize_width;
// rWatcher Edit:
// Original Line: $siblings = $item->parent()->children();
$siblings = "";
if (isset($theme->dynamic_siblings)) {
$siblings = $theme->dynamic_siblings;
} else {
$siblings = $item->parent()->children();
}
// End rWatcher Edit.
?>
$script = "\n"; ?>
$_align = "";
$_more = FALSE;
if ($_description):
switch ($theme->photo_descmode):
case "overlay_top":
$_align = "g-align-top";
$_more = TRUE;
break;
case "overlay_bottom":
$_align = "g-align-bottom";
$_more = TRUE;
break;
case "overlay_top_s":
$_align = "g-align-top g-align-static";
break;
case "overlay_bottom_s":
$_align = "g-align-bottom g-align-static";
break;
default:
break;
endswitch;
endif; ?>
if ($_align): ?>
if ($_more): ?>
= t("More") ?>
endif ?>
= $_title ?>
= $_description ?>
endif ?>
= $theme->resize_bottom($item) ?>
if (($theme->photo_descmode == "bottom") and ($_description)): ?>
endif; ?>
= $theme->add_paginator("bottom", FALSE); ?>
= $theme->photo_bottom() ?>
= $script ?>