📄 module.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_PRIV_ANNOUNCEMENTS', $this->getPrivilege());
$this->_pages['tools/news/index.php']['title_var'] = 'announcements';
$this->_pages['tools/news/index.php']['guide'] = 'instructor/?p=announcements.php';
$this->_pages['tools/news/index.php']['parent'] = 'tools/index.php';
$this->_pages['tools/news/index.php']['children'] = array('editor/add_news.php');
$this->_pages['editor/add_news.php']['title_var'] = 'add_announcement';
$this->_pages['editor/add_news.php']['parent'] = 'tools/news/index.php';
$this->_pages['editor/edit_news.php']['title_var'] = 'edit_announcement';
$this->_pages['editor/edit_news.php']['parent'] = 'tools/news/index.php';
$this->_pages['editor/delete_news.php']['title_var'] = 'delete_announcement';
$this->_pages['editor/delete_news.php']['parent'] = 'tools/news/index.php';
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -