moodle/admin/tool/capability/settings.php
Petr Skoda 4211dfa4b4 MDL-29029 move capability overview to tools
AMOS BEGIN
 MOV [capabilitylabel,report_capability],[capabilitylabel,tool_capability]
 MOV [capabilityreport,report_capability],[capabilityreport,tool_capability]
 MOV [forroles,report_capability],[forroles,tool_capability]
 MOV [getreport,report_capability],[getreport,tool_capability]
 MOV [changeoverrides,report_capability],[changeoverrides,tool_capability]
 MOV [changeroles,report_capability],[changeroles,tool_capability]
 MOV [intro,report_capability],[intro,tool_capability]
 MOV [pluginname,report_capability],[pluginname,tool_capability]
 MOV [reportforcapability,report_capability],[reportforcapability,tool_capability]
 MOV [reportsettings,report_capability],[reportsettings,tool_capability]
 MOV [roleslabel,report_capability],[roleslabel,tool_capability]
AMOS END
2011-09-17 09:32:39 +02:00

29 lines
1.1 KiB
PHP

<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Capability overview settings
*
* @package tool
* @subpackage capability
* @copyright 2008 Tim Hunt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die;
$ADMIN->add('roles', new admin_externalpage('toolcapability', get_string('pluginname', 'tool_capability'), "$CFG->wwwroot/$CFG->admin/tool/capability/index.php",'moodle/role:manage'));