]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/subscribers.php
Added configuration option to only allow OpenID logins.
[quix0rs-gnu-social.git] / actions / subscribers.php
index 66ac00fb19aa26d64da5441d07fafec8bc08f36a..40473801240a93bf13d6a627e316f507e5fe6447 100644 (file)
@@ -111,7 +111,9 @@ class SubscribersAction extends GalleryAction
             }
         }
         else {
-            $message = sprintf(_('%s has no subscribers. Why not [register an account](%%%%action.register%%%%) and be the first?'), $this->user->nickname);
+            $message = sprintf(_('%s has no subscribers. Why not [register an account](%%%%action.%s%%%%) and be the first?'),
+                               $this->user->nickname,
+                               (!common_config('site','openidonly')) ? 'register' : 'openidlogin');
         }
 
         $this->elementStart('div', 'guide');