section[data-sublink="'+n.getData("sublink")+'"]');null!=u&&u.addClass("active")}if(!n.getData("sublink"))return!1;var l=pageManager.vars[0]!=n.getData("sublink");pageManager.vars[0]=n.getData("sublink"),l&&pageManager.updateURL()}function navMenu(e,a){var n=document.querySelector('#WRAPPER > #MENU-SIDE > span[data-link="'+pageManager.page+'"]'),t=null;if(t=e instanceof Element?e:null,t="string"==typeof e?document.querySelector('#WRAPPER > #MENU-SIDE > span[data-link="'+e+'"]'):t,t=t||document.querySelector('#WRAPPER > #MENU-SIDE > span[data-link="'+pageManager.pagelist[0]+'"]'),null==t)return!1;a=a===!0?!0:!1,n&&n.remClass("active"),t&&t.addClass("active");if(a||n==t||(pageManager.vars=[]),t.getData("link")){DOM.HEADER.addClass("loading");var r=function(){var e=pageManager.vars.length>0&&null!=document.querySelector('#CONTAINER > .sub-menu-side > [data-sublink="'+pageManager.vars[0]+'"]');navSubMenu(e?pageManager.vars[0]:null),document.querySelector("#CONTAINER > .sub-menu-side").addEventListener("click",function(e){for(var a=e.target;a!=document.body&&!a.getData("sublink");)a=a.parentNode;a.getData("sublink")&&navSubMenu(a)},!1),DOM.HEADER.remClass("loading")};pageManager.page!=t.getData("link")&&pageManager.setPage(t.getData("link")),pageManager.activeXHR?pageManager.activeXHR.addEventListener("loadend",r,!1):r.call()}}DOM={WRAPPER:$("WRAPPER"),HEADER:$("HEADER"),MENUSIDE:$("MENU-SIDE"),CONTAINER:$("CONTAINER")};var pageManager=new pageManagerClass,api=new APIClass("/api/");pageManager.setPage(null,"/view",DOM.CONTAINER,["history","profile","machines","users","groups","options","settings"]),navMenu(pageManager.page),pageManager.refresher=function(){navSubMenu(this.vars[0]),document.querySelector("#CONTAINER > .sub-menu-side").addEventListener("click",function(e){for(var a=e.target;a!=document.body&&!a.getData("sublink");)a=a.parentNode;a.getData("sublink")&&navSubMenu(a)},!1)},DOM.MENUSIDE.addEventListener("click",function(e){for(var a=e.target;a!=document.body&&!a.getData("link");)a=a.parentNode;a.getData("link")&&navMenu(a.getData("link"))},!1);
\ No newline at end of file
diff --git a/public_html/src/static/container/extension.svg b/public_html/src/static/container/option.svg
similarity index 100%
rename from public_html/src/static/container/extension.svg
rename to public_html/src/static/container/option.svg
diff --git a/public_html/src/static/menu-side/extensions.svg b/public_html/src/static/menu-side/options.svg
similarity index 100%
rename from public_html/src/static/menu-side/extensions.svg
rename to public_html/src/static/menu-side/options.svg
diff --git a/public_html/view/js/min/extensions.js b/public_html/view/js/min/options.js
similarity index 100%
rename from public_html/view/js/min/extensions.js
rename to public_html/view/js/min/options.js
diff --git a/public_html/view/js/extensions.js b/public_html/view/js/options.js
similarity index 100%
rename from public_html/view/js/extensions.js
rename to public_html/view/js/options.js
diff --git a/public_html/view/extensions.php b/public_html/view/options.php
similarity index 95%
rename from public_html/view/extensions.php
rename to public_html/view/options.php
index b8db162..d2f155f 100755
--- a/public_html/view/extensions.php
+++ b/public_html/view/options.php
@@ -50,9 +50,6 @@
debug();
echo "";
- $extensionView = new Viewer('extension.view', []);
- $extensionView->view();
-
echo '';
@@ -66,7 +63,7 @@
/* (1) Modules de l'entrepot
---------------------------------------------------------*/
- echo "Modules entrepot:\n";
+ echo "Options entrepot:\n";
/* (1) Requete de récupération */
$req_mods = new Repo('warehouse/getModules', [$_SESSION['WAREHOUSE']['id']]);
@@ -85,7 +82,7 @@
/* (2) Modules par groupes de machines
---------------------------------------------------------*/
- echo "Modules par groupes de machines: \n";
+ echo "Options par groupes de machines: \n";
/* (1) Requête de récupération des groupes */
$req_mc = new Repo('machine_cluster/getAll', [$_SESSION['WAREHOUSE']['id']]);
diff --git a/public_html/view/view.php b/public_html/view/view.php
index e0c001f..219e523 100755
--- a/public_html/view/view.php
+++ b/public_html/view/view.php
@@ -55,7 +55,7 @@
= file_get_contents(__PUBLIC__.'/src/static/menu-side/device.svg'); ?>
= file_get_contents(__PUBLIC__.'/src/static/menu-side/users.svg'); ?>
= file_get_contents(__PUBLIC__.'/src/static/menu-side/groups.svg'); ?>
- = file_get_contents(__PUBLIC__.'/src/static/menu-side/extensions.svg'); ?>
+ = file_get_contents(__PUBLIC__.'/src/static/menu-side/options.svg'); ?>
= file_get_contents(__PUBLIC__.'/src/static/menu-side/settings.svg'); ?>