Added preliminary support to “Users” page
This commit is contained in:
parent
9529a938a7
commit
d59eb396eb
1 changed files with 11 additions and 1 deletions
|
@ -116,7 +116,7 @@ switch($path) {
|
|||
case '/instances':
|
||||
$cont['fp']='instances.php';
|
||||
$cont['atit']=' - '._('Instances');
|
||||
$cont['desc']=_('Recommended Mastodon instances');
|
||||
$cont['desc']=_('Mastodon instances');
|
||||
$cont['css'][]='instances.css';
|
||||
$menu['instances']['href']=null;
|
||||
$menu['instances']['selected']=true;
|
||||
|
@ -124,6 +124,16 @@ switch($path) {
|
|||
if (in_array($dlang,array('ca','es'))) $needstrans=true;
|
||||
break;
|
||||
|
||||
case '/users':
|
||||
$cont['fp']='users.php';
|
||||
$cont['atit']=' - '._('Users');
|
||||
$cont['desc']=_('Directory of Mastodon users');
|
||||
$cont['css'][]='instances.css';
|
||||
/*$menu['instances']['href']=null;
|
||||
$menu['instances']['selected']=true;*/
|
||||
$url='users';
|
||||
break;
|
||||
|
||||
case '/about':
|
||||
$cont['fp']='about.php';
|
||||
$cont['atit']=' - '._('About');
|
||||
|
|
Loading…
Reference in a new issue