From: skodak Date: Tue, 30 Jan 2007 21:41:52 +0000 (+0000) Subject: MDL-8364 moved javascript into print_header X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9d17f1d3310506fa8a359adaf346444365fc3f2a;p=moodle.git MDL-8364 moved javascript into print_header --- diff --git a/blog/tags.php b/blog/tags.php index 3345851b9f..2f133b6a01 100755 --- a/blog/tags.php +++ b/blog/tags.php @@ -20,6 +20,7 @@ $sitecontext = get_context_instance(CONTEXT_SYSTEM, SITEID); $error = ''; +$script = ''; switch ($action) { /// Adding an official tag from submitted value case 'addofficial': @@ -56,11 +57,13 @@ switch ($action) { } /// Write newly added tags back into window opener. - echo ''; } @@ -105,7 +108,8 @@ switch ($action) { } /// Remove parent window option via javascript. - echo ''; } @@ -135,7 +139,7 @@ switch ($action) { /// Print the table. -print_header(); +print_header (get_string('tagmanagement'), '', '', '', $script); include_once('tags.html'); print_footer();