[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/components/com_search/views/search/tmpl/ -> default_form.php (source)

   1  <?php defined('_JEXEC') or die('Restricted access'); ?>
   2  
   3  <form id="searchForm" action="<?php echo JRoute::_( 'index.php?option=com_search' );?>" method="post" name="searchForm">
   4      <table class="contentpaneopen<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
   5          <tr>
   6              <td nowrap="nowrap">
   7                  <label for="search_searchword">
   8                      <?php echo JText::_( 'Search Keyword' ); ?>:
   9                  </label>
  10              </td>
  11              <td nowrap="nowrap">
  12                  <input type="text" name="searchword" id="search_searchword" size="30" maxlength="20" value="<?php echo $this->escape($this->searchword); ?>" class="inputbox" />
  13              </td>
  14              <td width="100%" nowrap="nowrap">
  15                  <button name="Search" onclick="this.form.submit()" class="button"><?php echo JText::_( 'Search' );?></button>
  16              </td>
  17          </tr>
  18          <tr>
  19              <td colspan="3">
  20                  <?php echo $this->lists['searchphrase']; ?>
  21              </td>
  22          </tr>
  23          <tr>
  24              <td colspan="3">
  25                  <label for="ordering">
  26                      <?php echo JText::_( 'Ordering' );?>:
  27                  </label>
  28                  <?php echo $this->lists['ordering'];?>
  29              </td>
  30          </tr>
  31      </table>
  32      <?php if ($this->params->get( 'search_areas', 1 )) : ?>
  33          <?php echo JText::_( 'Search Only' );?>:
  34          <?php foreach ($this->searchareas['search'] as $val => $txt) :
  35              $checked = is_array( $this->searchareas['active'] ) && in_array( $val, $this->searchareas['active'] ) ? 'checked="checked"' : '';
  36          ?>
  37          <input type="checkbox" name="areas[]" value="<?php echo $val;?>" id="area_<?php echo $val;?>" <?php echo $checked;?> />
  38              <label for="area_<?php echo $val;?>">
  39                  <?php echo JText::_($txt); ?>
  40              </label>
  41          <?php endforeach; ?>
  42      <?php endif; ?>
  43  
  44  
  45      <table class="searchintro<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  46      <tr>
  47          <td colspan="3" >
  48              <br />
  49              <?php echo JText::_( 'Search Keyword' ) .' <b>'. $this->escape($this->searchword) .'</b>'; ?>
  50          </td>
  51      </tr>
  52      <tr>
  53          <td>
  54              <br />
  55              <?php echo $this->result; ?>
  56          </td>
  57      </tr>
  58  </table>
  59  
  60  <br />
  61  <?php if($this->total > 0) : ?>
  62  <div align="center">
  63      <div style="float: right;">
  64          <label for="limit">
  65              <?php echo JText::_( 'Display Num' ); ?>
  66          </label>
  67          <?php echo $this->pagination->getLimitBox( ); ?>
  68      </div>
  69      <div>
  70          <?php echo $this->pagination->getPagesCounter(); ?>
  71      </div>
  72  </div>
  73  <?php endif; ?>
  74  
  75  <input type="hidden" name="task"   value="search" />
  76  </form>


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