diff --git a/tag/index.php b/tag/index.php
index 1c5719d4bda..e4aed35909f 100644
--- a/tag/index.php
+++ b/tag/index.php
@@ -42,11 +42,11 @@ echo '
';
$blocks_preferred_width = bounded_number(180, blocks_preferred_width($pageblocks[BLOCK_POS_LEFT]), 210);
-echo '| ';
if (blocks_have_content($pageblocks, BLOCK_POS_LEFT) || $PAGE->user_is_editing()) {
+ echo ' | ';
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
+ echo ' | ';
}
-echo '';
@@ -54,7 +54,6 @@ echo '';
echo '';
-
$tagname = tag_display_name($tag);
$systemcontext = get_context_instance(CONTEXT_SYSTEM);
@@ -92,11 +91,11 @@ echo ' | ';
$blocks_preferred_width = bounded_number(180, blocks_preferred_width($pageblocks[BLOCK_POS_RIGHT]), 210);
-echo '';
if (blocks_have_content($pageblocks, BLOCK_POS_RIGHT) || $PAGE->user_is_editing()) {
+ echo ' | ';
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT);
+ echo ' | ';
}
-echo '';
/// Finish the page
echo '
';