diff --git a/templates/beez3/html/com_contact/contact/default.php b/templates/beez3/html/com_contact/contact/default.php index 8e91433df3a74..d5ac7b936ca99 100644 --- a/templates/beez3/html/com_contact/contact/default.php +++ b/templates/beez3/html/com_contact/contact/default.php @@ -10,27 +10,29 @@ defined('_JEXEC') or die; $cparams = JComponentHelper::getParams('com_media'); +$tparams = $this->item->params; + ?> -
- params->get('show_page_heading')) : ?> +
+ get('show_page_heading')) : ?>

- escape($this->params->get('page_heading')); ?> + escape($tparams->get('page_heading')); ?>

- contact->name && $this->params->get('show_name')) : ?> + contact->name && $tparams->get('show_name')) : ?> - params->get('show_contact_category') === 'show_no_link') : ?> + get('show_contact_category') === 'show_no_link') : ?>

contact->category_title; ?>

- params->get('show_contact_category') === 'show_with_link') : ?> + get('show_contact_category') === 'show_with_link') : ?> contact->catid);?>

@@ -41,40 +43,40 @@ item->event->afterDisplayTitle; ?> - params->get('show_contact_list') && count($this->contacts) > 1) : ?> + get('show_contact_list') && count($this->contacts) > 1) : ?>
contacts, 'id', 'class="inputbox" onchange="document.location.href = this.value"', 'link', 'name', $this->contact->link);?>
- params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?> + get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?> item->tagLayout = new JLayoutFile('joomla.content.tags'); ?> item->tagLayout->render($this->item->tags->itemTags); ?> item->event->beforeDisplayContent; ?> - params->get('presentation_style') === 'sliders') : ?> + get('presentation_style') === 'sliders') : ?> '1')); ?> - params->get('presentation_style') === 'tabs') : ?> + get('presentation_style') === 'tabs') : ?> '1')); ?> - params->get('presentation_style') === 'plain'):?> + get('presentation_style') === 'plain'):?> ' . JText::_('COM_CONTACT_DETAILS') . '

