<%{ boolean rzUseNewButtons = rz.isvalidfield("webspace_config","use_new_buttons") && rz.fetch("webspace_config","use_new_buttons").equals("yes");%>
<%-- #BeginRZ-ActionImage --%> <%-- Option:type=ForwardEditListImage --%> <%-- Option:imageSrcURL=images/edit/edit_this_list.jpg --%> <%-- #EndRZ-ActionImage --%>
<%} //Variable declaration. Used for filtering datas StringBuffer gallery=new StringBuffer(); String gallery_image_src = ""; String gallery_image_alt = ""; String big_image_src = ""; String photo_caption = ""; String video = ""; String linkURL = ""; String btn_src = "";%> <% while ( rz.listnext() && rz.listindex >= 0){ %> <% gallery_image_src=rz.src; gallery_image_alt=rz.alt; photo_caption=rz.fetch("revize_photo_gallery","caption"); video=rz.fetch("revize_photo_gallery","video"); if(!video.equals("")) { linkURL=video; btn_src = "/revize/plugins/revize_photo_gallery/_images_/play.png"; } else { linkURL=gallery_image_src; btn_src = "/revize/plugins/revize_photo_gallery/_images_/more.png"; } gallery.append("\n\t\t\t
\n"); gallery.append("\t\t\t\t\"");\n"); gallery.append("\t\t\t\t
\n"); gallery.append("\t\t\t\t\t\"\"\n"); gallery.append("\t\t\t\t
\n"); gallery.append("\t\t\t
\n"); %>
<%}%>
<%=gallery%>