You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.1 KiB

class search extends Module {
protected static $paramsList = array(
public $params = array();
public function __construct($params){
echo '<link rel="stylesheet" type="text/css" href="css/search.css">
<script type="text/javascript" src="js/"></script>
<form id="searchForm" method="post">
<input id="s" type="text" />
<input type="submit" value="Submit" id="submitButton" class="searchbutton" />
<ul class="icons">
<li class="web" title="Web Search" data-searchType="web">Web</li>
<li class="images" title="Image Search" data-searchType="images">Images</li>
<li class="news" title="News Search" data-searchType="news">News</li>
<li class="videos" title="Video Search" data-searchType="video">Videos</li>
private function setParams($params){
$this->params = $params;
public static function start($params){
$search = new search($params);
public static function updateConfig($updated){