Z verze
změnil(a) David Brazda
k 01.02.2021 08:25
Na verzi < 6.1 >
změnil(a) David Brazda
k 01.02.2021 08:14
< >
Popis verze: Při změně verze nebyl zadán žádný kometář.

Přehled

Rozpis

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -3,7 +3,12 @@
3 3  #set($width = $xcontext.macro.params.get('width'))
4 4  #set($height = $xcontext.macro.params.get('height'))
5 5  #set($flight = $xcontext.macro.params.get('flight'))
6 +#if ($flight == 'nic')
7 + $xcontext.macro.params.set('flight') = 'neco';
8 + $xcontext.macro.params.flight = 'neco';
9 +#end
10 +
6 6  {{html}}
7 -<iframe src="$!{escapetool.xml($url)}" id="xcvid" width="$!{escapetool.html($width)}" height="$!{escapetool.xml($height)}">$xcontext.macro.content</iframe>
12 +vysledek je $xcontext.macro.params.flight
8 8  {{/html}}
9 9  {{/velocity}}