[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/templates/beez/html/com_search/search/ -> default_form.php (source)

   1  <?php // @version $Id: default_form.php 11917 2009-05-29 19:37:05Z ian $
   2  defined('_JEXEC') or die('Restricted access');
   3  ?>
   4  
   5  <form action="<?php echo JRoute::_( 'index.php?option=com_search#content' ) ?>" method="post" class="search_result<?php echo $this->escape($this->params->get('pageclass_sfx')) ?>">
   6  <a name="form1"></a>
   7  <h3><?php echo JText::_('search_again'); ?></h3>
   8  <fieldset class="word">
   9  <label for="search_searchword"><?php echo JText::_('Search Keyword') ?> </label>
  10  <input type="text" name="searchword" id="search_searchword"  maxlength="20" value="<?php echo $this->escape($this->searchword) ?>" class="inputbox" />
  11  </fieldset>
  12  
  13  <fieldset class="phrase">
  14  <legend><?php echo JText::_('Search Parameters') ?></legend>
  15  <?php echo $this->lists['searchphrase']; ?>
  16  <br /><br />
  17  <label for="ordering" class="ordering"><?php echo JText::_('Ordering') ?>:</label>
  18  <?php echo $this->lists['ordering']; ?>
  19  </fieldset>
  20  
  21  <?php if ($this->params->get('search_areas', 1)) : ?>
  22  <fieldset class="only"><legend><?php echo JText::_('Search Only') ?>:</legend>
  23      <?php foreach ($this->searchareas['search'] as $val => $txt) : ?>
  24          <?php $checked = is_array($this->searchareas['active']) && in_array($val, $this->searchareas['active']) ? 'checked="true"' : ''; ?>
  25          <input type="checkbox" name="areas[]" value="<?php echo $val ?>" id="area_<?php echo $val ?>" <?php echo $checked ?> />
  26          <label for="area_<?php echo $val ?>">
  27          <?php echo JText::_($txt); ?>
  28          </label><br />
  29      <?php endforeach; ?>
  30  </fieldset>
  31  <?php endif; ?>
  32  <p>
  33      <button name="Search" onclick="this.form.submit()" class="button"><?php echo JText::_( 'Search' );?></button>
  34  </p>
  35  
  36  
  37  <?php if (count($this->results)) : ?>
  38  <div class="display">
  39  <label for="limit"><?php echo JText :: _('Display Num') ?></label>
  40      <?php echo $this->pagination->getLimitBox(); ?>
  41      <p>
  42          <?php echo $this->pagination->getPagesCounter(); ?>
  43      </p>
  44  </div>
  45  <?php endif; ?>
  46  
  47  <input type="hidden" name="task"   value="search" />
  48  </form>


Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1