From a628b65cfa27f38e8bf103aaa3c4a8c59e57bc64 Mon Sep 17 00:00:00 2001 From: poltawski Date: Thu, 15 Mar 2007 01:14:07 +0000 Subject: [PATCH] Merging revert MDL-8906 --- admin/pagelib.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/admin/pagelib.php b/admin/pagelib.php index b1f45c99cef..ac87f0d1dd5 100644 --- a/admin/pagelib.php +++ b/admin/pagelib.php @@ -117,14 +117,11 @@ class page_admin extends page_base { // if not, print_header() has to be called with a $section parameter // The search page currently doesn't handle block editing - if ($this->user_allowed_editing()) { + if ($this->section != 'search' and $this->user_allowed_editing()) { $buttons = '
frametarget.' method="get" action="' . $this->url_get_path() . '">'. '
'. - ''; - if(isset($CFG->adminsearchquery)){ - $buttons.=''; - } - $buttons.='
'; + ''. + ''; } else { $buttons = ' '; }