Z verze
změnil(a) David Brazda
k 15.02.2021 16:43
Na verzi < 56.1 >
změnil(a) David Brazda
k 15.02.2021 16:36
< >
Popis verze: Návrat k verzi 42.13

Přehled

Rozpis

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -3,9 +3,6 @@
3 3  #set($flight = $xcontext.macro.params.get('flight'))
4 4  #set($time = $xcontext.macro.params.get('time'))
5 5  #set($shadow = $xcontext.macro.params.get('shadow'))
6 -#if ($shadow == 0)
7 - #set($shadow = "")
8 -#end
9 9  ##find just the right part from the xcontest
10 10  #set ($regexResult = $regextool.find($url, '^https:\/\/www.xcontest.org\/[\w\/]+:([-\w.]+\/\d\d?\.\d\d?\.\d{4}\/\d\d:\d\d)($|\?|#)'))
11 11  {{html}}
... ... @@ -19,7 +19,7 @@
19 19   #set ($suffix = "?ident=" + $url.substring($regexResult.get(1).start,$regexResult.get(1).end) + "&shadow=" + $shadow + "#" + $time)
20 20   #set ($src = "https://xcvid.com/embed.php" + $suffix)
21 21   <div class="xdocLastModification">Interaktivní 3D pohled.</div>
22 - <iframe src="$src" id="xcvid" class="responsive-embed" allowfullscreen><a href="$src$suffix">XCVID let</a></iframe>
19 + <iframe src="$src" id="xcvid" class="responsive-embed" allowfullscreen><a href="$src">XCVID let</a></iframe>
23 23   <!-- <div class="xdocLastModification"><a href="$url" title="Let na xcontestu">XContest</a></div> -->
24 24  #end
25 25  {{/html}}