diff --git a/report/security/db/access.php b/report/security/db/access.php index 293a66f28be..1fff9bedeef 100644 --- a/report/security/db/access.php +++ b/report/security/db/access.php @@ -1,27 +1,27 @@ . -/////////////////////////////////////////////////////////////////////////// -// // -// NOTICE OF COPYRIGHT // -// // -// Moodle - Modular Object-Oriented Dynamic Learning Environment // -// http://moodle.com // -// // -// Copyright (C) 1999 onwards Martin Dougiamas http://moodle.com // -// // -// This program 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 2 of the License, or // -// (at your option) any later version. // -// // -// This program 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: // -// // -// http://www.gnu.org/copyleft/gpl.html // -// // -/////////////////////////////////////////////////////////////////////////// +/** + * Capabilities + * + * @package report + * @subpackage security + * @copyright 2008 petr Skoda + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ $capabilities = array( diff --git a/report/security/index.php b/report/security/index.php index 51828026dbb..863db1c42d4 100644 --- a/report/security/index.php +++ b/report/security/index.php @@ -1,32 +1,32 @@ . -/////////////////////////////////////////////////////////////////////////// -// // -// NOTICE OF COPYRIGHT // -// // -// Moodle - Modular Object-Oriented Dynamic Learning Environment // -// http://moodle.org // -// // -// Copyright (C) 1999 onwards Martin Dougiamas http://dougiamas.com // -// // -// This program 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 2 of the License, or // -// (at your option) any later version. // -// // -// This program 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: // -// // -// http://www.gnu.org/copyleft/gpl.html // -// // -/////////////////////////////////////////////////////////////////////////// +/** + * Security overview report + * + * @package report + * @subpackage security + * @copyright 2008 petr Skoda + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ define('NO_OUTPUT_BUFFERING', true); -require_once('../../config.php'); -require_once($CFG->dirroot.'/report/security/lib.php'); +require('../../config.php'); +require_once($CFG->dirroot.'/report/security/locallib.php'); require_once($CFG->libdir.'/adminlib.php'); require_login(); diff --git a/report/security/lang/en/report_security.php b/report/security/lang/en/report_security.php index 6c4b66ee3da..84110928ef0 100644 --- a/report/security/lang/en/report_security.php +++ b/report/security/lang/en/report_security.php @@ -1,5 +1,4 @@ . /** - * Strings for component 'report_security', language 'en', branch 'MOODLE_20_STABLE' + * Lang strings * - * @package report_security - * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @package report + * @subpackage security + * @copyright 2008 petr Skoda + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ $string['configuration'] = 'Configuration'; diff --git a/report/security/lib.php b/report/security/locallib.php similarity index 95% rename from report/security/lib.php rename to report/security/locallib.php index d8684c86be6..b2ff5946a09 100644 --- a/report/security/lib.php +++ b/report/security/locallib.php @@ -1,29 +1,29 @@ . -/////////////////////////////////////////////////////////////////////////// -// // -// NOTICE OF COPYRIGHT // -// // -// Moodle - Modular Object-Oriented Dynamic Learning Environment // -// http://moodle.org // -// // -// Copyright (C) 1999 onwards Martin Dougiamas http://dougiamas.com // -// // -// This program 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 2 of the License, or // -// (at your option) any later version. // -// // -// This program 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: // -// // -// http://www.gnu.org/copyleft/gpl.html // -// // -/////////////////////////////////////////////////////////////////////////// +/** + * Lib functions + * + * @package report + * @subpackage security + * @copyright 2008 petr Skoda + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ -require_once("$CFG->libdir/adminlib.php"); +defined('MOODLE_INTERNAL') || die; define('REPORT_SECURITY_OK', 'ok'); diff --git a/report/security/settings.php b/report/security/settings.php index 14da6ddc1ec..140123d6ff4 100644 --- a/report/security/settings.php +++ b/report/security/settings.php @@ -1,4 +1,27 @@ . + +/** + * Settings and links + * + * @package report + * @subpackage security + * @copyright 2008 petr Skoda + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ defined('MOODLE_INTERNAL') || die; diff --git a/report/security/version.php b/report/security/version.php index a2be4bb557a..e224a499fc1 100644 --- a/report/security/version.php +++ b/report/security/version.php @@ -1,27 +1,30 @@ -. -/////////////////////////////////////////////////////////////////////////// -// // -// NOTICE OF COPYRIGHT // -// // -// Moodle - Modular Object-Oriented Dynamic Learning Environment // -// http://moodle.com // -// // -// Copyright (C) 1999 onwards Martin Dougiamas http://moodle.com // -// // -// This program 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 2 of the License, or // -// (at your option) any later version. // -// // -// This program 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: // -// // -// http://www.gnu.org/copyleft/gpl.html // -// // -/////////////////////////////////////////////////////////////////////////// +/** + * Version info + * + * @package report + * @subpackage security + * @copyright 2011 petr Skoda + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ -$plugin->version = 2010090501; -$plugin->requires = 2010090501; +defined('MOODLE_INTERNAL') || die; + +$plugin->version = 2011110200; // The current plugin version (Date: YYYYMMDDXX) +$plugin->requires = 2011102700.01; // Requires this Moodle version +$plugin->component = 'report_security'; // Full name of the plugin (used for diagnostics)