mod.php
来自「很棒的在线教学系统」· PHP 代码 · 共 22 行
PHP
22 行
<?php // $Id: mod.php,v 1.7.4.3 2008/11/29 16:16:21 skodak Exp $ if (!defined('MOODLE_INTERNAL')) { die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page } require_once($CFG->dirroot.'/course/lib.php'); require_once($CFG->dirroot.'/course/report/log/lib.php'); if (has_capability('coursereport/log:view', $context)) { print_heading(get_string('chooselogs') .':'); print_log_selector_form($course); } if (has_capability('coursereport/log:viewlive', $context)) { print_heading(get_string('chooselivelogs') .':'); echo '<p>'; link_to_popup_window('/course/report/log/live.php?id='. $course->id,'livelog', get_string('livelogs'), 500, 800); echo '</p>'; }?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?