From edd4160e311aaf29e6a2cda06e4624d7ffc18c28 Mon Sep 17 00:00:00 2001 From: Anu1601CS Date: Fri, 20 Jul 2018 08:26:21 +0530 Subject: [PATCH 1/2] fix error --- .../components/com_templates/tmpl/style/edit.php | 16 ++++++++-------- layouts/joomla/form/field/media.php | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/administrator/components/com_templates/tmpl/style/edit.php b/administrator/components/com_templates/tmpl/style/edit.php index 51a534d5ff360..59a6dabe5891b 100644 --- a/administrator/components/com_templates/tmpl/style/edit.php +++ b/administrator/components/com_templates/tmpl/style/edit.php @@ -23,9 +23,9 @@
- 'details')); ?> + 'details')); ?> - +
@@ -73,12 +73,12 @@
- + - + - + authorise('core.edit', 'com_menus') && $this->item->client_id == 0 && $this->canDo->get('core.edit.state')) : ?> - + loadTemplate('assignment'); ?> - + - + diff --git a/layouts/joomla/form/field/media.php b/layouts/joomla/form/field/media.php index a6cea37945e6b..76737a213a104 100644 --- a/layouts/joomla/form/field/media.php +++ b/layouts/joomla/form/field/media.php @@ -100,7 +100,7 @@ : ($link ? $link : 'index.php?option=com_media&tmpl=component&asset=' . $asset . '&author=' . $authorId) - . '&fieldid={field-media-id}&path=' . $folder); + . '&fieldid={field-media-id}&path=local-0:/' . $folder); ?> From 50a78b7677027f7383ca643348f97608003c8938 Mon Sep 17 00:00:00 2001 From: Anu1601CS Date: Fri, 20 Jul 2018 08:28:23 +0530 Subject: [PATCH 2/2] revert --- .../components/com_templates/tmpl/style/edit.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/administrator/components/com_templates/tmpl/style/edit.php b/administrator/components/com_templates/tmpl/style/edit.php index 59a6dabe5891b..51a534d5ff360 100644 --- a/administrator/components/com_templates/tmpl/style/edit.php +++ b/administrator/components/com_templates/tmpl/style/edit.php @@ -23,9 +23,9 @@
- 'details')); ?> + 'details')); ?> - +
@@ -73,12 +73,12 @@
- + - + - + authorise('core.edit', 'com_menus') && $this->item->client_id == 0 && $this->canDo->get('core.edit.state')) : ?> - + loadTemplate('assignment'); ?> - + - +