From 27ec21a0f6ec12c8a68cfeaf7703ef7b25cdcfcd Mon Sep 17 00:00:00 2001 From: dhawes Date: Sun, 24 Oct 2004 15:51:25 +0000 Subject: [PATCH] some quote cleanup and some spacing added --- lib/blocklib.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/blocklib.php b/lib/blocklib.php index 9ee8e81db2..8afce684b3 100644 --- a/lib/blocklib.php +++ b/lib/blocklib.php @@ -331,7 +331,7 @@ function blocks_execute_action($page, &$pageblocks, $blockaction, $instanceorid) } optional_param('submitted', 0, PARAM_INT); - // Define the data we 're going to silently include in the instance config form here, + // Define the data we're going to silently include in the instance config form here, // so we can strip them from the submitted data BEFORE serializing it. $hiddendata = array( 'sesskey' => $USER->sesskey, @@ -341,7 +341,7 @@ function blocks_execute_action($page, &$pageblocks, $blockaction, $instanceorid) ); // The 'id' thing is a crude hack in all its glory... // Redirecting the form submission back to ourself with qualified_me() was a good idea since otherwise - // we 'd need to have an "extra" script that would have to infer where to redirect us back just from + // we'd need to have an "extra" script that would have to infer where to redirect us back just from // the data in $instance (pagetype and pageid). But, "ourself" is most likely course/view.php and it needs // a course id. Hence the hack. @@ -356,14 +356,14 @@ function blocks_execute_action($page, &$pageblocks, $blockaction, $instanceorid) // And nothing more, continue with displaying the page } else { - $loggedinas = "

".user_login_string($course, $USER)."

"; + $loggedinas = '

'. user_login_string($course, $USER) .'

'; print_header(get_string('blockconfigin', 'moodle', $course->fullname), $course->fullname, $course->shortname, - "", "", true, update_course_icon($course->id), $loggedinas); + '', '', true, update_course_icon($course->id), $loggedinas); print_heading(get_string('blockconfiga', 'moodle', $block->name)); - echo '
'; // This I wouldn't call a hack but it sure looks cheeky + echo ''; // This I wouldn't call a hack but it sure looks cheeky echo '

'; foreach($hiddendata as $name => $val) { - echo ''; + echo ''; } echo '

'; $blockobject->instance_config_print(); -- 2.39.5