mod.php

来自「很棒的在线教学系统」· PHP 代码 · 共 15 行

PHP
15
字号
<?php // $Id: mod.php,v 1.7.2.3 2008/11/29 14:31:00 skodak Exp $    if (!defined('MOODLE_INTERNAL')) {        die('Direct access to this script is forbidden.');    ///  It must be included from a Moodle page    }    if (has_capability('coursereport/participation:view', $context)) {        echo '<p>';        $participationreport = get_string('participationreport');        echo "<a href=\"{$CFG->wwwroot}/course/report/participation/index.php?id={$course->id}\">";        echo "$participationreport</a>\n";        echo '</p>';    }?>

⌨️ 快捷键说明

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