|
Revision 2, 1.1 KB
(checked in by daris, 3 years ago)
|
|
importing extensions
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | /*********************************************************************** |
|---|
| 3 | |
|---|
| 4 | FluxBB extension |
|---|
| 5 | Portal |
|---|
| 6 | Daris <daris91@gmail.com> |
|---|
| 7 | |
|---|
| 8 | ************************************************************************/ |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | // Make sure no one attempts to run this script "directly" |
|---|
| 12 | if (!defined('FORUM')) |
|---|
| 13 | exit; |
|---|
| 14 | |
|---|
| 15 | require FORUM_ROOT.'lang/'.$forum_user['language'].'/search.php'; |
|---|
| 16 | |
|---|
| 17 | ?> |
|---|
| 18 | <form class="frm-form" method="get" accept-charset="utf-8" action="<?php echo forum_link($forum_url['search']) ?>"> |
|---|
| 19 | <div class="hidden"> |
|---|
| 20 | <input type="hidden" name="action" value="search" /> |
|---|
| 21 | </div> |
|---|
| 22 | <div class="panel-input"> |
|---|
| 23 | <input type="text" name="keywords" maxlength="100" /><br /> |
|---|
| 24 | </div> |
|---|
| 25 | <div class="panel-input"> |
|---|
| 26 | <?php echo $lang_search['Display results'] ?><br /> |
|---|
| 27 | <select name="show_as"> |
|---|
| 28 | <option value="topics"><?php echo $lang_search['Show as topics'] ?></option> |
|---|
| 29 | <option value="posts"><?php echo $lang_search['Show as posts'] ?></option> |
|---|
| 30 | </select> |
|---|
| 31 | </div> |
|---|
| 32 | <div> |
|---|
| 33 | <input type="submit" name="search" value="<?php echo $lang_portal['Submit search'] ?>" accesskey="s" title="Accesskey: s" /> |
|---|
| 34 | </div> |
|---|
| 35 | </form> |
|---|
| 36 | <?php |
|---|
| 37 | |
|---|