Changes for page Talks

From version 3.1
edited by Andrea Omicini
on 26/11/2021 14:54
Change comment: Document converted from syntax xwiki/1.0 to syntax xwiki/2.1
To version 4.1
edited by Andrea Omicini
on 26/11/2021 14:55
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,0 @@
1 -Talks
Content
... ... @@ -1,27 +1,5 @@
1 -{{include document="Main.MacroSheet"/}} {{include document="Talks.MacroSheet"/}} {{include document="MEnSA.MacroSheet"/}}
1 += {{mensa/}} Talks =
2 2  
3 -{{velocity filter="none"}}
4 -{{html clean="false" wiki="true"}}
5 -<a name="top"> </a>
6 -
7 -= #mensa() Talks in the #apice() Space =
8 -
9 -#set ($sql = ", BaseObject as obj, DateProperty as prop
10 - where
11 - obj.name=doc.fullName and
12 - obj.className='Talks.TalkClass' and
13 - obj.name<>'Talks.TalkClassTemplate' and
14 - prop.id.id=obj.id and
15 - prop.name='date'
16 - order by prop.value desc")
17 -
18 -#foreach ($talk in $xwiki.searchDocuments($sql))
19 - #set($talkTags=$xwiki.getDocument($talk).getObject("XWiki.TagClass").tags)
20 - #if ($talkTags.toLowerCase().contains("mensa"))
21 - * #talkTDSInline($talk) #if($context.getUser() != "XWiki.XWikiGuest"){{{[}}}<a href="$xwiki.getURL("$talk", "inline")">{{html clean="false"}}$msg.get("edit"){{/html}}</a>{{{]}}}#end
22 -
23 -<p/>
24 - #end
25 -#end
26 -{{/html}}
27 -{{/velocity}}
3 +{{velocity}}
4 +#set( $tag = "MEnSA" )
5 +{{/velocity}}{{include reference="Talks.Tag"/}}