[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/templates/beez/html/com_contact/category/ -> default.php (source)

   1  <?php // @version $Id: default.php 11917 2009-05-29 19:37:05Z ian $
   2  defined('_JEXEC') or die('Restricted access');
   3  $cparams = JComponentHelper::getParams ('com_media');
   4  ?>
   5  
   6  <?php if ($this->params->get('show_page_title',1)) : ?>
   7  <h1 class="componentheading<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
   8      <?php echo $this->escape($this->params->get('page_title')); ?>
   9  </h1>
  10  <?php endif; ?>
  11  
  12  <?php if ($this->category->image || $this->category->description) : ?>
  13  <div class="contentdescription<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  14  
  15      <?php if ($this->params->get('image') != -1 && $this->params->get('image') != '') : ?>
  16      <img src="<?php echo $this->baseurl .'/'. 'images/stories' . '/'. $this->params->get('image'); ?>" class="image_<?php echo $this->params->get('image_align'); ?>" alt="<?php echo JText::_( 'Contacts' ); ?>" />
  17      <?php elseif($this->category->image): ?>
  18      <img src="<?php echo $this->baseurl .'/'. 'images/stories' . '/'. $this->category->image; ?>" class="image_<?php echo $this->category->image_position; ?>" alt="<?php echo JText::_( 'Contacts' ); ?>" />
  19      <?php endif; ?>
  20  
  21      <?php echo $this->category->description; ?>
  22  
  23      <?php if (($this->params->get('image') != -1 && $this->params->get('image') != '') || $this->category->image) : ?>
  24      <div class="wrap_image">&nbsp;</div>
  25      <?php endif; ?>
  26  
  27  </div>
  28  <?php endif; ?>
  29  
  30  <script language="javascript" type="text/javascript">
  31  function tableOrdering( order, dir, task )
  32  {
  33      var form = document.adminForm;
  34  
  35      form.filter_order.value     = order;
  36      form.filter_order_Dir.value    = dir;
  37      document.adminForm.submit( task );
  38  }
  39  </script>
  40  
  41  <form action="<?php echo $this->action; ?>" method="post" name="adminForm">
  42  
  43      <?php if ($this->params->get('display')) : ?>
  44      <div class="display">
  45          <?php echo JText::_('Display Num'); ?>&nbsp;
  46      </div>
  47      <?php endif; ?>
  48  
  49      <input type="hidden" name="catid" value="<?php echo (int)$this->category->id; ?>" />
  50      <input type="hidden" name="filter_order" value="<?php echo $this->lists['order']; ?>" />
  51      <input type="hidden" name="filter_order_Dir" value="" />
  52  
  53  </form>
  54  
  55  <table class="category<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  56  
  57      <?php if ($this->params->get('show_headings')) : ?>
  58      <tr>
  59          <th id="Count" class="sectiontableheader<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  60              <?php echo JText::_('Num'); ?>
  61          </th>
  62  
  63          <?php if ($this->params->get('show_position')) : ?>
  64          <th id="Position" class="sectiontableheader<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  65              <?php echo JHTML::_('grid.sort', 'Position', 'cd.con_position', $this->lists['order_Dir'], $this->lists['order'] ); ?>
  66          </th>
  67          <?php endif; ?>
  68  
  69          <th id="Name" class="sectiontableheader<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  70              <?php echo JHTML::_('grid.sort', 'Name', 'cd.name', $this->lists['order_Dir'], $this->lists['order'] ); ?>
  71          </th>
  72  
  73          <?php if ($this->params->get('show_email')) : ?>
  74          <th id="Mail" class="sectiontableheader<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  75              <?php echo JText::_('Email'); ?>
  76          </th>
  77          <?php endif; ?>
  78  
  79          <?php if ( $this->params->get('show_telephone')) : ?>
  80          <th id="Phone" class="sectiontableheader<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  81              <?php echo JText::_('Phone'); ?>
  82          </th>
  83          <?php endif; ?>
  84  
  85          <?php if ($this->params->get('show_mobile')) : ?>
  86          <th id="mobile" class="sectiontableheader<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  87              <?php echo JText::_('Mobile'); ?>
  88          </th>
  89          <?php endif; ?>
  90  
  91          <?php if ( $this->params->get('show_fax')) : ?>
  92          <th id="Fax" class="sectiontableheader<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  93              <?php echo JText::_('Fax'); ?>
  94          </th>
  95          <?php endif; ?>
  96      </tr>
  97      <?php endif; ?>
  98  
  99      <?php echo $this->loadTemplate('items'); ?>
 100  </table>
 101  
 102  <p class="counter">
 103      <?php echo $this->pagination->getPagesCounter(); ?>
 104  </p>
 105  
 106  <?php echo $this->pagination->getPagesLinks(); ?>


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