Added preliminary support to “Users” page

This commit is contained in:
pezcurrel 2022-12-16 19:08:39 +01:00
parent 9529a938a7
commit d59eb396eb

View file

@ -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');