<
Depuis la version < 3.1
modifié par superadmin
sur 2019/10/13 21:36
À la version < 2.1 >
modifié par Paul Libbrecht (admin)
sur 2016/07/26 22:01
Commentaire de modification : Install extension [org.xwiki.platform:xwiki-platform-user-directory-ui-8.2]

Résumé

Détails

Icon Propriétés de la Page
Auteur du document
... ... @@ -1,1 +1,1 @@
1 -XWiki.superadmin
1 +XWiki.adminPolx
Contenu
... ... @@ -1,7 +1,6 @@
1 1  {{include reference='XWiki.UserDirectoryMacros'/}}
2 2  
3 3  {{velocity}}
4 -#set ($customize = $request.customize == 'true')
5 -#displayUserDirectory($customize)
6 -#set ($docextras = [])
4 +#displayUserDirectory(true)
5 +#set($docextras=[])
7 7  {{/velocity}}
Icon XWiki.JavaScriptExtension[0]
Mode de mise en cache
... ... @@ -1,0 +1,1 @@
1 +long
Code
... ... @@ -1,0 +1,41 @@
1 +(function(){
2 +
3 + /**
4 + * Init
5 + */
6 + function init() {
7 + var userScope = $('userScopeFilter');
8 + if (userScope === null) {
9 + // Nothing to do
10 + return;
11 + }
12 + userScope.observe('change', onUserScopeChange);
13 + }
14 +
15 + function onUserScopeChange(event) {
16 + var value = $('userScopeFilter').value;
17 + var livetable = window["livetable_userdirectory"];
18 + var url = livetable.getUrl;
19 + if (url.search("userScope=") >= 0) {
20 + // Replace the old value
21 + if (value == 'local') {
22 + url = url.replace("userScope=global", "userScope=local");
23 + } else {
24 + url = url.replace("userScope=local", "userScope=global");
25 + }
26 + } else {
27 + url = url + "&userScope=" + value;
28 + }
29 + livetable.getUrl = url;
30 + // Reload the livetable
31 + livetable.clearCache();
32 + livetable.showRows(1, livetable.limit);
33 + }
34 +
35 + /**
36 + * Call Init
37 + */
38 + (XWiki && XWiki.domIsLoaded && init()) || document.observe("xwiki:dom:loaded", init);
39 +
40 +})();
41 +
Nom
... ... @@ -1,0 +1,1 @@
1 +Dynamic filter for user scope
Parser le contenu
... ... @@ -1,0 +1,1 @@
1 +Non
Utiliser cette extension
... ... @@ -1,0 +1,1 @@
1 +onDemand

Actualités

Annonce

Journal

Branches

Maîtrise
Compas
PioCas
Scouts
LouJa
Farfadet

photos

Groupe

Branches

Portrait

Admin

Pédagogie

Cahier de Chant

















contact

This wiki is licensed under a Creative Commons 2.0 license
XWiki 13.10 - Documentation - Conditions