Projet

Général

Profil

Paste
Télécharger (1,04 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / advanced_forum / styles / naked / advanced-forum.naked.search-forum.tpl.php @ 13c3c9b4

1
<?php
2
/**
3
 * @file
4
 * Display the search forum widget.
5
 *
6
 * The real widget is part of a view, but this widget actually leads to the
7
 * view, and can be redone. It does not need to use FAPI because it
8
 * is just a simple get form, which allows us to style it however we
9
 * like as long as it has the two important keys: forum and keys.
10
 *
11
 * Variables:
12
 * - $forum: The forum ID. Will be 'All' for no particular forum.
13
 * - $path: The path to the search widget for the form action.
14
 */
15
?>
16
<form action="<?php print $path ?>" accept-charset="UTF-8" method="get" id="advanced-forum-search-forum">
17
<input type="hidden" name="forum" id="edit-forum" value="<?php print $forum; ?>"/>
18
<div class="container-inline">
19
  <div class="form-item" id="edit-keys-wrapper">
20
    <input type="text" maxlength="128" name="keys" id="edit-keys" value="" title="<?php print t('Enter the terms you wish to search for.'); ?>" class="form-text" />
21
  </div>
22
  <input type="submit" id="edit-submit-forum-search" value="<?php print t('Search forum'); ?>"  class="form-submit" />
23
</div>
24
</form>