Skip to content

Commit

Permalink
Code Style
Browse files Browse the repository at this point in the history
  • Loading branch information
coolcat-creations committed Jun 26, 2018
1 parent c8572ee commit bea6d05
Showing 1 changed file with 7 additions and 2 deletions.
Expand Up @@ -204,13 +204,15 @@
$EditCatTxt = JText::_('JACTION_EDIT') . ' ' . JText::_('JCATEGORY');

echo JText::_('JCATEGORY') . ': ';

if ($item->category_level != '1') :
if ($item->parent_category_level != '1') :
echo ' » ';
endif;
endif;

if ($this->document->direction == "ltr") {
if ($this->document->direction == "ltr")
{
if ($item->category_level != '1') :
if ($canEditParCat || $canEditOwnParCat) :
echo '<a class="hasTooltip" href=' . $ParentCatUrl . '" title="' . $EditCatTxt . '">';
Expand All @@ -228,7 +230,10 @@
if ($canEditCat || $canEditOwnCat) :
echo '</a>';
endif;
} else {
}
else
{

if ($canEditCat || $canEditOwnCat) :
echo '<a class="hasTooltip" href=' . $CurrentCatUrl . '" title="' . $EditCatTxt . '">';
endif;
Expand Down

0 comments on commit bea6d05

Please sign in to comment.