summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/auth.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-28 20:39:01 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-28 20:39:01 -0800
commite7cfbfe376a117623e7e54a3f4469495a13e1a77 (patch)
treea60870e2c3cbc7cd4513a750d726b44f726e096e /modules/gallery/helpers/auth.php
parent56d04b1ed83dc098eacd3d05496fef98cfaf8b8a (diff)
parent5c527513c688571adcff45f513efff54b9c55e61 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/helpers/auth.php')
-rw-r--r--modules/gallery/helpers/auth.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/gallery/helpers/auth.php b/modules/gallery/helpers/auth.php
index 21a39bfb..bdff2f70 100644
--- a/modules/gallery/helpers/auth.php
+++ b/modules/gallery/helpers/auth.php
@@ -51,6 +51,8 @@ class auth_Core {
module::event("user_logout", $user);
}
log::info("user", t("User %name logged out", array("name" => $user->name)),
- html::anchor("user/$user->id", html::clean($user->name)));
+ t('<a href="%url">%user_name</a>',
+ array("url" => user_profile::url($user->id),
+ "user_name" => html::clean($user->name))));
}
} \ No newline at end of file