diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-08-27 16:11:47 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-08-27 16:11:47 -0700 |
commit | 74363ced870d4114e7570729636875e0258917b3 (patch) | |
tree | 61bc27831a362994fc96ea90172d50e25d5c76cb /modules/info/helpers | |
parent | 98e9a96ba4d2419e02717369be8c0d886bc35ef7 (diff) | |
parent | 4828db003f3ee505eb9e6d056cdb142da34b78ff (diff) |
Merge branch 'master' of git@github.com:gallery/gallery3 into HEAD
Conflicts:
modules/slideshow/helpers/slideshow_event.php
Diffstat (limited to 'modules/info/helpers')
-rw-r--r-- | modules/info/helpers/info_theme.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/info/helpers/info_theme.php b/modules/info/helpers/info_theme.php index 863317a8..51378e54 100644 --- a/modules/info/helpers/info_theme.php +++ b/modules/info/helpers/info_theme.php @@ -37,7 +37,11 @@ class info_theme_Core { } if ($item->owner) { $results .= "<li>"; - $results .= t("By: %owner_name", array("owner_name" => "<a href=\"#\">{$item->owner->full_name}</a>")); + if ($item->owner->url) { + $results .= t("By: %owner_name", array("owner_name" => "<a href=\"{$item->owner->url}\">{$item->owner->full_name}</a>")); + } else { + $results .= t("By: %owner_name", array("owner_name" => "{$item->owner->full_name}")); + } $results .= "</li>"; } return $results; |