From e01ce0337d879ff34ba8acbf46f5a2f2669b86cc Mon Sep 17 00:00:00 2001 From: chmst Date: Wed, 6 Oct 2021 13:50:05 +0200 Subject: [PATCH] move expand button to first line of a category --- .../tmpl/categories/default_items.php | 29 ++++++++++--------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/src/components/com_weblinks/tmpl/categories/default_items.php b/src/components/com_weblinks/tmpl/categories/default_items.php index 8bccc81f777..200094d9802 100644 --- a/src/components/com_weblinks/tmpl/categories/default_items.php +++ b/src/components/com_weblinks/tmpl/categories/default_items.php @@ -20,15 +20,27 @@ items[$this->parent->id] as $id => $item) : ?> params->get('show_empty_categories_cat') || $item->numitems || count($item->getChildren())) : ?>
-
+
escape($item->title); ?> params->get('show_cat_num_links_cat') == 1) :?> - +   numitems; ?> + maxLevelcat > 1 && count($item->getChildren()) > 0) : ?> + +
params->get('show_subcat_desc_cat') == 1 && !empty($item->description)) : ?> @@ -51,18 +63,7 @@ > - maxLevelcat > 1 && count($item->getChildren()) > 0) : ?> - - + maxLevelcat > 1 && count($item->getChildren()) > 0) : ?>