} elseif ($action == 'exportlabelresources') { if ($_SESSION['USER_RIGHT_MANAGE_TEMPLATE'] == 1) { $_SESSION['FileManagerContext'] = "edit:label:{$lid}"; include 'export_resources_zip.php'; } else { include 'access_denied.php'; } } elseif ($action == 'checkintegrity') { if ($_SESSION['USER_RIGHT_CONFIGURATOR'] == 1) { include 'integritycheck.php'; } else { include 'access_denied.php'; } } elseif ($action == "globalsettings") { if ($_SESSION['USER_RIGHT_CONFIGURATOR'] == 1) { globalsettingsdisplay(); } else { include "access_denied.php"; } } elseif ($action == "globalsettingssave") { if ($_SESSION['USER_RIGHT_CONFIGURATOR'] == 1) { globalsettingssave(); } else { include "access_denied.php"; } } elseif ($action == 'labels' || $action == 'newlabelset' || $action == 'insertlabelset' || $action == 'deletelabelset' || $action == 'editlabelset' || $action == 'modlabelsetanswers' || $action == 'updateset' || $action == 'importlabels' || $action == 'importlabelresources') { if ($_SESSION['USER_RIGHT_MANAGE_LABEL'] == 1) { $_SESSION['FileManagerContext'] = "edit:label:{$lid}"; include 'labels.php'; } else { include 'access_denied.php';
if ($_SESSION['USER_RIGHT_MANAGE_LABEL']==1) {include('dumplabel.php');} else { include('access_denied.php');} } elseif ($action == 'exportlabelresources') { if ($_SESSION['USER_RIGHT_MANAGE_TEMPLATE']==1) {$_SESSION['FileManagerContext']="edit:label:$lid"; include('export_resources_zip.php');} else { include('access_denied.php');} } elseif ($action == 'checkintegrity') { if ($_SESSION['USER_RIGHT_CONFIGURATOR']==1) {include('integritycheck.php');} else { include('access_denied.php');} } elseif ($action == "globalsettings") { if ($_SESSION['USER_RIGHT_CONFIGURATOR']==1) {globalsettingsdisplay();} else { include("access_denied.php");} } elseif ($action == "globalsettingssave") { if ($_SESSION['USER_RIGHT_CONFIGURATOR']==1) {globalsettingssave();} else { include("access_denied.php");} } elseif ($action=='labels' || $action=='newlabelset' || $action=='insertlabelset' || $action=='deletelabelset' || $action=='editlabelset' || $action=='modlabelsetanswers' || $action=='updateset' || $action=='importlabels' ||$action == 'importlabelresources') { if ($_SESSION['USER_RIGHT_MANAGE_LABEL']==1) {$_SESSION['FileManagerContext']="edit:label:$lid"; include('labels.php');} else { include('access_denied.php');} } elseif ($action=='templates' || $action=='templatecopy' || $action=='templatesavechanges' ||