Skip to content

Commit

Permalink
[imp] avoid to open div and closing it in different files. Fixes #6134
Browse files Browse the repository at this point in the history
  • Loading branch information
phproberto committed Mar 15, 2015
1 parent faf6e42 commit 958b508
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
8 changes: 5 additions & 3 deletions components/com_contact/views/categories/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@
});
});
});");

echo JLayoutHelper::render('joomla.content.categories_default', $this);
echo $this->loadTemplate('items');
?>
<div class="categories-list<?php echo $this->pageclass_sfx;?>">
<?php
echo JLayoutHelper::render('joomla.content.categories_default', $this);
echo $this->loadTemplate('items');
?>
</div>
8 changes: 5 additions & 3 deletions components/com_content/views/categories/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@
});
});
});");

echo JLayoutHelper::render('joomla.content.categories_default', $this);
echo $this->loadTemplate('items');
?>
<div class="categories-list<?php echo $this->pageclass_sfx;?>">
<?php
echo JLayoutHelper::render('joomla.content.categories_default', $this);
echo $this->loadTemplate('items');
?>
</div>
8 changes: 5 additions & 3 deletions components/com_newsfeeds/views/categories/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@
});
});
});");

echo JLayoutHelper::render('joomla.content.categories_default', $this);
echo $this->loadTemplate('items');
?>
<div class="categories-list<?php echo $this->pageclass_sfx;?>">
<?php
echo JLayoutHelper::render('joomla.content.categories_default', $this);
echo $this->loadTemplate('items');
?>
</div>
1 change: 0 additions & 1 deletion layouts/joomla/content/categories_default.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
defined('_JEXEC') or die;

?>
<div class="categories-list<?php echo $displayData->pageclass_sfx;?>">
<?php if ($displayData->params->get('show_page_heading')) : ?>
<h1>
<?php echo $displayData->escape($displayData->params->get('page_heading')); ?>
Expand Down

0 comments on commit 958b508

Please sign in to comment.