From ede4316c01cefaf99f351ffa65e165a2b57b4e8f Mon Sep 17 00:00:00 2001 From: tjhunt Date: Tue, 16 Oct 2007 20:43:28 +0000 Subject: [PATCH] MDL-11794 - Blocks editing on button is not XHTML Strict when produced by page_generic_activity. --- lib/pagelib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pagelib.php b/lib/pagelib.php index c1c5d432305..645855002eb 100644 --- a/lib/pagelib.php +++ b/lib/pagelib.php @@ -651,10 +651,10 @@ class page_generic_activity extends page_base { if (empty($morenavlinks) && $this->user_allowed_editing()) { $buttons = ''; if (!empty($CFG->showblocksonmodpages)) { - $buttons .= ''; + ''; } $buttons .= '
'.update_module_button($this->modulerecord->id, $this->courserecord->id, get_string('modulename', $this->activityname)).'
'. + $buttons .= '
frametarget.' method="get" action="view.php">
'. ''. ''. - '
'; } else {