[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

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

   1      <?php // @version $Id: default_results.php 11917 2009-05-29 19:37:05Z ian $
   2  defined('_JEXEC') or die('Restricted access');
   3  ?>
   4  
   5  <?php if (!empty($this->searchword)) : ?>
   6  <div class="searchintro<?php echo $this->escape($this->params->get('pageclass_sfx')) ?>">
   7      <p>
   8          <?php echo JText::_('Search Keyword') ?> <strong><?php echo $this->escape($this->searchword) ?></strong>
   9          <?php echo $this->result ?>
  10      </p>
  11      <p>
  12          <a href="#form1" onclick="document.getElementById('search_searchword').focus();return false" onkeypress="document.getElementById('search_searchword').focus();return false" ><?php echo JText::_('Search_again') ?></a>
  13      </p>
  14  </div>
  15  <?php endif; ?>
  16  
  17  <?php if (count($this->results)) : ?>
  18  <div class="results">
  19      <h3><?php echo JText :: _('Search_result'); ?></h3>
  20      <?php $start = $this->pagination->limitstart + 1; ?>
  21      <ol class="list<?php echo $this->escape($this->params->get('pageclass_sfx')) ?>" start="<?php echo (int)$start ?>">
  22          <?php foreach ($this->results as $result) : ?>
  23          <li>
  24              <?php if ($result->href) : ?>
  25              <h4>
  26                  <a href="<?php echo JRoute :: _($result->href) ?>" <?php echo ($result->browsernav == 1) ? 'target="_blank"' : ''; ?> >
  27                      <?php echo $this->escape($result->title); ?></a>
  28              </h4>
  29              <?php endif; ?>
  30              <?php if ($result->section) : ?>
  31              <p><?php echo JText::_('Category') ?>:
  32                  <span class="small<?php echo $this->escape($this->params->get('pageclass_sfx')) ?>">
  33                      <?php echo $this->escape($result->section); ?>
  34                  </span>
  35              </p>
  36              <?php endif; ?>
  37  
  38              <?php echo $result->text; ?>
  39              <span class="small<?php echo $this->escape($this->params->get('pageclass_sfx')) ?>">
  40                  <?php echo $this->escape($result->created); ?>
  41              </span>
  42          </li>
  43          <?php endforeach; ?>
  44      </ol>
  45      <?php echo $this->pagination->getPagesLinks(); ?>
  46  </div>
  47  <?php endif; ?>


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