+ // TRANS: Text on page where groups can be searched if no results were found for a query.
+ $this->element('p', 'error', _('No results.'));
+ $this->searchSuggestions($q);
+ if (common_logged_in()) {
+ // TRANS: Additional text on page where groups can be searched if no results were found for a query for a logged in user.
+ // TRANS: This message contains Markdown links in the form [link text](link).
+ $message = _('If you cannot find the group you\'re looking for, you can [create it](%%action.newgroup%%) yourself.');
+ }
+ else {
+ // TRANS: Additional text on page where groups can be searched if no results were found for a query for a not logged in user.
+ // TRANS: This message contains Markdown links in the form [link text](link).
+ $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));
+ $this->elementEnd('div');
+ $user_group->free();