| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * $Id: default.php 11917 2009-05-29 19:37:05Z ian $ 4 */ 5 defined( '_JEXEC' ) or die( 'Restricted access' ); 6 7 $cparams = JComponentHelper::getParams ('com_media'); 8 ?> 9 <?php if ( $this->params->get( 'show_page_title', 1 ) && !$this->contact->params->get( 'popup' ) && $this->params->get('page_title') != $this->contact->name ) : ?> 10 <div class="componentheading<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>"> 11 <?php echo $this->params->get( 'page_title' ); ?> 12 </div> 13 <?php endif; ?> 14 <div id="component-contact"> 15 <table width="100%" cellpadding="0" cellspacing="0" border="0" class="contentpaneopen<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>"> 16 <?php if ( $this->params->get( 'show_contact_list' ) && count( $this->contacts ) > 1) : ?> 17 <tr> 18 <td colspan="2" align="center"> 19 <br /> 20 <form action="<?php echo JRoute::_('index.php') ?>" method="post" name="selectForm" id="selectForm"> 21 <?php echo JText::_( 'Select Contact' ); ?>: 22 <br /> 23 <?php echo JHTML::_('select.genericlist', $this->contacts, 'contact_id', 'class="inputbox" onchange="this.form.submit()"', 'id', 'name', $this->contact->id);?> 24 <input type="hidden" name="option" value="com_contact" /> 25 </form> 26 </td> 27 </tr> 28 <?php endif; ?> 29 <?php if ( $this->contact->name && $this->contact->params->get( 'show_name' ) ) : ?> 30 <tr> 31 <td width="100%" class="contentheading<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>"> 32 <?php echo $this->escape($this->contact->name); ?> 33 </td> 34 </tr> 35 <?php endif; ?> 36 <?php if ( $this->contact->con_position && $this->contact->params->get( 'show_position' ) ) : ?> 37 <tr> 38 <td colspan="2"> 39 <?php echo $this->escape($this->contact->con_position); ?> 40 <br /><br /> 41 </td> 42 </tr> 43 <?php endif; ?> 44 <tr> 45 <td> 46 <table border="0" width="100%"> 47 <tr> 48 <td></td> 49 <td rowspan="2" align="right" valign="top"> 50 <?php if ( $this->contact->image && $this->contact->params->get( 'show_image' ) ) : ?> 51 <div style="float: right;"> 52 <?php echo JHTML::_('image', 'images/stories' . '/'.$this->contact->image, JText::_( 'Contact' ), array('align' => 'middle')); ?> 53 </div> 54 <?php endif; ?> 55 </td> 56 </tr> 57 <tr> 58 <td> 59 <?php echo $this->loadTemplate('address'); ?> 60 </td> 61 </tr> 62 </table> 63 </td> 64 <td> </td> 65 </tr> 66 <?php if ( $this->contact->params->get( 'allow_vcard' ) ) : ?> 67 <tr> 68 <td colspan="2"> 69 <?php echo JText::_( 'Download information as a' );?> 70 <a href="<?php echo JURI::base(); ?>index.php?option=com_contact&task=vcard&contact_id=<?php echo $this->contact->id; ?>&format=raw&tmpl=component"> 71 <?php echo JText::_( 'VCard' );?></a> 72 </td> 73 </tr> 74 <?php endif; 75 if ( $this->contact->params->get('show_email_form') && ($this->contact->email_to || $this->contact->user_id)) 76 echo $this->loadTemplate('form'); 77 ?> 78 </table> 79 </div>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |