📄 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_FILE_STORAGE', $this->getPrivilege() );
// define('AT_ADMIN_PRIV_FILE_STORAGE', $this->getAdminPrivilege() );
// if this module is to be made available to students on the Home or Main Navigation
$_group_tool = $_student_tool = 'file_storage/index.php';
//student pages
$this->_pages['file_storage/index.php']['title_var'] = 'file_storage';
$this->_pages['file_storage/index.php']['img'] = 'images/home-file_storage.gif';
$this->_pages['file_storage/index.php']['guide'] = 'general/?p=file_storage.php';
$this->_pages['file_storage/revisions.php']['title_var'] = 'revisions';
$this->_pages['file_storage/revisions.php']['parent'] = 'file_storage/index.php';
$this->_pages['file_storage/revisions.php']['children'] = array(); // empty array creates a "back to" link to index.php
$this->_pages['file_storage/comments.php']['title_var'] = 'comments';
$this->_pages['file_storage/comments.php']['parent'] = 'file_storage/index.php';
$this->_pages['file_storage/comments.php']['children'] = array(); // empty array creates a "back to" link to index.php
$this->_pages['file_storage/edit.php']['title_var'] = 'edit';
$this->_pages['file_storage/edit.php']['parent'] = 'file_storage/index.php';
$this->_pages['file_storage/edit.php']['children'] = array(); // empty array creates a "back to" link to index.php
$this->_pages['file_storage/edit_folder.php']['title_var'] = 'edit';
$this->_pages['file_storage/edit_folder.php']['parent'] = 'file_storage/index.php';
$this->_pages['file_storage/edit_folder.php']['children'] = array(); // empty array creates a "back to" link to index.php
$this->_pages['file_storage/move.php']['title_var'] = 'move';
$this->_pages['file_storage/move.php']['parent'] = 'file_storage/index.php';
$this->_pages['file_storage/move.php']['children'] = array(); // empty array creates a "back to" link to index.php
$this->_pages['file_storage/assignment.php']['title_var'] = 'hand_in';
$this->_pages['file_storage/assignment.php']['parent'] = 'file_storage/index.php';
$this->_pages['file_storage/assignment.php']['children'] = array(); // empty array creates a "back to" link to index.php
$this->_pages['file_storage/new.php']['title_var'] = 'new_file';
$this->_pages['file_storage/new.php']['parent'] = 'file_storage/index.php';
$this->_pages['file_storage/new.php']['children'] = array(); // empty array creates a "back to" link to index.php
$this->_pages['file_storage/delete_revision.php']['title_var'] = 'delete';
$this->_pages['file_storage/delete_revision.php']['parent'] = 'file_storage/index.php';
$this->_pages['file_storage/delete_comment.php']['title_var'] = 'delete';
//$this->_pages['file_storage/delete_comment.php']['parent'] = 'file_storage/comments.php';
function file_storage_get_group_url($group_id) {
return 'file_storage/index.php?ot='.WORKSPACE_GROUP.SEP.'oid='.$group_id;
}
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -