[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/components/com_contact/views/category/tmpl/ -> default.php (source)

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


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