⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 module.php

📁 ATutor是一个学习管理系统(LCMS/LMS), 为教师和学生建立一个网络教学平台。
💻 PHP
字号:
<?php
if (!defined('AT_INCLUDE_PATH')) { exit; }
if (!isset($this) || (isset($this) && (strtolower(get_class($this)) != 'module'))) { exit(__FILE__ . ' is not a Module'); }

define('AT_ADMIN_PRIV_CATEGORIES', $this->getAdminPrivilege());

if (admin_authenticate(AT_ADMIN_PRIV_CATEGORIES, TRUE) || admin_authenticate(AT_ADMIN_PRIV_ADMIN, TRUE)) {
	if (admin_authenticate(AT_ADMIN_PRIV_ADMIN, TRUE)) {
		$this->_pages['admin/courses.php']['children'] = array('admin/course_categories.php');
		$this->_pages['admin/course_categories.php']['parent']    = 'admin/courses.php';
	} else {
		$this->_pages[AT_NAV_ADMIN] = array('admin/course_categories.php');
		$this->_pages['admin/course_categories.php']['parent'] = AT_NAV_ADMIN;
	}

$this->_pages['admin/course_categories.php']['title_var'] = 'cats_categories';
$this->_pages['admin/course_categories.php']['guide']     = 'admin/?p=categories.php';
$this->_pages['admin/course_categories.php']['children']  = array('admin/create_category.php');

	$this->_pages['admin/create_category.php']['title_var'] = 'create_category';
	$this->_pages['admin/create_category.php']['parent']    = 'admin/course_categories.php';

	$this->_pages['admin/edit_category.php']['title_var'] = 'edit_category';
	$this->_pages['admin/edit_category.php']['parent']    = 'admin/course_categories.php';

	$this->_pages['admin/delete_category.php']['title_var'] = 'delete_category';
	$this->_pages['admin/delete_category.php']['parent']    = 'admin/course_categories.php';

}
?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -