AntonLV il y a 8 ans
Parent
commit
7a3f7dbc1e

+ 19 - 0
modules/boonex/decorous/data/template/system/scripts/BxTemplFunctions.php

@@ -13,6 +13,25 @@ class BxTemplFunctions extends BxBaseFunctions
     {
         parent::__construct($oTemplate);
     }
+
+    protected function getInjFooterPopupMenus() 
+    {
+        $sContent = '';
+
+        $oSearch = new BxTemplSearch();
+        $oSearch->setLiveSearch(true);
+        $sContent .= $this->_oTemplate->parsePageByName('search.html', array(
+            'search_form' => $oSearch->getForm(BX_DB_CONTENT_ONLY),
+            'results' => $oSearch->getResultsContainer(),
+        ));
+
+        if(isLogged()) {
+            $sContent .= $this->_oTemplate->getMenu ('sys_add_content');
+            $sContent .= $this->_oTemplate->getMenu ('sys_account_popup');
+        }
+
+        return $sContent;
+    }
 }
 
 /** @} */