<?php /** * AVE.cms * * @package AVE.cms * @subpackage admin * @filesource */ if (!defined('ACP')) { header('Location:index.php'); exit; } require BASE_DIR . '/class/class.rubs.php'; $AVE_Rubric = new AVE_Rubric(); $AVE_Template->config_load(BASE_DIR . '/admin/lang/' . $_SESSION['admin_language'] . '/rubs.txt', 'rubs'); switch ($_REQUEST['action']) { case '': if (check_permission_acp('rubrics')) { switch ($_REQUEST['sub']) { case 'quicksave': $AVE_Rubric->quickSave(); break; } $AVE_Rubric->rubricList(); $AVE_Template->assign('templates', get_all_templates()); } $AVE_Template->assign('content', $AVE_Template->fetch('rubs/rubs.tpl')); break; case 'new': if (check_permission_acp('rubric_new')) {
* AVE.cms * * @package AVE.cms * @subpackage admin * @filesource */ if (!defined('ACP')) { header('Location:index.php'); exit; } require BASE_DIR . '/class/class.docs.php'; require BASE_DIR . '/class/class.rubs.php'; require BASE_DIR . '/class/class.navigation.php'; require BASE_DIR . '/class/class.request.php'; $AVE_Document = new AVE_Document(); $AVE_Rubric = new AVE_Rubric(); $AVE_Navigation = new AVE_Navigation(); $AVE_Request = new AVE_Request(); $AVE_Document->documentTemplateTimeAssign(); $AVE_Rubric->rubricPermissionFetch(); $AVE_Template->config_load(BASE_DIR . '/admin/lang/' . $_SESSION['admin_language'] . '/docs.txt', 'docs'); $AVE_Template->assign("navi", $AVE_Template->fetch("navi/navi.tpl")); switch ($_REQUEST['action']) { case '': if (check_permission_acp('documents')) { switch ($_REQUEST['sub']) { case 'quicksave': $_SESSION['use_editor'] = get_settings('use_editor'); $AVE_Document->quickSave(); break; }
* AVE.cms * * @package AVE.cms * @subpackage admin * @filesource */ if (!defined("ACP")) { header("Location:index.php"); exit; } require BASE_DIR . "/class/class.request.php"; require BASE_DIR . "/class/class.docs.php"; require BASE_DIR . "/class/class.rubs.php"; $AVE_Request = new AVE_Request(); $AVE_Document = new AVE_Document(); $AVE_Rubric = new AVE_Rubric(); $AVE_Rubric->rubricPermissionFetch(); $AVE_Template->config_load(BASE_DIR . "/admin/lang/" . $_SESSION['admin_language'] . "/request.txt", 'request'); switch ($_REQUEST['action']) { case '': if (check_permission_acp('request')) { $AVE_Request->requestListShow(); } break; case 'edit': if (check_permission_acp('request')) { $AVE_Rubric->rubricTemplateShow(0, 1); $AVE_Request->requestEdit((int) $_REQUEST['Id']); } break; case 'copy':