From 5d0490e06596e44bc3433b060208a9786e5ee825 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CShivani=E2=80=9D?= <“shivani_p@tekditechjoomla.com”> Date: Wed, 19 Feb 2020 11:35:43 +0530 Subject: [PATCH] Bug #157798 fix: When user select global access control that time option & view fields should be removed and T&C should applied to all pages. --- .../com_tc/administrator/models/forms/content.xml | 10 +++++----- .../com_tc/administrator/views/content/tmpl/edit.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/com_tc/administrator/models/forms/content.xml b/src/components/com_tc/administrator/models/forms/content.xml index badd8e6..ef41836 100755 --- a/src/components/com_tc/administrator/models/forms/content.xml +++ b/src/components/com_tc/administrator/models/forms/content.xml @@ -14,15 +14,15 @@ - - - - - + + + + + diff --git a/src/components/com_tc/administrator/views/content/tmpl/edit.php b/src/components/com_tc/administrator/views/content/tmpl/edit.php index 6911e95..05da6f9 100755 --- a/src/components/com_tc/administrator/views/content/tmpl/edit.php +++ b/src/components/com_tc/administrator/views/content/tmpl/edit.php @@ -168,6 +168,7 @@ function(data) { echo $this->form->renderField('client'); echo $this->form->renderField('version'); echo $this->form->renderField('start_date'); + echo $this->form->renderField('global'); echo $this->form->renderField('url_pattern'); echo $this->form->renderField('content'); echo $this->form->renderField('email'); @@ -184,7 +185,6 @@ function(data) { form->renderField('groups'); echo $this->form->renderField('is_blacklist'); - echo $this->form->renderField('global'); // echo $this->form->renderField('enforce_delay_days'); ?>