Files
ajax
class
AccueilModules.php
Blogs.php
Clock.php
ClockAdvanced.php
GoogleWeather.class.php
Links.php
Module.php
News.php
Notes.php
Ouifm.php
Rssblogs.php
Search.php
Todo.php
Weather.php
lastRSS.php
css
db
images
js
.htaccess
CURL.php
GoogleMeteo.php
addSite.php
add_note.html
blogs.php
blogs_last_post.php
calculator.html
config.php
getProjectsList.php
getUncompletedTasks.php
index.php
install-todoist.php
meteo.php
notepad.html
notes_extract.php
Accueil/class/Search.php
2010-09-21 14:00:04 +00:00

39 lines
1.1 KiB
PHP

<?php
class search extends Module {
protected static $paramsList = array(
'visibility'
);
public $params = array();
public function __construct($params){
echo '<link rel="stylesheet" type="text/css" href="css/search.css">
<script type="text/javascript" src="js/jquery.search.js"></script>
<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>';
}
private function setParams($params){
$this->params = $params;
}
public static function start($params){
$search = new search($params);
}
public static function updateConfig($updated){
}
}