Skip to content
Permalink
Browse files

Search Widget Core

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 fe9ee71ed15cd76403dde59ec9f4947fe577a2f1
Showing with 18 additions and 0 deletions.
  1. +5 −0 widgets/search/search.md
  2. +13 −0 widgets/search/search.php
@@ -0,0 +1,5 @@
#Search widget Core

##1.0.0

Search widget Core
@@ -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.
You can’t perform that action at this time.