Von Version < 5.1 >
bearbeitet von XIMA Admin
am 20.05.2019, 01:01
Auf Version < 7.1 >
bearbeitet von XIMA Admin
am 20.05.2019, 01:03
< >
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -1,26 +1,8 @@
1 1  {{include reference="Help.Code.VelocityMacros"/}}
2 2  
3 3  {{velocity output="false"}}
4 -#macro (display4Cards $cards)
5 - <div class="row">
6 - #foreach ($card in $cards)
7 - ## See http://getbootstrap.com/css/#grid-responsive-resets .
8 - #if ($foreach.index > 0 && $foreach.index % 2 == 0)
9 - <div class="clearfix visible-sm-block "></div>
10 - #end
11 - #if ($foreach.index > 0 && $foreach.index % 3 == 0)
12 - <div class="clearfix visible-md-block"></div>
13 - #end
14 - #if ($foreach.index > 0 && $foreach.index % 4 == 0)
15 - <div class="clearfix visible-lg-block"></div>
16 - #end
17 - <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">
18 - #helpExampleCard($card)
19 - </div>
20 - #end
21 - </div>
22 -#end
23 23  
5 +
24 24  #set ($howToCards = [{
25 25   'icon': 'fa fa-support',
26 26   'title': 'Getting Started',
... ... @@ -38,76 +38,6 @@
38 38   'documentation': 'Help.Videos.WebHome'
39 39  }])
40 40  
41 -#if ($xwiki.exists('Help.History.WebHome'))
42 - #set ($historyURL = $xwiki.getURL('Help.History.WebHome', 'view', $NULL, 'History'))
43 -#else
44 - ## We need to generate the page history because the Extension Manager doesn't import it.
45 - #set ($historyURL = $xwiki.getURL('Help.History.WebHome', 'save', $escapetool.url({
46 - 'content': 'Check',
47 - 'comment': 'Initial version',
48 - 'form_token': $services.csrf.token,
49 - 'xredirect': $xwiki.getURL('Help.History.WebHome', 'save', $escapetool.url({
50 - 'title': 'Page History',
51 - 'content': 'Check mate',
52 - 'form_token': $services.csrf.token,
53 - 'xredirect': $xwiki.getURL('Help.History.WebHome', 'save', $escapetool.url({
54 - 'title': 'History',
55 - 'content': 'Check the **history**.',
56 - 'comment': 'Minor change',
57 - 'minorEdit': 1,
58 - 'form_token': $services.csrf.token,
59 - 'xredirect': $xwiki.getURL('Help.History.WebHome', 'save', $escapetool.url({
60 - 'content': "Check the **history** tab.$util.newline${util.newline}Compare the versions.",
61 - 'form_token': $services.csrf.token,
62 - 'xredirect': $xwiki.getURL('Help.History.WebHome', 'view', $NULL, 'History')
63 - }))
64 - }))
65 - }))
66 - })))
67 -#end
68 -
69 -#set ($featureCards = [{
70 - 'icon': 'fa fa-pencil',
71 - 'title': 'Page Editing',
72 - 'description': "Use a powerful <a href=""http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing"" class=""wikiexternallink"">WYSIWYG</a> content editor or <a href=""$xwiki.getURL('XWiki.XWikiSyntax')"">syntax</a> to create rich wiki pages.",
73 - 'documentation': 'http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing',
74 - 'examples': $xwiki.getURL('Sandbox.WebHome', 'edit', 'editor=wysiwyg')
75 -}, {
76 - 'icon': 'fa fa-file-text-o',
77 - 'title': 'Templates',
78 - 'description': 'Templates are predefined pages that are copied when creating a new page.',
79 - 'documentation': 'Help.Templates.WebHome',
80 - 'examples': $xwiki.getURL('Help.Templates.WebHome', 'view', $NULL, 'HExamples')
81 -}, {
82 - 'icon': 'fa fa-file-excel-o',
83 - 'title': 'Macros',
84 - 'description': 'Macros are reusable functionality that can be integrated inside a page.',
85 - 'documentation': 'Help.Macros.WebHome',
86 - 'examples': $xwiki.getURL('Help.Macros.WebHome', 'view', $NULL, 'HExamples')
87 -}, {
88 - 'icon': 'fa fa-files-o',
89 - 'title': 'Applications',
90 - 'description': 'Applications allow to group related structured pages together.',
91 - 'documentation': 'Help.Applications.WebHome',
92 - 'examples': $xwiki.getURL('Help.Applications.WebHome', 'view', $NULL, 'HExamples')
93 -}, {
94 - 'icon': 'fa fa-sitemap',
95 - 'title': 'Content Organization',
96 - 'description': 'Organize your content in hierarchical pages, grouped in several (sub)wikis.',
97 - 'documentation': 'http://platform.xwiki.org/xwiki/bin/view/Features/ContentOrganization/',
98 - 'examples': $xwiki.getURL('Main.AllDocs', 'view', 'view=tree')
99 -}, {
100 - 'icon': 'fa fa-history',
101 - 'title': 'Version Control',
102 - 'description': 'View previous versions of a page, compare different versions or rollback to any past version.',
103 - 'documentation': 'http://platform.xwiki.org/xwiki/bin/view/Features/VersionControl',
104 - 'examples': $historyURL
105 -}, {
106 - 'icon': 'fa fa-download',
107 - 'title': 'Import / Export',
108 - 'description': 'Import content from various sources and export it in an open format (XML, HTML, PDF, ODT).',
109 - 'documentation': 'http://platform.xwiki.org/xwiki/bin/view/Features/Imports'
110 -}])
111 111  {{/velocity}}
112 112  
113 113  {{velocity}}
Copyright 2000-2024