desc_allowbbcode): $_description = $theme->bb2html($item->description, 1); else: $_description = nl2br(html::purify($item->description)); endif; if ($theme->is_photometa_visible): $_description .= ''; endif; switch ($theme->photo_popupbox): case "preview": $include_list = FALSE; $include_single = TRUE; break; case "none": $include_list = FALSE; $include_single = FALSE; break; default: $include_list = TRUE; $include_single = TRUE; break; endswitch; ?>
bb2html(html::purify($item->title), 1); ?>

add_paginator("top"); ?> photo_top() ?> photo_descmode == "top") and ($_description)): ?>
resize_top($item) ?> resize_width; // rWatcher Modification. $siblings = ""; if (isset($dynamic_siblings)) { $siblings = $dynamic_siblings; } else { $siblings = $item->parent()->children(); } // End rWatcher Modification ?>
\n"; $script .= " if (document.images) {\n"; for ($i = 0; ($i <= count($siblings) - 1); $i++): if ($siblings[$i]->rand_key == $item->rand_key): ?> " title="bb2html(html::purify($item->title), 2) ?>" href="file_url() : $item->resize_url(); ?>"> resize_img(array("id" => "g-photo-id-{$item->id}", "class" => "g-resize", "alt" => $_title)) ?> resize_url() . "\";\n"; endif; if ($i > 0): $script .= " var image_preload_p = new Image();\n image_preload_p.src = \"" . $siblings[$i-1]->resize_url() . "\";\n"; endif; else: if ($include_list): ?> is_album()): ?> file_url() : $siblings[$i]->resize_url(); ?>">  \n"; ?> photo_descmode): case "overlay_top": $_align = "g-align-top"; break; case "overlay_bottom": $_align = "g-align-bottom"; break; default: break; endswitch; endif; ?>
resize_bottom($item) ?>
photo_descmode == "bottom") and ($_description)): ?>
add_paginator("bottom"); ?> photo_bottom() ?>