Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a core widget which works with module finder. It can be included in any template.
- Loading branch information
1 parent
4f71bc1
commit fe9ee71
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,5 @@ | |||
#Search widget Core | |||
|
|||
##1.0.0 | |||
|
|||
Search widget Core |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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 } ?> |