'; ?> - contact->image && $this->params->get('show_image')) : ?> + contact->image && $tparams->get('show_image')) : ?>
contact->image, $this->contact->name, array('align' => 'middle')); ?>
- contact->con_position && $this->params->get('show_position')) : ?> + contact->con_position && $tparams->get('show_position')) : ?>
contact->con_position; ?> @@ -84,40 +86,40 @@ loadTemplate('address'); ?> - params->get('allow_vcard')) : ?> + get('allow_vcard')) : ?> - params->get('show_email_form') && ($this->contact->email_to || $this->contact->user_id)) : ?> + get('show_email_form') && ($this->contact->email_to || $this->contact->user_id)) : ?> - params->get('presentation_style') === 'sliders') : ?> + get('presentation_style') === 'sliders') : ?> - params->get('presentation_style') === 'tabs') : ?> + get('presentation_style') === 'tabs') : ?> - params->get('presentation_style') === 'plain'):?> + get('presentation_style') === 'plain') : ?> '. JText::_('COM_CONTACT_EMAIL_FORM').''; ?> loadTemplate('form'); ?> - params->get('show_links')) : ?> + get('show_links')) : ?> loadTemplate('links'); ?> - params->get('show_articles') && $this->contact->user_id && $this->contact->articles) : ?> + get('show_articles') && $this->contact->user_id && $this->contact->articles) : ?> - params->get('presentation_style') === 'sliders') : + get('presentation_style') === 'sliders') : echo JHtml::_('sliders.panel', JText::_('JGLOBAL_ARTICLES'), 'display-articles'); ?> - params->get('presentation_style') === 'tabs') : ?> + get('presentation_style') === 'tabs') : ?> - params->get('presentation_style') === 'plain'):?> + get('presentation_style') === 'plain'):?> '. JText::_('JGLOBAL_ARTICLES').''; ?> @@ -125,15 +127,15 @@ - params->get('show_profile') && $this->contact->user_id && JPluginHelper::isEnabled('user', 'profile')) : ?> + get('show_profile') && $this->contact->user_id && JPluginHelper::isEnabled('user', 'profile')) : ?> - params->get('presentation_style') === 'sliders') : + get('presentation_style') === 'sliders') : echo JHtml::_('sliders.panel', JText::_('COM_CONTACT_PROFILE'), 'display-profile'); ?> - params->get('presentation_style') === 'tabs') : ?> + get('presentation_style') === 'tabs') : ?> - params->get('presentation_style') === 'plain'):?> + get('presentation_style') === 'plain') : ?> '. JText::_('COM_CONTACT_PROFILE').''; ?> @@ -141,27 +143,27 @@ - params->get('show_user_custom_fields') && $this->contactUser) : ?> + get('show_user_custom_fields') && $this->contactUser) : ?> loadTemplate('user_custom_fields'); ?> - contact->misc && $this->params->get('show_misc')) : ?> + contact->misc && $tparams->get('show_misc')) : ?> - params->get('presentation_style') === 'sliders') : + get('presentation_style') === 'sliders') : echo JHtml::_('sliders.panel', JText::_('COM_CONTACT_OTHER_INFORMATION'), 'display-misc'); ?> - params->get('presentation_style') === 'tabs') : ?> + get('presentation_style') === 'tabs') : ?> - params->get('presentation_style') === 'plain'):?> + get('presentation_style') === 'plain') : ?> '. JText::_('COM_CONTACT_OTHER_INFORMATION').''; ?>
- - params->get('marker_misc'); ?> + + get('marker_misc'); ?>
@@ -173,7 +175,7 @@
- params->get('presentation_style') === 'sliders') : + get('presentation_style') === 'sliders') : echo JHtml::_('sliders.end'); endif; ?> diff --git a/templates/beez3/html/com_contact/contact/default_address.php b/templates/beez3/html/com_contact/contact/default_address.php index 5a4eb2287a75c..048b83c4c0530 100644 --- a/templates/beez3/html/com_contact/contact/default_address.php +++ b/templates/beez3/html/com_contact/contact/default_address.php @@ -12,53 +12,56 @@ /* marker_class: Class based on the selection of text, none, or icons * jicon-text, jicon-none, jicon-icon */ + +$tparams = $this->item->params; + ?>
-params->get('address_check') > 0) && ($this->contact->address || $this->contact->suburb || $this->contact->state || $this->contact->country || $this->contact->postcode)) : ?> - params->get('address_check') > 0) : ?> +get('address_check') > 0) && ($this->contact->address || $this->contact->suburb || $this->contact->state || $this->contact->country || $this->contact->postcode)) : ?> + get('address_check') > 0) : ?>
- - params->get('marker_address'); ?> + + get('marker_address'); ?>
- contact->address && $this->params->get('show_street_address')) : ?> + contact->address && $tparams->get('show_street_address')) : ?> contact->address); ?> - contact->suburb && $this->params->get('show_suburb')) : ?> + contact->suburb && $tparams->get('show_suburb')) : ?> contact->suburb; ?> - contact->state && $this->params->get('show_state')) : ?> + contact->state && $tparams->get('show_state')) : ?> contact->state; ?> - contact->postcode && $this->params->get('show_postcode')) : ?> + contact->postcode && $tparams->get('show_postcode')) : ?> contact->postcode; ?> - contact->country && $this->params->get('show_country')) : ?> + contact->country && $tparams->get('show_country')) : ?> contact->country; ?> -params->get('address_check') > 0) : ?> +get('address_check') > 0) : ?>
-contact->email_to && $this->params->get('show_email')) : ?> +contact->email_to && $tparams->get('show_email')) : ?>
- - params->get('marker_email'); ?> + + get('marker_email'); ?>
@@ -68,10 +71,10 @@
-contact->telephone && $this->params->get('show_telephone')) : ?> +contact->telephone && $tparams->get('show_telephone')) : ?>
- - params->get('marker_telephone'); ?> + + get('marker_telephone'); ?>
@@ -80,10 +83,10 @@
-contact->fax && $this->params->get('show_fax')) : ?> +contact->fax && $tparams->get('show_fax')) : ?>
- - params->get('marker_fax'); ?> + + get('marker_fax'); ?>
@@ -92,10 +95,10 @@
-contact->mobile && $this->params->get('show_mobile')) :?> +contact->mobile && $tparams->get('show_mobile')) :?>
- - params->get('marker_mobile'); ?> + + get('marker_mobile'); ?>
@@ -104,9 +107,9 @@
-contact->webpage && $this->params->get('show_webpage')) : ?> +contact->webpage && $tparams->get('show_webpage')) : ?>
- +