Projet

Général

Profil

Paste
Télécharger (928 octets) Statistiques
| Branche: | Révision:

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

1
<?php
2

    
3
/**
4
 * @file
5
 * Display the topic forum widget
6
 *
7
 * The real widget is part of a view, but this widget actually leads to the
8
 * view, and can be redone. It does not need to use FAPI because it
9
 * is just a simple get form, which allows us to style it however we
10
 * like.
11
 *
12
 * Variables:
13
 * - $node: The node to be searched.
14
 * - $path: The path to the search widget for the form action.
15
 */
16
?>
17
<div class="search-topic">
18
  <form action="<?php print $path ?>" accept-charset="UTF-8" method="get" id="advanced-forum-search-topic">
19
  <div class="container-inline">
20
    <div class="form-item" id="edit-keys-wrapper">
21
      <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" />
22
    </div>
23
    <input type="submit" id="edit-submit" value="<?php print t('Search'); ?>"  class="form-submit" />
24
  </div>
25
  </form>
26
</div>