From 9d17f1d3310506fa8a359adaf346444365fc3f2a Mon Sep 17 00:00:00 2001 From: skodak Date: Tue, 30 Jan 2007 21:41:52 +0000 Subject: [PATCH] MDL-8364 moved javascript into print_header --- blog/tags.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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(); -- 2.39.5