Accueil/modules/search/Search.php

30 lines
1.0 KiB
PHP
Raw Permalink Normal View History

2010-09-27 12:48:53 +02:00
<?php
class search extends Module {
protected $moduleTitle = 'Recherche';
protected $paramsList = array(
2010-09-27 12:48:53 +02:00
'visibility'
);
public function __construct($params){
parent::__construct(__CLASS__, $params);
}
public function build(){
echo '<link rel="stylesheet" type="text/css" href="'.$this->pathToModule.'css/'.$this->moduleName.'.css">
<script type="text/javascript" src="'.$this->pathToModule.'js/'.$this->moduleName.'.js"></script>
2010-09-27 12:48:53 +02:00
<form id="searchForm" method="post">
<fieldset>
<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>
</ul>
</fieldset>
</form>';
}
}