From: Petr Skoda Date: Sun, 1 Nov 2009 10:42:45 +0000 (+0000) Subject: MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trail... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=244bb396688fea77471f25a913e5aa647ad3398c;p=moodle.git MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup --- diff --git a/admin/report/backups/index.php b/admin/report/backups/index.php index f4146eb40c..18cd6e4b7c 100644 --- a/admin/report/backups/index.php +++ b/admin/report/backups/index.php @@ -1,4 +1,4 @@ -footer(); -?> diff --git a/admin/report/backups/settings.php b/admin/report/backups/settings.php index e80322b060..a7cd97d290 100644 --- a/admin/report/backups/settings.php +++ b/admin/report/backups/settings.php @@ -1,3 +1,3 @@ -add('reports', new admin_externalpage('reportbackups', get_string('backups', 'admin'), "$CFG->wwwroot/$CFG->admin/report/backups/index.php",'moodle/site:backup')); -?> \ No newline at end of file diff --git a/admin/report/capability/index.php b/admin/report/capability/index.php index a4cc958a13..a23769122d 100644 --- a/admin/report/capability/index.php +++ b/admin/report/capability/index.php @@ -1,4 +1,4 @@ -'; } } - -?> diff --git a/admin/report/capability/settings.php b/admin/report/capability/settings.php index 0a1eeb34b8..d0512e8ecb 100644 --- a/admin/report/capability/settings.php +++ b/admin/report/capability/settings.php @@ -1,3 +1,3 @@ -add('roles', new admin_externalpage('reportcapability', get_string('capability', 'report_capability'), "$CFG->wwwroot/$CFG->admin/report/capability/index.php",'moodle/role:manage')); -?> \ No newline at end of file diff --git a/admin/report/configlog/index.php b/admin/report/configlog/index.php index 46fe4df471..86dc289370 100644 --- a/admin/report/configlog/index.php +++ b/admin/report/configlog/index.php @@ -1,4 +1,4 @@ -libdir.'/adminlib.php'); diff --git a/admin/report/configlog/settings.php b/admin/report/configlog/settings.php index ca8594d0b4..ae14111d81 100644 --- a/admin/report/configlog/settings.php +++ b/admin/report/configlog/settings.php @@ -1,3 +1,3 @@ -add('reports', new admin_externalpage('reportconfiglog', get_string('configlog', 'report_configlog'), "$CFG->wwwroot/$CFG->admin/report/configlog/index.php")); diff --git a/admin/report/courseoverview/db/access.php b/admin/report/courseoverview/db/access.php index ebb0e44646..2c67744f40 100644 --- a/admin/report/courseoverview/db/access.php +++ b/admin/report/courseoverview/db/access.php @@ -1,4 +1,4 @@ - 'moodle/site:viewreports', ) ); - -?> diff --git a/admin/report/courseoverview/index.php b/admin/report/courseoverview/index.php index 3f1a72961a..3f92371e6d 100644 --- a/admin/report/courseoverview/index.php +++ b/admin/report/courseoverview/index.php @@ -126,5 +126,3 @@ } } echo $OUTPUT->footer(); - -?> diff --git a/admin/report/courseoverview/reportsgraph.php b/admin/report/courseoverview/reportsgraph.php index b6b4a6de79..7a148d7cd3 100644 --- a/admin/report/courseoverview/reportsgraph.php +++ b/admin/report/courseoverview/reportsgraph.php @@ -55,5 +55,3 @@ $graph->y_format['bar1'] = array('colour' => 'blue','bar' => 'fill','legend' => $param->{$param->graphline}); $graph->draw_stack(); - -?> diff --git a/admin/report/courseoverview/settings.php b/admin/report/courseoverview/settings.php index 16c390c4a8..f7a9ea667d 100644 --- a/admin/report/courseoverview/settings.php +++ b/admin/report/courseoverview/settings.php @@ -1,3 +1,3 @@ -add('reports', new admin_externalpage('reportcourseoverview', get_string('courseoverview', 'admin'), "$CFG->wwwroot/$CFG->admin/report/courseoverview/index.php",'report/courseoverview:view')); -?> \ No newline at end of file diff --git a/admin/report/courseoverview/version.php b/admin/report/courseoverview/version.php index 4473706b83..42a771376a 100644 --- a/admin/report/courseoverview/version.php +++ b/admin/report/courseoverview/version.php @@ -1,4 +1,4 @@ -version = 2007101503; $plugin->requires = 2007101532; - -?> diff --git a/admin/report/log/settings.php b/admin/report/log/settings.php index be15280d86..bc48cabb11 100644 --- a/admin/report/log/settings.php +++ b/admin/report/log/settings.php @@ -1,5 +1,5 @@ -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')); -?> \ No newline at end of file diff --git a/admin/report/questioninstances/db/access.php b/admin/report/questioninstances/db/access.php index 0a73868f8c..695453ad3a 100644 --- a/admin/report/questioninstances/db/access.php +++ b/admin/report/questioninstances/db/access.php @@ -1,4 +1,4 @@ - 'moodle/site:config', ) ); - -?> diff --git a/admin/report/questioninstances/index.php b/admin/report/questioninstances/index.php index d892c54cf6..3408fd30cc 100644 --- a/admin/report/questioninstances/index.php +++ b/admin/report/questioninstances/index.php @@ -1,4 +1,4 @@ -footer(); -?> diff --git a/admin/report/questioninstances/settings.php b/admin/report/questioninstances/settings.php index 3ef1808e5a..e4f51569a3 100644 --- a/admin/report/questioninstances/settings.php +++ b/admin/report/questioninstances/settings.php @@ -1,3 +1,3 @@ -add('reports', new admin_externalpage('reportquestioninstances', get_string('questioninstances', 'report_questioninstances'), "$CFG->wwwroot/$CFG->admin/report/questioninstances/index.php", 'report/questioninstances:view')); -?> \ No newline at end of file diff --git a/admin/report/questioninstances/version.php b/admin/report/questioninstances/version.php index 702efd5e03..22643f742d 100644 --- a/admin/report/questioninstances/version.php +++ b/admin/report/questioninstances/version.php @@ -1,4 +1,4 @@ -version = 2007101502; $plugin->requires = 2007101532; - -?> diff --git a/admin/report/security/db/access.php b/admin/report/security/db/access.php index 8534dd81e4..aab6184f42 100644 --- a/admin/report/security/db/access.php +++ b/admin/report/security/db/access.php @@ -1,4 +1,4 @@ -add('reports', new admin_externalpage('reportsecurity', get_string('reportsecurity', 'report_security'), "$CFG->wwwroot/$CFG->admin/report/security/index.php",'report/security:view')); diff --git a/admin/report/security/version.php b/admin/report/security/version.php index 181e9afd36..ad976da744 100644 --- a/admin/report/security/version.php +++ b/admin/report/security/version.php @@ -1,4 +1,4 @@ -version = 2008122900; $plugin->requires = 2008121701; - -?> diff --git a/admin/report/spamcleaner/index.php b/admin/report/spamcleaner/index.php index 2f629c5981..2965b7e651 100755 --- a/admin/report/spamcleaner/index.php +++ b/admin/report/spamcleaner/index.php @@ -290,5 +290,3 @@ function print_spamcleaner_javascript() { } echo $OUTPUT->footer(); - -?> diff --git a/admin/report/stats/settings.php b/admin/report/stats/settings.php index ce1d3e3047..e84cd2cb1c 100644 --- a/admin/report/stats/settings.php +++ b/admin/report/stats/settings.php @@ -1,4 +1,4 @@ -add('reports', new admin_externalpage('reportstats', get_string('stats', 'admin'), "$CFG->wwwroot/course/report/stats/index.php", 'coursereport/stats:view')); -?> \ No newline at end of file diff --git a/admin/report/unittest/db/access.php b/admin/report/unittest/db/access.php index dd9915f05c..0aa2336155 100644 --- a/admin/report/unittest/db/access.php +++ b/admin/report/unittest/db/access.php @@ -1,4 +1,4 @@ - 'moodle/site:config', ) ); - -?> diff --git a/admin/report/unittest/dbtest.php b/admin/report/unittest/dbtest.php index f0ae99912d..83aca02953 100644 --- a/admin/report/unittest/dbtest.php +++ b/admin/report/unittest/dbtest.php @@ -1,4 +1,4 @@ -footer(); - -?> diff --git a/admin/report/unittest/ex_reporter.php b/admin/report/unittest/ex_reporter.php index 8ac3f88eaf..80b91aecf1 100644 --- a/admin/report/unittest/ex_reporter.php +++ b/admin/report/unittest/ex_reporter.php @@ -227,4 +227,3 @@ class ExHtmlReporter extends HtmlReporter { return get_string($identifier, 'simpletest', $a); } } -?> diff --git a/admin/report/unittest/ex_simple_test.php b/admin/report/unittest/ex_simple_test.php index de1504d654..c524b848cf 100644 --- a/admin/report/unittest/ex_simple_test.php +++ b/admin/report/unittest/ex_simple_test.php @@ -213,4 +213,3 @@ class BadAutoGroupTest extends BadTest { } class AutoGroupTestNotice extends Notice { } class FindFileNotice extends Notice { } -?> diff --git a/admin/report/unittest/index.php b/admin/report/unittest/index.php index 6f4199acbd..1f9b229b58 100644 --- a/admin/report/unittest/index.php +++ b/admin/report/unittest/index.php @@ -149,5 +149,3 @@ if (is_null($path) || !$codecoverage) { // Footer. echo $OUTPUT->footer(); - -?> diff --git a/admin/report/unittest/settings.php b/admin/report/unittest/settings.php index 8bccf04f75..1a77bb4ed3 100644 --- a/admin/report/unittest/settings.php +++ b/admin/report/unittest/settings.php @@ -1,6 +1,6 @@ -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')); } -?> \ No newline at end of file diff --git a/admin/report/unittest/version.php b/admin/report/unittest/version.php index 645c20a45c..143f7bad8c 100644 --- a/admin/report/unittest/version.php +++ b/admin/report/unittest/version.php @@ -1,4 +1,4 @@ -version = 2008112601; $plugin->requires = 2008112600; -?> diff --git a/admin/user/lib.php b/admin/user/lib.php index e4595616dd..4509e53230 100644 --- a/admin/user/lib.php +++ b/admin/user/lib.php @@ -1,4 +1,4 @@ -dirroot.'/user/filters/lib.php'); @@ -48,6 +48,3 @@ function get_selection_data($ufiltering) { return $userlist; } - - -?> \ No newline at end of file diff --git a/admin/user/user_bulk.php b/admin/user/user_bulk.php index 220b34ac64..8639236e66 100755 --- a/admin/user/user_bulk.php +++ b/admin/user/user_bulk.php @@ -1,4 +1,4 @@ -libdir.'/adminlib.php'); @@ -82,5 +82,3 @@ $user_bulk_form->display(); $action_form->display(); echo $OUTPUT->footer(); - -?> diff --git a/admin/user/user_bulk_confirm.php b/admin/user/user_bulk_confirm.php index 3f58e2eb17..b2870b8311 100755 --- a/admin/user/user_bulk_confirm.php +++ b/admin/user/user_bulk_confirm.php @@ -1,4 +1,4 @@ -footer(); -?> diff --git a/admin/user/user_bulk_delete.php b/admin/user/user_bulk_delete.php index 7b4f3a5866..aac880c21f 100755 --- a/admin/user/user_bulk_delete.php +++ b/admin/user/user_bulk_delete.php @@ -1,4 +1,4 @@ -footer(); -?> diff --git a/admin/user/user_bulk_display.php b/admin/user/user_bulk_display.php index 4d6ef5ce33..1530eedddf 100755 --- a/admin/user/user_bulk_display.php +++ b/admin/user/user_bulk_display.php @@ -1,4 +1,4 @@ -libdir.'/adminlib.php'); @@ -79,4 +79,3 @@ echo $OUTPUT->table($table); echo $OUTPUT->continue_button($return); echo $OUTPUT->footer(); -?> diff --git a/admin/user/user_bulk_download.php b/admin/user/user_bulk_download.php index 8f46f3f319..1e24fbc363 100755 --- a/admin/user/user_bulk_download.php +++ b/admin/user/user_bulk_download.php @@ -1,4 +1,4 @@ - diff --git a/admin/user/user_bulk_enrol.php b/admin/user/user_bulk_enrol.php index ec2313e56e..f5754f4189 100644 --- a/admin/user/user_bulk_enrol.php +++ b/admin/user/user_bulk_enrol.php @@ -1,4 +1,4 @@ -libdir.'/formslib.php'); require_once($CFG->libdir.'/datalib.php'); @@ -108,4 +108,3 @@ class user_bulk_form extends moodleform { $renderer->setGroupElementTemplate($template, 'usersgrp'); } } -?> diff --git a/admin/user/user_bulk_message.php b/admin/user/user_bulk_message.php index ba5b1fd71c..1de582a1b3 100755 --- a/admin/user/user_bulk_message.php +++ b/admin/user/user_bulk_message.php @@ -1,4 +1,4 @@ -libdir.'/adminlib.php'); require_once($CFG->dirroot.'/message/lib.php'); @@ -69,4 +69,3 @@ if ($msgform->is_cancelled()) { admin_externalpage_print_header(); $msgform->display(); echo $OUTPUT->footer(); -?> diff --git a/admin/user/user_message_form.php b/admin/user/user_message_form.php index b806b3a436..a239bf8be7 100644 --- a/admin/user/user_message_form.php +++ b/admin/user/user_message_form.php @@ -1,4 +1,4 @@ -libdir.'/formslib.php'); @@ -17,4 +17,3 @@ class user_message_form extends moodleform { $this->add_action_buttons(); } } -?> \ No newline at end of file diff --git a/admin/webservice/lib.php b/admin/webservice/lib.php index 2f9365f62c..bb267dfe89 100644 --- a/admin/webservice/lib.php +++ b/admin/webservice/lib.php @@ -126,5 +126,3 @@ class service_user_selector extends user_selector_base { return $options; } } - -?> diff --git a/admin/webservice/service_users.php b/admin/webservice/service_users.php index e5ac7e87ea..78ca79ee57 100644 --- a/admin/webservice/service_users.php +++ b/admin/webservice/service_users.php @@ -217,4 +217,4 @@ if (!empty($allowedusers)) { } -echo $OUTPUT->footer(); \ No newline at end of file +echo $OUTPUT->footer();