From 9f53917bf7985daa0e9c288a3b0213451b84a226 Mon Sep 17 00:00:00 2001 From: chmst Date: Sat, 25 Sep 2021 23:46:01 +0200 Subject: [PATCH] move expand button to the end of a category description --- .../tmpl/categories/default_items.php | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/components/com_weblinks/tmpl/categories/default_items.php b/src/components/com_weblinks/tmpl/categories/default_items.php index fad8cd7621c..8857aeb94c0 100644 --- a/src/components/com_weblinks/tmpl/categories/default_items.php +++ b/src/components/com_weblinks/tmpl/categories/default_items.php @@ -30,7 +30,16 @@ - maxLevelcat > 1 && count($item->getChildren()) > 0) : ?> + params->get('show_subcat_desc_cat') == 1) : ?> + description) : ?> +
+ description, '', 'com_weblinks.categories'); ?> +
+ + + params->get('show_description_image') && $item->getParams()->get('image')) : ?> + <?php echo htmlspecialchars($item->getParams()->get('image_alt'), ENT_COMPAT, 'UTF-8'); ?> + maxLevelcat > 1 && count($item->getChildren()) > 0) : ?> - params->get('show_subcat_desc_cat') == 1) : ?> - description) : ?> -
- description, '', 'com_weblinks.categories'); ?> -
- - - params->get('show_description_image') && $item->getParams()->get('image')) : ?> - <?php echo htmlspecialchars($item->getParams()->get('image_alt'), ENT_COMPAT, 'UTF-8'); ?> - maxLevelcat > 1 && count($item->getChildren()) > 0) : ?>