contatti
This commit is contained in:
@ -43,6 +43,7 @@ if ($canEdit) {
|
||||
|
||||
$listOrder = $this->escape($this->state->get('list.ordering'));
|
||||
$listDirn = $this->escape($this->state->get('list.direction'));
|
||||
$baseImagePath = Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
|
||||
?>
|
||||
<div class="com-contact-category__items">
|
||||
<form action="<?php echo htmlspecialchars(Uri::getInstance()->toString()); ?>" method="post" name="adminForm" id="adminForm">
|
||||
@ -83,109 +84,119 @@ $listDirn = $this->escape($this->state->get('list.direction'));
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<caption class="visually-hidden">
|
||||
<?php echo Text::_('COM_CONTACT_TABLE_CAPTION'); ?>,
|
||||
</caption>
|
||||
|
||||
<ul class="category row-striped">
|
||||
<div class="it-list-wrapper">
|
||||
<ul class="it-list">
|
||||
<?php foreach ($this->items as $i => $item) : ?>
|
||||
|
||||
<li class="row-fluid cat-list-row0">
|
||||
<div class="list-titles">
|
||||
<a href="<?php echo Route::_(RouteHelper::getContactRoute($item->slug, $item->catid, $item->language)); ?>">
|
||||
<?php if ($this->params->get('show_image_heading')) : ?>
|
||||
<?php if ($item->image) : ?>
|
||||
<?php echo LayoutHelper::render(
|
||||
'joomla.html.image',
|
||||
[
|
||||
'src' => $item->image,
|
||||
'alt' => '',
|
||||
'class' => 'contact-thumbnail img-thumbnail',
|
||||
]
|
||||
); ?>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $this->escape($item->name); ?>
|
||||
</a>
|
||||
<br/>
|
||||
<?php if ($item->published == 0) : ?>
|
||||
<div>
|
||||
<span class="list-published badge bg-warning text-light">
|
||||
<?php echo Text::_('JUNPUBLISHED'); ?>
|
||||
</span>
|
||||
<li>
|
||||
<div class="list-item">
|
||||
<div class="it-rounded-icon">
|
||||
<svg class="icon icon-red">
|
||||
<title>Email</title>
|
||||
<use xlink:href="<?= $baseImagePath ?>sprites.svg#it-mail"></use>
|
||||
</svg>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php if ($item->publish_up && strtotime($item->publish_up) > strtotime(Factory::getDate())) : ?>
|
||||
<div>
|
||||
<span class="list-published badge bg-warning text-light">
|
||||
<?php echo Text::_('JNOTPUBLISHEDYET'); ?>
|
||||
</span>
|
||||
<div class="it-right-zone">
|
||||
<div>
|
||||
<h5 class="text m-0">
|
||||
<a href="<?php echo Route::_(RouteHelper::getContactRoute($item->slug, $item->catid, $item->language)); ?>">
|
||||
<?php if ($this->params->get('show_image_heading')) : ?>
|
||||
<?php if ($item->image) : ?>
|
||||
<?php echo LayoutHelper::render(
|
||||
'joomla.html.image',
|
||||
[
|
||||
'src' => $item->image,
|
||||
'alt' => '',
|
||||
'class' => 'contact-thumbnail img-thumbnail',
|
||||
]
|
||||
); ?>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $this->escape($item->name); ?>
|
||||
</a>
|
||||
</h5>
|
||||
<p class="m-0">
|
||||
<?php if ($item->published == 0) : ?>
|
||||
<div>
|
||||
<span class="list-published badge bg-warning text-light">
|
||||
<?php echo Text::_('JUNPUBLISHED'); ?>
|
||||
</span>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php if ($item->publish_up && strtotime($item->publish_up) > strtotime(Factory::getDate())) : ?>
|
||||
<div>
|
||||
<span class="list-published badge bg-warning text-light">
|
||||
<?php echo Text::_('JNOTPUBLISHEDYET'); ?>
|
||||
</span>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php if (!is_null($item->publish_down) && strtotime($item->publish_down) < strtotime(Factory::getDate())) : ?>
|
||||
<div>
|
||||
<span class="list-published badge bg-warning text-light">
|
||||
<?php echo Text::_('JEXPIRED'); ?>
|
||||
</span>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php if ($item->published == -2) : ?>
|
||||
<div>
|
||||
<span class="badge bg-warning text-light">
|
||||
<?php echo Text::_('JTRASHED'); ?>
|
||||
</span>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo $item->event->afterDisplayTitle; ?>
|
||||
|
||||
<?php echo $item->event->beforeDisplayContent; ?>
|
||||
|
||||
<?php if ($this->params->get('show_telephone_headings') && !empty($item->telephone)) : ?>
|
||||
<?php echo Text::sprintf('COM_CONTACT_TELEPHONE_NUMBER', $item->telephone); ?><br>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('show_mobile_headings') && !empty($item->mobile)) : ?>
|
||||
<?php echo Text::sprintf('COM_CONTACT_MOBILE_NUMBER', $item->mobile); ?><br>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('show_fax_headings') && !empty($item->fax)) : ?>
|
||||
<?php echo Text::sprintf('COM_CONTACT_FAX_NUMBER', $item->fax); ?><br>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('show_position_headings') && !empty($item->con_position)) : ?>
|
||||
<?php echo $item->con_position; ?><br>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('show_email_headings') && !empty($item->email_to)) : ?>
|
||||
<?php echo $item->email_to; ?><br>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php $location = []; ?>
|
||||
<?php if ($this->params->get('show_suburb_headings') && !empty($item->suburb)) : ?>
|
||||
<?php $location[] = $item->suburb; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('show_state_headings') && !empty($item->state)) : ?>
|
||||
<?php $location[] = $item->state; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('show_country_headings') && !empty($item->country)) : ?>
|
||||
<?php $location[] = $item->country; ?>
|
||||
<?php endif; ?>
|
||||
<?php echo implode(', ', $location); ?>
|
||||
|
||||
<?php echo $item->event->afterDisplayContent; ?>
|
||||
|
||||
<?php if ($canEdit || ($canDo->get('core.edit.own') && $item->created_by === $userId)) : ?>
|
||||
<br/>
|
||||
<?php echo HTMLHelper::_('contacticon.edit', $item, $this->params); ?>
|
||||
<br/>
|
||||
<?php endif; ?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php if (!is_null($item->publish_down) && strtotime($item->publish_down) < strtotime(Factory::getDate())) : ?>
|
||||
<div>
|
||||
<span class="list-published badge bg-warning text-light">
|
||||
<?php echo Text::_('JEXPIRED'); ?>
|
||||
</span>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php if ($item->published == -2) : ?>
|
||||
<div>
|
||||
<span class="badge bg-warning text-light">
|
||||
<?php echo Text::_('JTRASHED'); ?>
|
||||
</span>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo $item->event->afterDisplayTitle; ?>
|
||||
|
||||
<?php echo $item->event->beforeDisplayContent; ?>
|
||||
|
||||
<?php if ($this->params->get('show_telephone_headings') && !empty($item->telephone)) : ?>
|
||||
<?php echo Text::sprintf('COM_CONTACT_TELEPHONE_NUMBER', $item->telephone); ?><br>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('show_mobile_headings') && !empty($item->mobile)) : ?>
|
||||
<?php echo Text::sprintf('COM_CONTACT_MOBILE_NUMBER', $item->mobile); ?><br>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('show_fax_headings') && !empty($item->fax)) : ?>
|
||||
<?php echo Text::sprintf('COM_CONTACT_FAX_NUMBER', $item->fax); ?><br>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('show_position_headings') && !empty($item->con_position)) : ?>
|
||||
<?php echo $item->con_position; ?><br>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('show_email_headings') && !empty($item->email_to)) : ?>
|
||||
<?php echo $item->email_to; ?><br>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php $location = []; ?>
|
||||
<?php if ($this->params->get('show_suburb_headings') && !empty($item->suburb)) : ?>
|
||||
<?php $location[] = $item->suburb; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('show_state_headings') && !empty($item->state)) : ?>
|
||||
<?php $location[] = $item->state; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('show_country_headings') && !empty($item->country)) : ?>
|
||||
<?php $location[] = $item->country; ?>
|
||||
<?php endif; ?>
|
||||
<?php echo implode(', ', $location); ?>
|
||||
|
||||
<?php echo $item->event->afterDisplayContent; ?>
|
||||
|
||||
<?php if ($canEdit || ($canDo->get('core.edit.own') && $item->created_by === $userId)) : ?>
|
||||
<br/>
|
||||
<?php echo HTMLHelper::_('contacticon.edit', $item, $this->params); ?>
|
||||
<br/>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
@ -28,164 +28,160 @@ $htag2 = ($tparams->get('show_page_heading') && $tparams->get('show_name')) ?
|
||||
|
||||
?>
|
||||
|
||||
<div class="com-contact contact">
|
||||
<?php if ($tparams->get('show_page_heading')) : ?>
|
||||
<h1>
|
||||
<?php echo $this->escape($tparams->get('page_heading')); ?>
|
||||
</h1>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->item->name && $tparams->get('show_name')) : ?>
|
||||
<div class="page-header">
|
||||
<<?php echo $htag; ?>>
|
||||
<?php if ($this->item->published == 0) : ?>
|
||||
<span class="badge bg-warning text-light"><?php echo Text::_('JUNPUBLISHED'); ?></span>
|
||||
|
||||
|
||||
<div class="container ps-4">
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-9 pe-lg-5">
|
||||
<div class="com-contact contact">
|
||||
<?php if ($tparams->get('show_page_heading')) : ?>
|
||||
<h1>
|
||||
<?php echo $this->escape($tparams->get('page_heading')); ?>
|
||||
</h1>
|
||||
<?php endif; ?>
|
||||
<span class="contact-name"><?php echo $this->item->name; ?></span>
|
||||
</<?php echo $htag; ?>>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($canEdit) : ?>
|
||||
<div class="icons">
|
||||
<div class="float-end">
|
||||
<div>
|
||||
<?php echo HTMLHelper::_('contacticon.edit', $this->item, $tparams); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php $show_contact_category = $tparams->get('show_contact_category'); ?>
|
||||
|
||||
<?php if ($show_contact_category === 'show_no_link') : ?>
|
||||
<<?php echo $htag2; ?>>
|
||||
<span class="contact-category"><?php echo $this->item->category_title; ?></span>
|
||||
</<?php echo $htag2; ?>>
|
||||
<?php elseif ($show_contact_category === 'show_with_link') : ?>
|
||||
<?php $contactLink = RouteHelper::getCategoryRoute($this->item->catid, $this->item->language); ?>
|
||||
<<?php echo $htag2; ?>>
|
||||
<span class="contact-category"><a href="<?php echo $contactLink; ?>">
|
||||
<?php echo $this->escape($this->item->category_title); ?></a>
|
||||
</span>
|
||||
</<?php echo $htag2; ?>>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo $this->item->event->afterDisplayTitle; ?>
|
||||
|
||||
<?php if ($tparams->get('show_contact_list') && count($this->contacts) > 1) : ?>
|
||||
<form action="#" method="get" name="selectForm" id="selectForm">
|
||||
<label for="select_contact"><?php echo Text::_('COM_CONTACT_SELECT_CONTACT'); ?></label>
|
||||
<?php echo HTMLHelper::_(
|
||||
'select.genericlist',
|
||||
$this->contacts,
|
||||
'select_contact',
|
||||
'class="form-select" onchange="document.location.href = this.value"',
|
||||
'link',
|
||||
'name',
|
||||
$this->item->link
|
||||
);
|
||||
?>
|
||||
</form>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($tparams->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?>
|
||||
<div class="com-contact__tags">
|
||||
<?php $this->item->tagLayout = new FileLayout('joomla.content.tags'); ?>
|
||||
<?php echo $this->item->tagLayout->render($this->item->tags->itemTags); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo $this->item->event->beforeDisplayContent; ?>
|
||||
|
||||
<?php if ($this->params->get('show_info', 1)) : ?>
|
||||
<div class="com-contact__container">
|
||||
<?php echo '<' . $htag2 . '>' . Text::_('COM_CONTACT_DETAILS') . '</' . $htag2 . '>'; ?>
|
||||
|
||||
<?php if ($this->item->image && $tparams->get('show_image')) : ?>
|
||||
<div class="com-contact__thumbnail thumbnail">
|
||||
<?php echo LayoutHelper::render(
|
||||
'joomla.html.image',
|
||||
[
|
||||
'src' => $this->item->image,
|
||||
'alt' => $this->item->name,
|
||||
]
|
||||
); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->item->con_position && $tparams->get('show_position')) : ?>
|
||||
<dl class="com-contact__position contact-position dl-horizontal">
|
||||
<dt><?php echo Text::_('COM_CONTACT_POSITION'); ?>:</dt>
|
||||
<dd>
|
||||
<?php echo $this->item->con_position; ?>
|
||||
</dd>
|
||||
</dl>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="com-contact__info">
|
||||
<?php echo $this->loadTemplate('address'); ?>
|
||||
|
||||
<?php if ($tparams->get('allow_vcard')) : ?>
|
||||
<?php echo Text::_('COM_CONTACT_DOWNLOAD_INFORMATION_AS'); ?>
|
||||
<a href="<?php echo Route::_('index.php?option=com_contact&view=contact&catid=' . $this->item->catslug . '&id=' . $this->item->slug . '&format=vcf'); ?>">
|
||||
<?php echo Text::_('COM_CONTACT_VCARD'); ?></a>
|
||||
<?php if ($this->item->name && $tparams->get('show_name')) : ?>
|
||||
<div class="page-header py-3">
|
||||
<<?php echo $htag; ?>>
|
||||
<?php if ($this->item->published == 0) : ?>
|
||||
<span class="badge bg-warning text-light"><?php echo Text::_('JUNPUBLISHED'); ?></span>
|
||||
<?php endif; ?>
|
||||
<span class="contact-name"><?php echo $this->item->name; ?></span>
|
||||
</<?php echo $htag; ?>>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php if ($canEdit) : ?>
|
||||
<div class="icons">
|
||||
<div class="float-end">
|
||||
<div>
|
||||
<?php echo HTMLHelper::_('contacticon.edit', $this->item, $tparams); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($tparams->get('show_email_form') && ($this->item->email_to || $this->item->user_id)) : ?>
|
||||
<?php echo '<' . $htag2 . '>' . Text::_('COM_CONTACT_EMAIL_FORM') . '</' . $htag2 . '>'; ?>
|
||||
<?php $show_contact_category = $tparams->get('show_contact_category'); ?>
|
||||
|
||||
<?php echo $this->loadTemplate('form'); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($tparams->get('show_links')) : ?>
|
||||
<?php echo '<' . $htag2 . '>' . Text::_('COM_CONTACT_LINKS') . '</' . $htag2 . '>'; ?>
|
||||
|
||||
<?php echo $this->loadTemplate('links'); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($tparams->get('show_articles') && $this->item->user_id && $this->item->articles) : ?>
|
||||
<?php echo '<' . $htag2 . '>' . Text::_('JGLOBAL_ARTICLES') . '</' . $htag2 . '>'; ?>
|
||||
|
||||
<?php echo $this->loadTemplate('articles'); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($tparams->get('show_profile') && $this->item->user_id && PluginHelper::isEnabled('user', 'profile')) : ?>
|
||||
<?php echo '<' . $htag2 . '>' . Text::_('COM_CONTACT_PROFILE') . '</' . $htag2 . '>'; ?>
|
||||
|
||||
<?php echo $this->loadTemplate('profile'); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($tparams->get('show_user_custom_fields') && $this->contactUser) : ?>
|
||||
<?php echo $this->loadTemplate('user_custom_fields'); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->item->misc && $tparams->get('show_misc')) : ?>
|
||||
<?php echo '<' . $htag2 . '>' . Text::_('COM_CONTACT_OTHER_INFORMATION') . '</' . $htag2 . '>'; ?>
|
||||
|
||||
<div class="com-contact__miscinfo contact-miscinfo">
|
||||
<dl class="dl-horizontal">
|
||||
<dt>
|
||||
<?php if (!$this->params->get('marker_misc')) : ?>
|
||||
<span class="icon-info-circle" aria-hidden="true"></span>
|
||||
<span class="visually-hidden"><?php echo Text::_('COM_CONTACT_OTHER_INFORMATION'); ?></span>
|
||||
<?php else : ?>
|
||||
<span class="<?php echo $this->params->get('marker_class'); ?>">
|
||||
<?php echo $this->params->get('marker_misc'); ?>
|
||||
<?php if ($show_contact_category === 'show_no_link') : ?>
|
||||
<<?php echo $htag2; ?>>
|
||||
<span class="contact-category"><?php echo $this->item->category_title; ?></span>
|
||||
</<?php echo $htag2; ?>>
|
||||
<?php elseif ($show_contact_category === 'show_with_link') : ?>
|
||||
<?php $contactLink = RouteHelper::getCategoryRoute($this->item->catid, $this->item->language); ?>
|
||||
<<?php echo $htag2; ?>>
|
||||
<span class="contact-category"><a href="<?php echo $contactLink; ?>">
|
||||
<?php echo $this->escape($this->item->category_title); ?></a>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
</dt>
|
||||
<dd>
|
||||
<span class="contact-misc">
|
||||
</<?php echo $htag2; ?>>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo $this->item->event->afterDisplayTitle; ?>
|
||||
|
||||
<?php if ($tparams->get('show_contact_list') && count($this->contacts) > 1) : ?>
|
||||
<form action="#" method="get" name="selectForm" id="selectForm" class="mb-4">
|
||||
<label for="select_contact" class="small"><?php echo Text::_('COM_CONTACT_SELECT_CONTACT'); ?></label>
|
||||
<?php echo HTMLHelper::_(
|
||||
'select.genericlist',
|
||||
$this->contacts,
|
||||
'select_contact',
|
||||
'class="form-select" onchange="document.location.href = this.value"',
|
||||
'link',
|
||||
'name',
|
||||
$this->item->link
|
||||
);
|
||||
?>
|
||||
</form>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($tparams->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?>
|
||||
<div class="com-contact__tags">
|
||||
<?php $this->item->tagLayout = new FileLayout('joomla.content.tags'); ?>
|
||||
<?php echo $this->item->tagLayout->render($this->item->tags->itemTags); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo $this->item->event->beforeDisplayContent; ?>
|
||||
|
||||
<?php if ($this->params->get('show_info', 1)) : ?>
|
||||
<div class="com-contact__container">
|
||||
<?php echo '<' . $htag2 . '>' . Text::_('COM_CONTACT_DETAILS') . '</' . $htag2 . '>'; ?>
|
||||
|
||||
<?php if ($this->item->image && $tparams->get('show_image')) : ?>
|
||||
<div class="com-contact__thumbnail thumbnail">
|
||||
<?php echo LayoutHelper::render(
|
||||
'joomla.html.image',
|
||||
[
|
||||
'src' => $this->item->image,
|
||||
'alt' => $this->item->name,
|
||||
]
|
||||
); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php if ($this->item->con_position && $tparams->get('show_position')) : ?>
|
||||
<dl class="com-contact__position contact-position dl-horizontal">
|
||||
<dt><?php echo Text::_('COM_CONTACT_POSITION'); ?>:</dt>
|
||||
<dd>
|
||||
<?php echo $this->item->con_position; ?>
|
||||
</dd>
|
||||
</dl>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="com-contact__info">
|
||||
<?php echo $this->loadTemplate('address'); ?>
|
||||
|
||||
<?php if ($tparams->get('allow_vcard')) : ?>
|
||||
<?php echo Text::_('COM_CONTACT_DOWNLOAD_INFORMATION_AS'); ?>
|
||||
<a href="<?php echo Route::_('index.php?option=com_contact&view=contact&catid=' . $this->item->catslug . '&id=' . $this->item->slug . '&format=vcf'); ?>">
|
||||
<?php echo Text::_('COM_CONTACT_VCARD'); ?></a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($tparams->get('show_email_form') && ($this->item->email_to || $this->item->user_id)) : ?>
|
||||
<?php echo '<' . $htag2 . '>' . Text::_('COM_CONTACT_EMAIL_FORM') . '</' . $htag2 . '>'; ?>
|
||||
|
||||
<?php echo $this->loadTemplate('form'); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($tparams->get('show_links')) : ?>
|
||||
<?php echo '<' . $htag2 . '>' . Text::_('COM_CONTACT_LINKS') . '</' . $htag2 . '>'; ?>
|
||||
|
||||
<?php echo $this->loadTemplate('links'); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($tparams->get('show_articles') && $this->item->user_id && $this->item->articles) : ?>
|
||||
<?php echo '<' . $htag2 . '>' . Text::_('JGLOBAL_ARTICLES') . '</' . $htag2 . '>'; ?>
|
||||
|
||||
<?php echo $this->loadTemplate('articles'); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($tparams->get('show_profile') && $this->item->user_id && PluginHelper::isEnabled('user', 'profile')) : ?>
|
||||
<?php echo '<' . $htag2 . '>' . Text::_('COM_CONTACT_PROFILE') . '</' . $htag2 . '>'; ?>
|
||||
|
||||
<?php echo $this->loadTemplate('profile'); ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($tparams->get('show_user_custom_fields') && $this->contactUser) : ?>
|
||||
<?php echo $this->loadTemplate('user_custom_fields'); ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->item->misc && $tparams->get('show_misc')) : ?>
|
||||
<div class="alert alert-warning" role="alert">
|
||||
<h5 class="alert-heading"><?= Text::_('COM_CONTACT_OTHER_INFORMATION'); ?></H5>
|
||||
<?php echo $this->item->misc; ?>
|
||||
</span>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php echo $this->item->event->afterDisplayContent; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php echo $this->item->event->afterDisplayContent; ?>
|
||||
</div>
|
||||
<div class="col-12 col-lg-3 p-0 pt-lg-2 mb-3 ps-lg-3">
|
||||
<div class="menu-laterale">
|
||||
<?= JHtml::_('content.prepare', '{loadposition right}'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -79,7 +79,7 @@ $baseImagePath = Uri::root(false) . "media/templates/site/joomla-italia-theme/im
|
||||
<div class="container">
|
||||
<div class="row px-3">
|
||||
<div class="col-12 col-lg-9 pe-lg-5">
|
||||
<section class="accauno-title pb-3 mb-4">
|
||||
<section class="accauno-title mb-4">
|
||||
<h1><?php echo $this->escape($this->item->title); ?></h1>
|
||||
</section>
|
||||
<article class="article-wrapper">
|
||||
|
||||
Reference in New Issue
Block a user