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

Přehled

Rozpis

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -2,13 +2,7 @@
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 -
11 11  {{html}}
12 -vysledek je $xcontext.macro.params.flight
6 +<iframe src="$!{escapetool.xml($url)}" id="xcvid" width="$!{escapetool.html($width)}" height="$!{escapetool.xml($height)}">$xcontext.macro.content</iframe>
13 13  {{/html}}
14 14  {{/velocity}}