<?xml version="1.0" encoding="UTF-8"?>

<xwikidoc>
<web>Main.PhotoAlbum</web>
<name>AspireFirstReviewMeeting</name>
<language></language>
<defaultLanguage>en</defaultLanguage>
<translation>0</translation>
<parent>Main.PhotoAlbum</parent>
<creator>xwiki:XWiki.nkef</creator>
<author>xwiki:XWiki.nkef</author>
<contentAuthor>xwiki:XWiki.nkef</contentAuthor>
<creationDate>1234893432000</creationDate>
<date>1234893683000</date>
<contentUpdateDate>1234893683000</contentUpdateDate>
<version>1.4</version>
<title>ASPIRE First Review Meeting</title>
<template></template>
<attachment>
<filename>Nikos-review1.jpg</filename>
<filesize>129946</filesize>
<author>xwiki:XWiki.nkef</author>
<date>1234893578000</date>
<version>1.1</version>
<comment></comment>
</attachment>
<attachment>
<filename>didier_john-review1.jpg</filename>
<filesize>39877</filesize>
<author>xwiki:XWiki.nkef</author>
<date>1234893682000</date>
<version>1.1</version>
<comment></comment>
</attachment>
<content>#set($obj = $doc.getObject("XWiki.PhotoAlbumClass", 0))
#if($context.action=="inline")
Before adding photos to your album, please choose a title and a decription for this album.

Title: $doc.display("title", $obj)

Description:

$doc.display("description", $obj) 

#set($newtitle = $request.title)
#if($newtitle)
#set($newtitle = $newtitle.replace('"',"'"))
&lt;script type="text/javascript"&gt;
var title = "${newtitle}";
{pre}
document.forms.edit["XWiki.PhotoAlbumClass_0_title"].value = title;
{/pre}
&lt;/script&gt;
#end
#else
&lt;br /&gt;
1 ASPIRE First Review Meeting


#set($diapo = $request.get("diapo"))
#if(!$diapo)
#set($diapo="all")
#end
#if($diapo=="all")
#macro(photosAlbum2 $height)
#set($current = 0)
#set($height=150)
#foreach ($attach in $doc.attachmentList)
#set($current = $current + 1)
&lt;a href="$doc.getURL("view","diapo=$current")" &gt;
&lt;img src="$doc.getAttachmentURL($attach.filename,"download")?height=${height}" height="${height}"/&gt;&lt;/a&gt;
#end
#end
#set($size = $!doc.display("height", "view",$obj))
#if($size == "")
#set($size = 150)
#end
#photosAlbum2($size)
#else
#set($current = 0)
#set($size = $!doc.display("height2", "view",$obj))
#foreach ($attach in $doc.attachmentList)
#set($current = $current + 1)
#set($scurrent = "$current")
#if("$diapo" == "$current")
#set($prev = ($current - 1))
#set($next = ($current + 1))
&lt;a href="$doc.getAttachmentURL($attach.filename,"download")" &gt;
&lt;img src="$doc.getAttachmentURL($attach.filename,"download")" height=500 /&gt;&lt;/a&gt;
#end
#end
#if($prev==0)
#set($prev = $doc.attachmentList.size())
#end
#if($next==$doc.attachmentList.size()+1)
#set($next = 1)
#end

#if(!$prev)
#set($prev = 1)
#set($next = 1)
#end
&lt;br /&gt;
~~[Previous Photo&gt;${doc.name}?diapo=$prev] [Next Photo&gt;${doc.name}?diapo=$next]~~
#end

&lt;br /&gt;
~~
#if($xwiki.hasAccessLevel("edit"))
&lt;a href="$doc.getURL("attach")"&gt;Add Photos&lt;/a&gt; &lt;a href="$doc.getURL("inline")"&gt;Modify the Album&lt;/a&gt;
#end
 [All Photos&gt;${doc.name}?diapo=all] [Diaporama&gt;${doc.name}?diapo=1]~~
#end
#set($showattachments = 0)</content>
<renderedcontent>&lt;br /&gt;
&lt;h2 class="heading-1"&gt;&lt;span id="HASPIREFirstReviewMeeting"&gt;ASPIRE First Review Meeting&lt;/span&gt;&lt;/h2&gt;&lt;p class="paragraph"/&gt;
&lt;a href="/xwiki/bin/view/Main.PhotoAlbum/AspireFirstReviewMeeting?diapo=1#aspire" &gt;
&lt;img src="/xwiki/bin/download/Main.PhotoAlbum/AspireFirstReviewMeeting/Nikos-review1.jpg?height=150" height="150"/&gt;&lt;/a&gt;
&lt;a href="/xwiki/bin/view/Main.PhotoAlbum/AspireFirstReviewMeeting?diapo=2#aspire" &gt;
&lt;img src="/xwiki/bin/download/Main.PhotoAlbum/AspireFirstReviewMeeting/didier_john-review1.jpg?height=150" height="150"/&gt;&lt;/a&gt;&lt;p class="paragraph"/&gt;&lt;br /&gt;
&lt;i class="italic"&gt;
 &lt;span class="wikilink"&gt;&lt;a href="/xwiki/bin/view/Main.PhotoAlbum/AspireFirstReviewMeeting?diapo=all"&gt;All Photos&lt;/a&gt;&lt;/span&gt; &lt;span class="wikilink"&gt;&lt;a href="/xwiki/bin/view/Main.PhotoAlbum/AspireFirstReviewMeeting?diapo=1"&gt;Diaporama&lt;/a&gt;&lt;/span&gt;&lt;/i&gt;
</renderedcontent>
</xwikidoc>