MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup

This commit is contained in:
Petr Skoda 2009-11-01 10:42:45 +00:00
parent 11b749ca90
commit 244bb39668
42 changed files with 42 additions and 86 deletions

View file

@ -1,4 +1,4 @@
<?php // $Id$ <?php
// index.php - scheduled backup logs // index.php - scheduled backup logs
require_once('../../../config.php'); require_once('../../../config.php');
@ -131,4 +131,3 @@
echo $OUTPUT->footer(); echo $OUTPUT->footer();
?>

View file

@ -1,3 +1,3 @@
<?php // $Id$ <?php
$ADMIN->add('reports', new admin_externalpage('reportbackups', get_string('backups', 'admin'), "$CFG->wwwroot/$CFG->admin/report/backups/index.php",'moodle/site:backup')); $ADMIN->add('reports', new admin_externalpage('reportbackups', get_string('backups', 'admin'), "$CFG->wwwroot/$CFG->admin/report/backups/index.php",'moodle/site:backup'));
?>

View file

@ -1,4 +1,4 @@
<?php // $Id$ <?php
/** /**
* For a given capability, show what permission it has for every role, and * For a given capability, show what permission it has for every role, and
* everywhere that it is overridden. * everywhere that it is overridden.
@ -223,5 +223,3 @@ function print_report_tree($contextid, $contexts, $allroles) {
echo '</ul>'; echo '</ul>';
} }
} }
?>

View file

@ -1,3 +1,3 @@
<?php // $Id$ <?php
$ADMIN->add('roles', new admin_externalpage('reportcapability', get_string('capability', 'report_capability'), "$CFG->wwwroot/$CFG->admin/report/capability/index.php",'moodle/role:manage')); $ADMIN->add('roles', new admin_externalpage('reportcapability', get_string('capability', 'report_capability'), "$CFG->wwwroot/$CFG->admin/report/capability/index.php",'moodle/role:manage'));
?>

View file

@ -1,4 +1,4 @@
<?php //$Id$ <?php
require_once(dirname(__FILE__).'/../../../config.php'); require_once(dirname(__FILE__).'/../../../config.php');
require_once($CFG->libdir.'/adminlib.php'); require_once($CFG->libdir.'/adminlib.php');

View file

@ -1,3 +1,3 @@
<?php //$Id$ <?php
$ADMIN->add('reports', new admin_externalpage('reportconfiglog', get_string('configlog', 'report_configlog'), "$CFG->wwwroot/$CFG->admin/report/configlog/index.php")); $ADMIN->add('reports', new admin_externalpage('reportconfiglog', get_string('configlog', 'report_configlog'), "$CFG->wwwroot/$CFG->admin/report/configlog/index.php"));

View file

@ -1,4 +1,4 @@
<?php // $Id$ <?php
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// // // //
@ -38,5 +38,3 @@ $report_courseoverview_capabilities = array(
'clonepermissionsfrom' => 'moodle/site:viewreports', 'clonepermissionsfrom' => 'moodle/site:viewreports',
) )
); );
?>

View file

@ -126,5 +126,3 @@
} }
} }
echo $OUTPUT->footer(); echo $OUTPUT->footer();
?>

View file

@ -55,5 +55,3 @@
$graph->y_format['bar1'] = array('colour' => 'blue','bar' => 'fill','legend' => $param->{$param->graphline}); $graph->y_format['bar1'] = array('colour' => 'blue','bar' => 'fill','legend' => $param->{$param->graphline});
$graph->draw_stack(); $graph->draw_stack();
?>

View file

@ -1,3 +1,3 @@
<?php // $Id$ <?php
$ADMIN->add('reports', new admin_externalpage('reportcourseoverview', get_string('courseoverview', 'admin'), "$CFG->wwwroot/$CFG->admin/report/courseoverview/index.php",'report/courseoverview:view')); $ADMIN->add('reports', new admin_externalpage('reportcourseoverview', get_string('courseoverview', 'admin'), "$CFG->wwwroot/$CFG->admin/report/courseoverview/index.php",'report/courseoverview:view'));
?>

View file

@ -1,4 +1,4 @@
<?PHP // $Id$ <?PHP
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// // // //
@ -25,5 +25,3 @@
$plugin->version = 2007101503; $plugin->version = 2007101503;
$plugin->requires = 2007101532; $plugin->requires = 2007101532;
?>

View file

@ -1,5 +1,5 @@
<?php // $Id$ <?php
// just a link to course report // just a link to course report
$ADMIN->add('reports', new admin_externalpage('reportlog', get_string('log', 'admin'), "$CFG->wwwroot/course/report/log/index.php?id=".SITEID, 'coursereport/log:view')); $ADMIN->add('reports', new admin_externalpage('reportlog', get_string('log', 'admin'), "$CFG->wwwroot/course/report/log/index.php?id=".SITEID, 'coursereport/log:view'));
$ADMIN->add('reports', new admin_externalpage('reportloglive', get_string('loglive', 'coursereport_log'), "$CFG->wwwroot/course/report/log/indexlive.php?id=".SITEID, 'coursereport/log:viewlive')); $ADMIN->add('reports', new admin_externalpage('reportloglive', get_string('loglive', 'coursereport_log'), "$CFG->wwwroot/course/report/log/indexlive.php?id=".SITEID, 'coursereport/log:viewlive'));
?>

View file

@ -1,4 +1,4 @@
<?php // $Id$ <?php
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// // // //
@ -35,5 +35,3 @@ $report_questioninstances_capabilities = array(
'clonepermissionsfrom' => 'moodle/site:config', 'clonepermissionsfrom' => 'moodle/site:config',
) )
); );
?>

View file

@ -1,4 +1,4 @@
<?php // $Id$ <?php
/** /**
* For a given question type, list the number of * For a given question type, list the number of
* *
@ -129,4 +129,3 @@ if ($requestedqtype) {
// Footer. // Footer.
echo $OUTPUT->footer(); echo $OUTPUT->footer();
?>

View file

@ -1,3 +1,3 @@
<?php // $Id$ <?php
$ADMIN->add('reports', new admin_externalpage('reportquestioninstances', get_string('questioninstances', 'report_questioninstances'), "$CFG->wwwroot/$CFG->admin/report/questioninstances/index.php", 'report/questioninstances:view')); $ADMIN->add('reports', new admin_externalpage('reportquestioninstances', get_string('questioninstances', 'report_questioninstances'), "$CFG->wwwroot/$CFG->admin/report/questioninstances/index.php", 'report/questioninstances:view'));
?>

View file

@ -1,4 +1,4 @@
<?PHP // $Id$ <?PHP
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// // // //
@ -25,5 +25,3 @@
$plugin->version = 2007101502; $plugin->version = 2007101502;
$plugin->requires = 2007101532; $plugin->requires = 2007101532;
?>

View file

@ -1,4 +1,4 @@
<?php // $Id$ <?php
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// // // //

View file

@ -1,4 +1,4 @@
<?php //$Id$ <?php
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// // // //

View file

@ -1,4 +1,4 @@
<?php //$Id$ <?php
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// // // //

View file

@ -1,3 +1,3 @@
<?php //$Id$ <?php
$ADMIN->add('reports', new admin_externalpage('reportsecurity', get_string('reportsecurity', 'report_security'), "$CFG->wwwroot/$CFG->admin/report/security/index.php",'report/security:view')); $ADMIN->add('reports', new admin_externalpage('reportsecurity', get_string('reportsecurity', 'report_security'), "$CFG->wwwroot/$CFG->admin/report/security/index.php",'report/security:view'));

View file

@ -1,4 +1,4 @@
<?PHP // $Id$ <?PHP
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// // // //
@ -25,5 +25,3 @@
$plugin->version = 2008122900; $plugin->version = 2008122900;
$plugin->requires = 2008121701; $plugin->requires = 2008121701;
?>

View file

@ -290,5 +290,3 @@ function print_spamcleaner_javascript() {
} }
echo $OUTPUT->footer(); echo $OUTPUT->footer();
?>

View file

@ -1,4 +1,4 @@
<?php // $Id$ <?php
// just a link to course report // just a link to course report
$ADMIN->add('reports', new admin_externalpage('reportstats', get_string('stats', 'admin'), "$CFG->wwwroot/course/report/stats/index.php", 'coursereport/stats:view')); $ADMIN->add('reports', new admin_externalpage('reportstats', get_string('stats', 'admin'), "$CFG->wwwroot/course/report/stats/index.php", 'coursereport/stats:view'));
?>

View file

@ -1,4 +1,4 @@
<?php // $Id$ <?php
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// // // //
@ -36,5 +36,3 @@ $report_unittest_capabilities = array(
'clonepermissionsfrom' => 'moodle/site:config', 'clonepermissionsfrom' => 'moodle/site:config',
) )
); );
?>

View file

@ -1,4 +1,4 @@
<?php // $Id$ <?php
/** /**
* Run database functional tests. * Run database functional tests.
* @package SimpleTestEx * @package SimpleTestEx
@ -148,5 +148,3 @@ if (!data_submitted() || !$codecoverage) {
// Footer. // Footer.
echo $OUTPUT->footer(); echo $OUTPUT->footer();
?>

View file

@ -227,4 +227,3 @@ class ExHtmlReporter extends HtmlReporter {
return get_string($identifier, 'simpletest', $a); return get_string($identifier, 'simpletest', $a);
} }
} }
?>

View file

@ -213,4 +213,3 @@ class BadAutoGroupTest extends BadTest { }
class AutoGroupTestNotice extends Notice { } class AutoGroupTestNotice extends Notice { }
class FindFileNotice extends Notice { } class FindFileNotice extends Notice { }
?>

View file

@ -149,5 +149,3 @@ if (is_null($path) || !$codecoverage) {
// Footer. // Footer.
echo $OUTPUT->footer(); echo $OUTPUT->footer();
?>

View file

@ -1,6 +1,6 @@
<?php //$Id$ <?php
if ($hassiteconfig) { if ($hassiteconfig) {
$ADMIN->add('development', new admin_externalpage('reportsimpletest', get_string('simpletest', 'admin'), "$CFG->wwwroot/$CFG->admin/report/unittest/index.php",'report/unittest:view')); $ADMIN->add('development', new admin_externalpage('reportsimpletest', get_string('simpletest', 'admin'), "$CFG->wwwroot/$CFG->admin/report/unittest/index.php",'report/unittest:view'));
$ADMIN->add('development', new admin_externalpage('reportdbtest', get_string('dbtest', 'admin'), "$CFG->wwwroot/$CFG->admin/report/unittest/dbtest.php",'report/unittest:view')); $ADMIN->add('development', new admin_externalpage('reportdbtest', get_string('dbtest', 'admin'), "$CFG->wwwroot/$CFG->admin/report/unittest/dbtest.php",'report/unittest:view'));
} }
?>

View file

@ -1,4 +1,4 @@
<?PHP // $Id$ <?PHP
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// // // //
@ -26,4 +26,3 @@
$plugin->version = 2008112601; $plugin->version = 2008112601;
$plugin->requires = 2008112600; $plugin->requires = 2008112600;
?>

View file

@ -1,4 +1,4 @@
<?php //$Id$ <?php
require_once($CFG->dirroot.'/user/filters/lib.php'); require_once($CFG->dirroot.'/user/filters/lib.php');
@ -48,6 +48,3 @@ function get_selection_data($ufiltering) {
return $userlist; return $userlist;
} }
?>

View file

@ -1,4 +1,4 @@
<?php //$Id$ <?php
require_once('../../config.php'); require_once('../../config.php');
require_once($CFG->libdir.'/adminlib.php'); require_once($CFG->libdir.'/adminlib.php');
@ -82,5 +82,3 @@ $user_bulk_form->display();
$action_form->display(); $action_form->display();
echo $OUTPUT->footer(); echo $OUTPUT->footer();
?>

View file

@ -1,4 +1,4 @@
<?php //$Id$ <?php
/** /**
* script for bulk user delete operations * script for bulk user delete operations
*/ */
@ -50,4 +50,3 @@ if ($confirm and confirm_sesskey()) {
} }
echo $OUTPUT->footer(); echo $OUTPUT->footer();
?>

