3
* Clansuite - just an eSports CMS
4
* Jens-André Koch © 2005 - onwards
5
* http://www.clansuite.com/
7
* This file is part of "Clansuite - just an eSports CMS".
11
* This program is free software; you can redistribute it and/or modify
12
* it under the terms of the GNU General Public License as published by
13
* the Free Software Foundation; either version 2 of the License, or
14
* (at your option) any later version.
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU General Public License for more details.
21
* You should have received a copy of the GNU General Public License
22
* along with this program; if not, write to the Free Software
23
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
* @license GNU/GPL v2 or (at your option) any later version, see "/doc/LICENSE".
26
* @author Jens-André Koch <vain@clansuite.com>
27
* @copyright Jens-André Koch (2005 - onwards)
28
* @link http://www.clansuite.com
30
* @version SVN: $Id: about.module.php 4744 2010-09-26 23:13:04Z vain $
34
if(defined('IN_CS') === false)
36
die('Clansuite not loaded. Direct Access forbidden.');
40
* Clansuite_Module_News
46
class Clansuite_Module_Search extends Clansuite_Module_Controller
49
public function initializeModule()
52
$this->getModuleConfig();
55
public function action_show()
60
public function action_multisearch()
62
# Set Pagetitle and Breadcrumbs
63
Clansuite_Breadcrumb::add( _('Show'), '/search/multisearch');
65
#Clansuite_Debug::printR( $_POST );
67
$qmod = $this->request->getParameterFromPost('qmod');
68
$qmodOut = ucwords($qmod);
69
$qfields = $this->request->getParameterFromPost('qfields');
70
$qfieldsOut = str_replace( ',', ', ', $qfields);
71
$qstring = trim($this->request->getParameterFromPost('q'));
72
$qstringOut = $qstring;
75
$view = $this->getView();
77
$view->assign('qstring', $qstringOut);
78
$view->assign('qmod', $qmodOut);
79
$view->assign('qfields', $qfieldsOut);
84
public function widget_multisearch()
b'\\ No newline at end of file'