Skip to content

Commit

Permalink
fix #407 by using authorLabel instead of author
Browse files Browse the repository at this point in the history
  • Loading branch information
k00ni committed Nov 15, 2016
1 parent 35feb90 commit 2855ba5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions extensions/exconf/templates/exconf/list.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ foreach($this->extensions as $name => $extension){
<?php $confUrl = $this->urlBase.(!isset($extension->confAction) ? 'exconf/conf/?name='. $name : $extension->confAction); ?>
<h3><span class="name"><a href="<?php echo $confUrl; ?>"><?php echo $extension->title; ?></a></span>
<?php
if (isset($extension->author)) {
echo '<em class="author">by '.(isset($extension->authorUrl)?'<a href="'.$extension->authorUrl.'">'.$extension->author.'</a>':$extension->author).'</em>';
if (isset($extension->authorLabel)) {
echo '<em class="author">by '. (isset($extension->authorUrl)
? '<a href="'.$extension->authorUrl.'">'. $extension->authorLabel .'</a>'
: $extension->authorLabel) .'</em>';
}
?>
</h3>
Expand Down

0 comments on commit 2855ba5

Please sign in to comment.