diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-09-12 23:22:12 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-09-12 23:22:12 -0700 |
commit | dbeadfc2ab7e645a9e5a92e05cb5d90f4329480c (patch) | |
tree | 51013edda2048421b84fbe75de86db0f5b85d45c /modules/info/helpers | |
parent | 4a9bd312c3246733fa877236c11b3d1a9ebb4633 (diff) | |
parent | 711cdde5b9755140981000adc6dd7897d836ccc5 (diff) |
Merge branch 'master' of git@github.com:gallery/gallery3 into talmdal_dev
Diffstat (limited to 'modules/info/helpers')
-rw-r--r-- | modules/info/helpers/info_theme.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/info/helpers/info_theme.php b/modules/info/helpers/info_theme.php index 51378e54..4bf894ad 100644 --- a/modules/info/helpers/info_theme.php +++ b/modules/info/helpers/info_theme.php @@ -38,9 +38,11 @@ class info_theme_Core { if ($item->owner) { $results .= "<li>"; if ($item->owner->url) { - $results .= t("By: %owner_name", array("owner_name" => "<a href=\"{$item->owner->url}\">{$item->owner->full_name}</a>")); + $results .= t("By: <a href=\"%owner_url\">%owner_name</a>", + array("owner_name" => $item->owner->display_name(), + "owner_url" => $item->owner->url)); } else { - $results .= t("By: %owner_name", array("owner_name" => "{$item->owner->full_name}")); + $results .= t("By: %owner_name", array("owner_name" => $item->owner->display_name())); } $results .= "</li>"; } |