summaryrefslogtreecommitdiff
path: root/actions/showfavorites.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-08-10 11:53:35 -0400
committerCraig Andrews <candrews@integralblue.com>2009-08-10 11:53:35 -0400
commite9ed20a69d8f646bc85151c1e890f5828a966fcf (patch)
treee72bdf25cc94c630c31863d2985b1f29b4b27414 /actions/showfavorites.php
parent17dcf1c3170bc905e3b0fdffc804d6f7229ac61b (diff)
parent14b46e2183f10359cc53d597913a878f53e23719 (diff)
Merge commit 'jeff-themovie/0.8.x-openidonly' into 0.8.x
Diffstat (limited to 'actions/showfavorites.php')
-rw-r--r--actions/showfavorites.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/actions/showfavorites.php b/actions/showfavorites.php
index 8b4926f01..9f549baf2 100644
--- a/actions/showfavorites.php
+++ b/actions/showfavorites.php
@@ -173,7 +173,9 @@ class ShowfavoritesAction extends OwnerDesignAction
}
}
else {
- $message = sprintf(_('%s hasn\'t added any notices to his favorites yet. Why not [register an account](%%%%action.register%%%%) and then post something interesting they would add to their favorites :)'), $this->user->nickname);
+ $message = sprintf(_('%s hasn\'t added any notices to his favorites yet. Why not [register an account](%%%%action.%s%%%%) and then post something interesting they would add to their favorites :)'),
+ $this->user->nickname,
+ (!common_config('site','openidonly')) ? 'register' : 'openidlogin');
}
$this->elementStart('div', 'guide');