diff --git a/components/com_content/views/featured/tmpl/default.php b/components/com_content/views/featured/tmpl/default.php index a4efbbf8fc451..9dc401e2b9454 100644 --- a/components/com_content/views/featured/tmpl/default.php +++ b/components/com_content/views/featured/tmpl/default.php @@ -16,76 +16,50 @@ // If the page class is defined, add to class as suffix. // It will be a separate class if the user starts it with a space ?> -
+
params->get('show_page_heading') != 0) : ?> - + +

+escape($this->params->get('page_heading')); ?> +

+ - lead_items)) : ?> -
+
lead_items as &$item) : ?> -
- item = &$item; - echo $this->loadTemplate('item'); - ?> -
-
-
item = &$item; + echo $this->loadTemplate('item'); ?> -
-
+
intro_items)); $counter = 0; ?> intro_items)) : ?> +
intro_items as $key => &$item) : ?> - columns) + 1; - $row = $counter / $this->columns; - - if ($rowcount == 1) : ?> - -
- -
item = &$item; echo $this->loadTemplate('item'); ?> -
- - - columns) or ($counter == $introcount)): ?> - -
-
- - +
link_items)) : ?> -
+
-
+ params->def('show_pagination', 2) == 1 || ($this->params->get('show_pagination') == 2 && $this->pagination->pagesTotal > 1)) : ?> - + -
+ diff --git a/components/com_content/views/featured/tmpl/default_item.php b/components/com_content/views/featured/tmpl/default_item.php index b595fd8d562c0..9576039c4dd1d 100644 --- a/components/com_content/views/featured/tmpl/default_item.php +++ b/components/com_content/views/featured/tmpl/default_item.php @@ -15,7 +15,7 @@ $canEdit = $this->item->params->get('access-edit'); ?> item->state == 0) : ?> -
+
get('show_print_icon') || $params->get('show_email_icon') || $canEdit) : ?>
@@ -142,6 +142,6 @@ item->state == 0) : ?> -
+
item->event->afterDisplayContent; ?>