芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/public_html/components/com_contact/tmpl/contact/default.php
* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Factory; use Joomla\CMS\Helper\ContentHelper; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\FileLayout; use Joomla\CMS\Plugin\PluginHelper; use Joomla\CMS\Router\Route; use Joomla\Component\Contact\Site\Helper\RouteHelper; $tparams = $this->item->params; $canDo = ContentHelper::getActions('com_contact', 'category', $this->item->catid); $canEdit = $canDo->get('core.edit') || ($canDo->get('core.edit.own') && $this->item->created_by === Factory::getUser()->id); $htag = $tparams->get('show_page_heading') ? 'h2' : 'h1'; ?>
get('show_page_heading')) : ?>
escape($tparams->get('page_heading')); ?>
item->name && $tparams->get('show_name')) : ?>
<> item->published == 0) : ?>
item->name; ?>
>
item, $tparams); ?>
get('show_contact_category'); ?>
item->category_title; ?>
item->catid, $this->item->language); ?>
escape($this->item->category_title); ?>
item->event->afterDisplayTitle; ?> get('show_contact_list') && count($this->contacts) > 1) : ?>
contacts, 'select_contact', 'class="form-select" onchange="document.location.href = this.value"', 'link', 'name', $this->item->link); ?>
get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?>
item->tagLayout = new FileLayout('joomla.content.tags'); ?> item->tagLayout->render($this->item->tags->itemTags); ?>
item->event->beforeDisplayContent; ?> params->get('show_info', 1)) : ?>
' . Text::_('COM_CONTACT_DETAILS') . ''; ?> item->image && $tparams->get('show_image')) : ?>
item->image, htmlspecialchars($this->item->name, ENT_QUOTES, 'UTF-8'), array('itemprop' => 'image') ); ?>
item->con_position && $tparams->get('show_position')) : ?>
:
item->con_position; ?>
loadTemplate('address'); ?> get('allow_vcard')) : ?>
get('show_email_form') && ($this->item->email_to || $this->item->user_id)) : ?> ' . Text::_('COM_CONTACT_EMAIL_FORM') . ''; ?> loadTemplate('form'); ?> get('show_links')) : ?> loadTemplate('links'); ?> get('show_articles') && $this->item->user_id && $this->item->articles) : ?> ' . Text::_('JGLOBAL_ARTICLES') . ''; ?> loadTemplate('articles'); ?> get('show_profile') && $this->item->user_id && PluginHelper::isEnabled('user', 'profile')) : ?> ' . Text::_('COM_CONTACT_PROFILE') . ''; ?> loadTemplate('profile'); ?> get('show_user_custom_fields') && $this->contactUser) : ?> loadTemplate('user_custom_fields'); ?> item->misc && $tparams->get('show_misc')) : ?> ' . Text::_('COM_CONTACT_OTHER_INFORMATION') . ''; ?>
params->get('marker_misc')) : ?>
params->get('marker_misc'); ?>
item->misc; ?>
item->event->afterDisplayContent; ?>