From 776863160b7a0c24d417a8c34f2671bd0db6b388 Mon Sep 17 00:00:00 2001 From: joomlart Date: Thu, 31 Jan 2013 13:19:39 +0700 Subject: [PATCH] Correct show/hide configration in backend for Article page --- .../base/html/com_content/article/default.php | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/source/plg_system_t3/base/html/com_content/article/default.php b/source/plg_system_t3/base/html/com_content/article/default.php index 350f827480..805e4794a2 100644 --- a/source/plg_system_t3/base/html/com_content/article/default.php +++ b/source/plg_system_t3/base/html/com_content/article/default.php @@ -15,10 +15,16 @@ // Create shortcuts to some parameters. $params = $this->item->params; -$images = json_decode($this->item->images); -$urls = json_decode($this->item->urls); +$images = json_decode($this->item->images); +$urls = json_decode($this->item->urls); $canEdit = $this->item->params->get('access-edit'); $user = JFactory::getUser(); +$aInfo = (($params->get('show_author') && !empty($this->item->author )) || + ($params->get('show_category')) || + ($params->get('show_create_date')) || + ($params->get('show_parent_category')) || + ($params->get('show_publish_date'))); +$exAction = ($canEdit || $params->get('show_print_icon') || $params->get('show_email_icon')); ?> params->get('show_page_heading', 1)) : ?> @@ -46,10 +52,11 @@ + + item->toc)) : ?> item->toc; ?>