include_once 'ressources/class.templates.inc'; include_once 'ressources/class.ldap.inc'; include_once 'ressources/class.users.menus.inc'; include_once 'ressources/class.harddrive.inc'; include_once 'ressources/charts.php'; $usersmenus = new usersMenus(); if ($usersmenus->AsArticaAdministrator == false) { header('location:users.index.php'); exit; } if ($_GET["main"] == 'graph') { echo graph(); exit; } if ($_GET["main"] == 'config') { echo folders_list(); exit; } if (isset($_GET["SaveFolderList"])) { SaveFolderList(); exit; } if (isset($_GET["AddFolderList"])) { AddFolderList(); exit; } if (isset($_GET["DeleteFolderList"])) { DeleteFolderList(); exit; } if (isset($_GET["follow"])) {
echo "alert('".$tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die(); } if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["install-status"])){popup_install_status();exit;} if(isset($_GET["index"])){index();exit;} if(isset($_GET["settings"])){settings();exit;} if(isset($_GET["REPLICATION"])){saveconfig();exit;} if(isset($_GET["MAIN_PATH"])){saveconfig();exit;} if(isset($_GET["folders"])){folders();exit;} if(isset($_GET["folders-add"])){folders_add();exit;} if(isset($_GET["folders-list"])){folders_list();exit;} if(isset($_GET["folders-delete"])){folders_delete();exit;} if(isset($_GET["tree-path"])){tree_js();exit;} if(isset($_GET["replication"])){replication();exit;} if(isset($_GET["restart"])){restart_js();exit;} if(isset($_GET["restart-popup"])){restart_popup();exit;} if(isset($_GET["restart-perform"])){restart_perform();exit;} if(isset($_GET["restart-list"])){restart_list();exit;} js(); function restart_js(){ $page=CurrentPageName();
<?php include_once 'ressources/class.templates.inc'; include_once 'ressources/class.ldap.inc'; include_once 'ressources/class.users.menus.inc'; include_once 'ressources/class.mysql.inc'; include_once 'ressources/class.samba.aliases.inc'; if (isset($_GET["browse-folder-list"])) { folders_list(); exit; } if (isset($_GET["folder-main-params"])) { folder_params(); exit; } if (isset($_GET["folder-main-access"])) { folder_access(); exit; } if (isset($_POST["share_path"])) { folder_save(); exit; } if (isset($_POST["share_delete"])) { folder_delete(); exit; } if (isset($_POST["browsable"])) { params_save(); exit; }