]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/groupsearch.php
Facebook app wasn't loading the theme css
[quix0rs-gnu-social.git] / actions / groupsearch.php
index c50466ce62a4f65f77ec730b58b2784756f66613..7437166e6ae2a70698dbe015301ea9317ba6f070 100644 (file)
@@ -82,7 +82,8 @@ class GroupsearchAction extends SearchAction
                 $message = _('If you can\'t find the group you\'re looking for, you can [create it](%%action.newgroup%%) yourself.');
             }
             else {
-                $message = _('Why not [register an account](%%action.register%%) and [create the group](%%action.newgroup%%) yourself!');
+                $message = sprintf(_('Why not [register an account](%%%%action.%s%%%%) and [create the group](%%%%action.newgroup%%%%) yourself!'),
+                                   (!common_config('site','openidonly')) ? 'register' : 'openidlogin');
             }
             $this->elementStart('div', 'guide');
             $this->raw(common_markup_to_html($message));