X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fgroupsearch.php;h=55f4cee625e37b5265ea40ef490945ceceb021da;hb=1f020125bf979271ff2682e1b1c95f2916e7a1ae;hp=be15efc47cea5c0be163b3095db9264b53328840;hpb=18df82ba2302d5b72bc42f4d3296d6fff7d16341;p=quix0rs-gnu-social.git diff --git a/actions/groupsearch.php b/actions/groupsearch.php index be15efc47c..55f4cee625 100644 --- a/actions/groupsearch.php +++ b/actions/groupsearch.php @@ -82,8 +82,7 @@ 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 = sprintf(_('Why not [register an account](%%%%action.%s%%%%) and [create the group](%%%%action.newgroup%%%%) yourself!'), - (!common_config('site','openidonly')) ? 'register' : 'openidlogin'); + $message = _('Why not [register an account](%%action.register%%) and [create the group](%%action.newgroup%%) yourself!'); } $this->elementStart('div', 'guide'); $this->raw(common_markup_to_html($message)); @@ -106,7 +105,7 @@ class GroupSearchResults extends GroupList function __construct($user_group, $terms, $action) { - parent::__construct($user_group, $terms, $action); + parent::__construct($user_group, null, $action); $this->terms = array_map('preg_quote', array_map('htmlspecialchars', $terms)); $this->pattern = '/('.implode('|',$terms).')/i';