diff --git a/templates/beez3/html/com_contact/contact/default.php b/templates/beez3/html/com_contact/contact/default.php index 1f758350179ec..2d19b51c172e0 100644 --- a/templates/beez3/html/com_contact/contact/default.php +++ b/templates/beez3/html/com_contact/contact/default.php @@ -11,12 +11,13 @@ $cparams = JComponentHelper::getParams('com_media'); ?> +
-params->get('show_page_heading')) : ?> -

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

- + params->get('show_page_heading')) : ?> +

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

+ contact->name && $this->params->get('show_name')) : ?> -
- - + params->get('show_email_form') && ($this->contact->email_to || $this->contact->user_id)) : ?> - params->get('presentation_style') == 'sliders'):?> -
-
- - - -
-
-
+ params->get('presentation_style') == 'sliders') : ?> + + + params->get('presentation_style') == 'tabs') : ?> + params->get('presentation_style') == 'plain'):?> '. JText::_('COM_CONTACT_EMAIL_FORM').''; ?> loadTemplate('form'); ?> - params->get('presentation_style') == 'sliders'):?> -
-
-
- + params->get('show_links')) : ?> @@ -118,79 +104,66 @@ params->get('show_articles') && $this->contact->user_id && $this->contact->articles) : ?> - params->get('presentation_style') == 'sliders'):?> -
-
- - - -
-
-
- - params->get('presentation_style') == 'plain'):?> + + params->get('presentation_style') == 'sliders') : + echo JHtml::_('sliders.panel', JText::_('JGLOBAL_ARTICLES'), 'display-articles'); ?> + + params->get('presentation_style') == 'tabs') : ?> + + + params->get('presentation_style') == 'plain'):?> '. JText::_('JGLOBAL_ARTICLES').''; ?> - - loadTemplate('articles'); ?> - params->get('presentation_style') == 'sliders'):?> -
-
-
- + + + loadTemplate('articles'); ?> + + params->get('show_profile') && $this->contact->user_id && JPluginHelper::isEnabled('user', 'profile')) : ?> - params->get('presentation_style') == 'sliders'):?> -
-
- - - -
-
-
+ + params->get('presentation_style') == 'sliders') : + echo JHtml::_('sliders.panel', JText::_('COM_CONTACT_PROFILE'), 'display-profile'); ?> + + params->get('presentation_style') == 'tabs') : ?> + params->get('presentation_style') == 'plain'):?> '. JText::_('COM_CONTACT_PROFILE').''; ?> + loadTemplate('profile'); ?> - params->get('presentation_style') == 'sliders'):?> -
-
-
- + + contact->misc && $this->params->get('show_misc')) : ?> - params->get('presentation_style') == 'sliders'):?> -
-
- - - -
-
-
+ + params->get('presentation_style') == 'sliders') : + echo JHtml::_('sliders.panel', JText::_('COM_CONTACT_OTHER_INFORMATION'), 'display-misc'); ?> + + params->get('presentation_style') == 'tabs') : ?> + params->get('presentation_style') == 'plain'):?> '. JText::_('COM_CONTACT_OTHER_INFORMATION').''; ?> -
-
-
- - params->get('marker_misc'); ?> - -
-
- - contact->misc; ?> - -
-
-
- params->get('presentation_style') == 'sliders'):?> -
-
-
- + +
+
+
+ + params->get('marker_misc'); ?> + +
+
+ + contact->misc; ?> + +
+
+
+ + params->get('presentation_style') == 'sliders') : + echo JHtml::_('sliders.end'); + endif; ?> diff --git a/templates/beez3/html/com_contact/contact/default_links.php b/templates/beez3/html/com_contact/contact/default_links.php index f59b37c4ea927..d761219956a6e 100644 --- a/templates/beez3/html/com_contact/contact/default_links.php +++ b/templates/beez3/html/com_contact/contact/default_links.php @@ -9,48 +9,37 @@ defined('_JEXEC') or die; -if ($this->params->get('presentation_style') == 'sliders'):?> -
-
- - - -
- -