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

Přehled

Rozpis

Na stránce změněno:
Obsah
... ... @@ -1,4 +1,8 @@
1 1  Macro pro xcvid
2 2  
3 +{{xcvid url="sdsfsdfdsf"/}}
3 3  
4 -
5 +
6 +
7 +
8 +
XWiki.WikiMacroClass[0]
Macro code
... ... @@ -3,12 +3,7 @@
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 -
11 11  {{html}}
12 -vysledek je $xcontext.macro.params.flight
7 +<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}}