mirror of
https://github.com/friendica/friendica
synced 2025-04-27 01:50:11 +00:00
improved the inivitations and added a bit of sales pitch.
This commit is contained in:
parent
f1cb287742
commit
6780b76b0c
2 changed files with 17 additions and 7 deletions
|
@ -15,8 +15,6 @@ function findpeople_widget() {
|
|||
|
||||
$a = get_app();
|
||||
|
||||
$inv = (($a->config['register_policy'] != REGISTER_CLOSED) ? t('Invite Friends') : '');
|
||||
|
||||
if(get_config('system','invitation_only')) {
|
||||
$x = get_pconfig(local_user(),'system','invites_remaining');
|
||||
if($x || is_site_admin()) {
|
||||
|
@ -34,7 +32,7 @@ function findpeople_widget() {
|
|||
'$findthem' => t('Find'),
|
||||
'$suggest' => t('Friend Suggestions'),
|
||||
'$similar' => t('Similar Interests'),
|
||||
'$inv' => $inv
|
||||
'$inv' => t('Invite Friends')
|
||||
));
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue