📄 default.php
字号:
<?phpdefined('_JEXEC') or die('Restricted access');// temporary fix$hlevel = 2;$ptlevel = 1;if ($this->params->get('show_page_title')){ echo '<h' . $ptlevel . ' class="componentheading' . $this->params->get('pageclass_sfx') . '">'; echo $this->params->get( 'page_title' ); echo '</h' . $ptlevel . '>';}echo '<div class="contact'.$this->params->get( 'pageclass_sfx' ).'">';if ( $this->params->get( 'show_contact_list' ) && count( $this->contacts ) > 1){ echo '<form method="post" name="selectForm" id="selectForm">'; echo JText::_( 'Select Contact' ); echo '<br />'; echo JHTML::_('select.genericlist', $this->contacts, 'contact_id', 'class="inputbox" onchange="this.form.submit()"', 'id', 'name', $this->contact->id); echo '<input type="hidden" name="option" value="com_contact" />'; echo '</form>';}if ( $this->contact->name && $this->contact->params->get( 'show_name' ) ){ echo '<p>'; echo $this->contact->name; echo '</p>';}if ( $this->contact->con_position && $this->contact->params->get( 'show_position' ) ){ echo '<p>'; echo $this->contact->con_position; echo '</p>';}if ( $this->contact->image && $this->contact->params->get( 'show_image' ) ){ echo '<div style="float: right;">'; echo '<img src="images/stories/'. $this->contact->image.'" align="middle" alt="'. JText::_( 'Contact' ).'" />'; echo '</div>';}echo $this->loadTemplate('address');if ( $this->contact->params->get( 'allow_vcard' ) ){ echo '<p>'.JText::_( 'Download information as a' ).'<a href="index.php?option=com_contact&task=vcard&contact_id='.$this->contact->id.'&format=raw" >'; echo JText::_( 'VCard' ); echo '</a></p>';}if ( $this->contact->params->get('show_email_form') ){ echo $this->loadTemplate('form');}echo '</div>';?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -