Code source wiki de DigDash Enterprise [2024R2]

Modifié par Aurelie Bertrand le 2024/11/08 14:06

Masquer les derniers auteurs
Aurelie Bertrand 10.2 1 {{ddchildren}}{{/ddchildren}}
jhurst 1.1 2
Aurelie Bertrand 10.2 3 {{include reference="Main.Search"/}}
jhurst 1.1 4
Aurelie Bertrand 10.2 5 ----
jhurst 1.1 6
Aurelie Bertrand 10.2 7 {{include reference="ddobjects.ddvariables.WebHome"/}}
jhurst 1.1 8
Aurelie Bertrand 10.2 9 {{velocity}}
10 #set($categories = [ $userGuides, $deployment ])
11 #foreach($category in $categories)
12 #foreach($title in $category.keySet())
13 #set($mainDocument = $xwiki.getDocument($title))
14 #set($translatedMain = $mainDocument.getTranslatedDocument())
15 = $translatedMain.getTitle() =
jhurst 1.1 16
Aurelie Bertrand 10.2 17 #foreach($subtitle in $category[$title].keySet())
18 #set($subDocument = $xwiki.getDocument($subtitle))
19 #set($translatedSub = $subDocument.getTranslatedDocument())
jhurst 1.1 20
21 * (((
Aurelie Bertrand 10.2 22 $translatedSub.getTitle()
jhurst 1.1 23
Aurelie Bertrand 10.2 24 #foreach($page in $category[$title][$subtitle])
25 #set($document = $xwiki.getDocument($page))
26 #set($translatedDoc = $document.getTranslatedDocument())
27 * [[$translatedDoc.getTitle()>>doc:$document]]
28 #end
jhurst 1.1 29 )))
Aurelie Bertrand 10.2 30 #end
31 #end
32 #end
jhurst 1.1 33
Aurelie Bertrand 10.2 34 #foreach($title in $customization.keySet())
35 #set($mainDocument = $xwiki.getDocument($title))
36 #set($translatedMain = $mainDocument.getTranslatedDocument())
37 = $translatedMain.getTitle() =
Aurelie Bertrand 8.1 38
Aurelie Bertrand 10.2 39 #foreach($subtitle in $customization[$title].keySet())
40 #set($subDocument = $xwiki.getDocument($subtitle))
41 #set($translatedSub = $subDocument.getTranslatedDocument())
jhurst 1.1 42
Aurelie Bertrand 10.2 43 * [[$translatedSub.getTitle()>>doc:$subDocument]]
44 #end
45 #end
jhurst 1.1 46
Aurelie Bertrand 10.2 47 #foreach($title in $API.keySet())
48 #set($mainDocument = $xwiki.getDocument($title))
49 #set($translatedMain = $mainDocument.getTranslatedDocument())
50 = $translatedMain.getTitle() =
Aurelie Bertrand 8.1 51
Aurelie Bertrand 10.2 52 #foreach($subtitle in $API[$title].keySet())
53 #set($subDocument = $xwiki.getDocument($subtitle))
54 #set($translatedSub = $subDocument.getTranslatedDocument())
jhurst 1.1 55
Aurelie Bertrand 10.2 56 * [[$translatedSub.getTitle()>>doc:$subDocument]]
57 #end
58 #end
jhurst 1.1 59
Aurelie Bertrand 10.2 60 {{/velocity}}
jhurst 1.1 61
Aurelie Bertrand 10.2 62 ----