diff --git a/application/portalwebpage.class.inc.php b/application/portalwebpage.class.inc.php index ff359d7d0..81912f0c9 100644 --- a/application/portalwebpage.class.inc.php +++ b/application/portalwebpage.class.inc.php @@ -217,7 +217,7 @@ EOF { $sMenu .= "".Dict::S($aMenuItem['label']).""; } - $this->s_content = '
'.$this->m_sWelcomeMsg.'
'.$this->s_content.'
'; + $this->s_content = '
'.$this->m_sWelcomeMsg.'
'.$this->s_content.'
'; parent::output(); } @@ -470,6 +470,15 @@ EOF public function DisplaySearchForm($sClass, $aAttList, $aExtraParams, $sPrefix) { + $this->add("
\n"); + $this->add_ready_script( +<<add("
\n"); // Don't use $_SERVER['SCRIPT_NAME'] since the form may be called asynchronously (from ajax.php) // $this->add("

".Dict::Format('UI:SearchFor_Class_Objects', 'xxxxxx')."

\n"); $this->add("

\n"); @@ -486,6 +495,9 @@ EOF } // $this->add($oAppContext->GetForForm()); $this->add("

\n"); + $this->add("
\n"); + $this->add("
\n"); + $this->add("
".Dict::S('UI:SearchToggle')."
\n"); } /**