Skip to content

Commit

Permalink
Search Widget Core
Browse files Browse the repository at this point in the history
This is a core widget which works with module finder. It can be included in any template.
  • Loading branch information
vivimpresa committed Jun 14, 2017
1 parent 4f71bc1 commit fe9ee71
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
5 changes: 5 additions & 0 deletions widgets/search/search.md
@@ -0,0 +1,5 @@
#Search widget Core

##1.0.0

Search widget Core
13 changes: 13 additions & 0 deletions widgets/search/search.php
@@ -0,0 +1,13 @@
<?php

defined('DACCESS') or die;

function mwidget_search() {?>
<div class="search">
<form action="index.php" method="get">
<input type="hidden" name="module" value="finder" />
<input type="text" name="search" class="text" value="" />
<input type="submit" name="action" class="button" value="Search" />
</form>
</div>
<?PHP } ?>

0 comments on commit fe9ee71

Please sign in to comment.