Skip to content

Commit

Permalink
Nesting error
Browse files Browse the repository at this point in the history
  • Loading branch information
SharkyKZ committed Jun 12, 2018
1 parent 92301ad commit e73d35a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions components/com_tags/views/tag/tmpl/default_items.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,17 @@
<li class="system-unpublished cat-list-row<?php echo $i % 2; ?>" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<?php else : ?>
<li class="cat-list-row<?php echo $i % 2; ?> clearfix" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<?php if (($item->type_alias === 'com_users.category') || ($item->type_alias === 'com_banners.category')) : ?>
<h3 itemprop="name">
<?php endif; ?>
<?php if (($item->type_alias === 'com_users.category') || ($item->type_alias === 'com_banners.category')) : ?>
<h3 itemprop="name">
<?php echo $this->escape($item->core_title); ?>
</h3>
<?php else : ?>
<h3 itemprop="name">
<a href="<?php echo JRoute::_($item->link); ?>" itemprop="url">
<?php echo $this->escape($item->core_title); ?>
</h3>
<?php else : ?>
<h3 itemprop="name">
<a href="<?php echo JRoute::_($item->link); ?>" itemprop="url">
<?php echo $this->escape($item->core_title); ?>
</a>
</h3>
<?php endif; ?>
</a>
</h3>
<?php endif; ?>
<?php // Content is generated by content plugin event "onContentAfterTitle" ?>
<?php echo $item->event->afterDisplayTitle; ?>
Expand Down
2 changes: 1 addition & 1 deletion components/com_tags/views/tag/tmpl/list_items.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<?php endif; ?>
<tbody>
<?php foreach ($this->items as $i => $item) : ?>
<?php if ($this->items[$i]->core_state == 0) : ?>
<?php if ($item->core_state == 0) : ?>
<tr class="system-unpublished cat-list-row<?php echo $i % 2; ?>">
<?php else : ?>
<tr class="cat-list-row<?php echo $i % 2; ?>">
Expand Down

0 comments on commit e73d35a

Please sign in to comment.