Changes for page Talks

From version 1.1
edited by Andrea Omicini
on 09/12/2020 17:43
Change comment: Imported from XAR
To version 5.1
edited by Andrea Omicini
on 26/11/2021 16:57
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,0 @@
1 -Talks
Syntax
... ... @@ -1,1 +1,1 @@
1 -XWiki 1.0
1 +XWiki 2.1
Content
... ... @@ -1,24 +1,7 @@
1 -#includeMacros("Main.MacroSheet")
2 -#includeMacros("Talks.MacroSheet")
3 -#includeMacros("People.MacroSheet")
1 += {{mensa/}} Talks =
4 4  
5 -<a name="top"> </a>
3 +{{velocity}}
4 +#set( $tag = "MEnSA" )
5 +{{/velocity}}{{include reference="Talks.Tag"/}}
6 6  
7 -1 #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"){pre}[{/pre}<a href="$xwiki.getURL("$talk", "inline")">$msg.get("edit")</a>{pre}]{/pre}#end
22 -
23 - #end
24 -#end
7 +{{include reference="Environment"/}}