From a1ccdd8bbc7f34dc4716afb70843a62d55e5c8c9 Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 7 May 2013 03:47:32 -0700 Subject: [PATCH] Issue #196 - Theme browser tweaks --- e107_handlers/theme_handler.php | 41 ++++++++++++++++++++++++--------- 1 file changed, 30 insertions(+), 11 deletions(-) diff --git a/e107_handlers/theme_handler.php b/e107_handlers/theme_handler.php index a59f45c32..4b4a00fb4 100644 --- a/e107_handlers/theme_handler.php +++ b/e107_handlers/theme_handler.php @@ -426,9 +426,26 @@ class themeHandler } } + + private function search($name, $searchVal, $submitName, $filterName='', $filterArray=false, $filterVal=false) + { + $frm = e107::getForm(); + + $text = ' + '.$frm->text($name, $searchVal,20,'class=search-query').' + + '; + + // $text .= $this->admin_button($submitName,LAN_SEARCH,'search'); + + return $text; + + } + + - function renderOnline() + function renderOnline($ajax=false) { $xml = e107::getXml(); $mes = e107::getMessage(); @@ -465,19 +482,21 @@ class themeHandler $c = 1; - $text .= "