From 0528642f9099e5f24158fd73051d6696585cc225 Mon Sep 17 00:00:00 2001 From: chmst Date: Thu, 12 Aug 2021 09:57:34 +0200 Subject: [PATCH] fix edit form caption --- src/components/com_weblinks/tmpl/category/default_items.php | 2 +- src/components/com_weblinks/tmpl/form/edit.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/com_weblinks/tmpl/category/default_items.php b/src/components/com_weblinks/tmpl/category/default_items.php index 48c4d6f..6d598d2 100644 --- a/src/components/com_weblinks/tmpl/category/default_items.php +++ b/src/components/com_weblinks/tmpl/category/default_items.php @@ -183,7 +183,7 @@ $listDirn = $this->escape($this->state->get('list.direction'));
itemprop="thumbnail" /> - image_first_caption)) : ?> + image_second_caption)) : ?>
image_second_caption, ENT_COMPAT, 'UTF-8'); ?>
diff --git a/src/components/com_weblinks/tmpl/form/edit.php b/src/components/com_weblinks/tmpl/form/edit.php index d3cc566..054da76 100644 --- a/src/components/com_weblinks/tmpl/form/edit.php +++ b/src/components/com_weblinks/tmpl/form/edit.php @@ -63,11 +63,13 @@ $params = $this->state->get('params'); form->renderField('image_first_alt', 'images'); ?> form->renderField('image_first_alt_empty', 'images'); ?> form->renderField('float_first', 'images'); ?> + form->renderField('image_first_caption', 'images'); ?> form->renderField('image_second', 'images'); ?> form->renderField('image_second_alt', 'images'); ?> form->renderField('image_second_alt_empty', 'images'); ?> form->renderField('float_second', 'images'); ?> + form->renderField('image_second_caption', 'images'); ?>