Changes for page Main.GlobalJS

Last modified by strixadmin on 2025/03/27 08:36

From version 1.1
edited by strixadmin
on 2025/03/27 07:29
Change comment: There is no comment for this version
To version 2.1
edited by strixadmin
on 2025/03/27 07:30
Change comment: There is no comment for this version

Summary

Details

XWiki.JavaScriptExtension[0]
Caching policy
... ... @@ -1,0 +1,1 @@
1 +forbid
Code
... ... @@ -1,0 +1,17 @@
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}}
Name
... ... @@ -1,0 +1,1 @@
1 +Main.GlobalJS
Parse content
... ... @@ -1,0 +1,1 @@
1 +Yes
Use this extension
... ... @@ -1,0 +1,1 @@
1 +always