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

Přehled

Rozpis

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -2,7 +2,13 @@
2 2  #set($url = $xcontext.macro.params.get('url'))
3 3  #set($width = $xcontext.macro.params.get('width'))
4 4  #set($height = $xcontext.macro.params.get('height'))
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 +
5 5  {{html}}
6 -<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
7 7  {{/html}}
8 8  {{/velocity}}