Changes for page Main.GlobalJS
Last modified by strixadmin on 2025/03/27 08:36
From version 3.1
edited by strixadmin
on 2025/03/27 07:31
on 2025/03/27 07:31
Change comment:
There is no comment for this version
To version 2.1
edited by strixadmin
on 2025/03/27 07:30
on 2025/03/27 07:30
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -1,17 +1,17 @@ 1 - <!-- Yandex.Metrika counter -->2 - <script type="text/javascript" >3 - (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};4 - m [i].l=1*newDate();5 - for(varj = 0; j<ocument.scripts.length;j++) {if (document.scripts[j].src === r) { return; }}6 - k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})7 - (window,document,"script","https://mc.yandex.ru/metrika/tag.js","ym");8 - 9 - ym (100508154,"init", {10 - c lickmap:true,11 - t rackLinks:true,12 - ccurateTrackBounce:true,13 - webvisor:true14 - });15 - </script>16 - <noscript><div><img src="https://mc.yandex.ru/watch/100508154" style="position:absolute; left:-9999px;" alt="" /></div></noscript>17 - <!--/Yandex.Metrika counter -->1 +{{velocity}} 2 +#panelhiddenheader($services.localization.render('panels.search.title')) 3 +{{html clean="false"}} 4 + <form action="$xwiki.getURL('Main.Search')" class='xformInline'> 5 + <div class="globalsearch input-group"> 6 + <label for="globalsearchinput" class="hidden">$services.localization.render('panels.search.query')</label> 7 + <input id="globalsearchinput" class="globalsearchinput withTip useTitleAsTip" type="text" name="text" title="$services.localization.render('panels.search.inputText')" size="15"/> 8 + <span class="input-group-btn buttonwrapper"> 9 + <button type="submit" class="btn btn-primary"> 10 + $services.icon.renderHTML('search')<span class="hidden">$services.localization.render('panels.search.submit')</span> 11 + </button> 12 + </span> 13 + </div> 14 + </form> 15 +{{/html}} 16 +#panelfooter() 17 +{{/velocity}}