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