module.php

来自「ATutor是一个学习管理系统(LCMS/LMS), 为教师和学生建立一个网络教」· PHP 代码 · 共 14 行

PHP
14
字号
<?php
if (!defined('AT_INCLUDE_PATH')) { exit; }
if (!isset($this) || (isset($this) && (strtolower(get_class($this)) != 'module'))) { exit(__FILE__ . ' is not a Module'); }

$this->_pages['users/profile_picture.php']['title_var'] = 'picture';
$this->_pages['users/profile_picture.php']['parent']   = 'users/profile.php';

$this->_pages['users/profile.php']['children']  = array('users/profile_picture.php');

if (admin_authenticate(AT_ADMIN_PRIV_USERS, TRUE)) {
	$this->_pages['admin/profile_picture.php']['title_var'] = 'picture';
	$this->_pages['admin/profile_picture.php']['parent']   = 'admin/users.php';
}
?>

⌨️ 快捷键说明

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