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->bb2html(html::purify($item->title), 1); ?>
= $_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 Modification.
//ORIGINAL LINE $siblings = $item->parent()->children();
$siblings = "";
if (isset($dynamic_siblings)) {
$siblings = $dynamic_siblings;
} else {
$siblings = $item->parent()->children();
}
// End rWatcher Modification
?>
$script = "\n"; ?>
$_align = "";
if ($_description):
switch ($theme->photo_descmode):
case "overlay_top":
$_align = "g-align-top";
break;
case "overlay_bottom":
$_align = "g-align-bottom";
break;
default:
break;
endswitch;
endif; ?>
if ($_align): ?>
= t("More") ?>
= $_title ?>
= $_description ?>
endif ?>
= $theme->resize_bottom($item) ?>
if (($theme->photo_descmode == "bottom") and ($_description)): ?>
endif; ?>
= $theme->add_paginator("bottom", FALSE); ?>
= $theme->photo_bottom() ?>
= $script ?>