Hide last authors
Andrea Omicini 2.1 1 {{include document="Main.MacroSheet"/}} {{include document="Events.MacroSheet"/}} {{include document="StefanoMariani.MacroSheet"/}}
2 {{velocity filter="none"}}
3 {{html clean="false" wiki="true"}}
Stefano Mariani 1.1 4 #set( $eventMenu = true )
Andrea Omicini 2.1 5 #set( $listSeparator = ", " )
6 #set( $yearRange = [$lastYearEv.. $firstYearEv] )
7
Stefano Mariani 1.1 8 #if ($context.language=="it")
9
Andrea Omicini 2.1 10 = Eventi scientifici con $userFullname =
11
12 In questi anni sono stato coinvolto a vario titolo a numerosi eventi scientifici come workshop, conferenze e scuole, molti dei quali sono registrati nello spazio degli [[Eventi>>Events.WebHome]] in #apice().
Stefano Mariani 1.1 13 #else
14
Andrea Omicini 2.1 15 = $userFullname's Events =
16
17 In the last years, I was involved in a number of conferences, workshops, and schools, many of which are recorded in the #apice() [[Events>>Events.WebHome]] space.
Stefano Mariani 1.1 18 #end
19
Andrea Omicini 2.1 20 * [[#stringEnIt("All events","tutte gli eventi")>>${userSpace}.EventsPerYear?from=$firstYear&to=$lastYear]] #stringEnIt("ordered by year","ordinati per anno")
Stefano Mariani 1.1 21
Andrea Omicini 2.1 22 ** #stringEnIt("Events in","eventi del") #foreach ($year in $yearRange) [[$year>>${userSpace}.EventsPerYear?year=$year]]#if ($year > $firstYearEv)$listSeparator#end#end
Stefano Mariani 1.1 23
24
Andrea Omicini 2.1 25 == #stringEnIt("Forthcoming Events","Eventi in arrivo") ==
Stefano Mariani 1.1 26
27 #set($hql = "select doc.fullName from XWikiDocument doc, BaseObject obj, DateProperty as prop, LargeStringProperty as prop1, LargeStringProperty as prop2, LargeStringProperty as prop3, LargeStringProperty as prop4, LargeStringProperty as prop5, LargeStringProperty as prop6
28 where doc.fullName=obj.name and
29 obj.className='Events.EventClass' and
30 obj.name <> 'Events.EventClassTemplate' and
31 prop.id.id=obj.id and
32 prop1.id.id=obj.id and
33 prop2.id.id=obj.id and
34 prop3.id.id=obj.id and
35 prop4.id.id=obj.id and
36 prop5.id.id=obj.id and
37 prop6.id.id=obj.id and
38 prop.name='start_date' and
39 prop1.name='general_chair' and
40 prop2.name='program_chair' and
41 prop2.name='program_chair' and
42 prop3.name='organising_chair' and
43 prop4.name='pc_member' and
44 prop5.name='organiser' and
45 prop6.name='lecturer' and
46 ( ( year(prop.value) > year(current_date()) ) or
47 ( year(prop.value) = year(current_date()) and
48 month(prop.value) > month(current_date()) ) or
49 ( year(prop.value) = year(current_date()) and
50 month(prop.value) = month(current_date()) and
51 day(prop.value) > day(current_date()) ) ) and
52 ( prop1.value like '%$userNameFull%' or
53 prop2.value like '%$userNameFull%' or
54 prop3.value like '%$userNameFull%' or
55 prop4.value like '%$userNameFull%' or
56 prop5.value like '%$userNameFull%' or
57 prop6.value like '%$userNameFull%' )
58 order by date(prop.value) desc
59 ")
60 #set($results = $xwiki.search($hql))
61 #foreach ($item in $results)
62 #set($evDoc=$xwiki.getDocument($item))
63 #set($evObj=$evDoc.getObject("Events.EventClass"))
Andrea Omicini 2.1 64 * [[$evDoc.acronym>>$item]] //($evDoc.display('start_date')#if ($evDoc.display('end_date') != '')&mdash;$evDoc.display('end_date')#end)
Stefano Mariani 1.1 65
66 #end
Andrea Omicini 2.1 67 {{/html}}
68 {{/velocity}}

Partita IVA: 01131710376 - Copyright © 2008-2021 APICe@DISI Research Group - PRIVACY