diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-07-13 07:11:02 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-07-13 07:11:02 -0700 |
commit | 021e6eccd03df460fddb0d2bdcab335ddd2d6c52 (patch) | |
tree | 61a5fe2bd4b8e8f52edcb3b530fc3f4cb52d5a93 /modules/info/helpers | |
parent | 75be4ab2e62004811ba7086376bf5abeca4cf791 (diff) | |
parent | a944bf4259a6ff31ac647a3d8336bd5175c3640a (diff) |
Merge branch 'master' of git@github.com:gallery/gallery3
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; |