View file

@ -1,4 +1,4 @@
<?php //$Id$ <?php
/** /**
* script for bulk user delete operations * script for bulk user delete operations
*/ */
@ -50,4 +50,3 @@ if ($confirm and confirm_sesskey()) {
} }
echo $OUTPUT->footer(); echo $OUTPUT->footer();
?>

View file

@ -1,4 +1,4 @@
<?php // $Id$ <?php
require_once('../../config.php'); require_once('../../config.php');
require_once($CFG->libdir.'/adminlib.php'); require_once($CFG->libdir.'/adminlib.php');
@ -79,4 +79,3 @@ echo $OUTPUT->table($table);
echo $OUTPUT->continue_button($return); echo $OUTPUT->continue_button($return);
echo $OUTPUT->footer(); echo $OUTPUT->footer();
?>

View file

@ -1,4 +1,4 @@
<?php //$Id$ <?php
/** /**
* script for downloading of user lists * script for downloading of user lists
*/ */
@ -179,5 +179,3 @@ function user_download_csv($fields) {
} }
die; die;
} }
?>

View file

@ -1,4 +1,4 @@
<?php // $Id$ <?php
/** /**
* script for bulk user multy enrol operations * script for bulk user multy enrol operations
*/ */

View file

@ -1,4 +1,4 @@
<?php //$Id$ <?php
require_once($CFG->libdir.'/formslib.php'); require_once($CFG->libdir.'/formslib.php');
require_once($CFG->libdir.'/datalib.php'); require_once($CFG->libdir.'/datalib.php');
@ -108,4 +108,3 @@ class user_bulk_form extends moodleform {
$renderer->setGroupElementTemplate($template, 'usersgrp'); $renderer->setGroupElementTemplate($template, 'usersgrp');
} }
} }
?>

View file

@ -1,4 +1,4 @@
<?php //$Id$ <?php
require_once('../../config.php'); require_once('../../config.php');
require_once($CFG->libdir.'/adminlib.php'); require_once($CFG->libdir.'/adminlib.php');
require_once($CFG->dirroot.'/message/lib.php'); require_once($CFG->dirroot.'/message/lib.php');
@ -69,4 +69,3 @@ if ($msgform->is_cancelled()) {
admin_externalpage_print_header(); admin_externalpage_print_header();
$msgform->display(); $msgform->display();
echo $OUTPUT->footer(); echo $OUTPUT->footer();
?>

View file

@ -1,4 +1,4 @@
<?php //$Id$ <?php
require_once($CFG->libdir.'/formslib.php'); require_once($CFG->libdir.'/formslib.php');
@ -17,4 +17,3 @@ class user_message_form extends moodleform {
$this->add_action_buttons(); $this->add_action_buttons();
} }
} }
?>

View file

@ -126,5 +126,3 @@ class service_user_selector extends user_selector_base {
return $options; return $options;
} }
} }
?>