mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 04:15:15 +02:00
Use short form array syntax everywhere
- Add short form array syntax to po2php.php generation
This commit is contained in:
parent
77dfbaa0bf
commit
e36f2bb1fb
212 changed files with 5160 additions and 5160 deletions
|
@ -90,7 +90,7 @@ function manage_post(App $a) {
|
|||
$_SESSION['submanage'] = $original_id;
|
||||
}
|
||||
|
||||
$ret = array();
|
||||
$ret = [];
|
||||
call_hooks('home_init',$ret);
|
||||
|
||||
goaway( System::baseUrl() . "/profile/" . $a->user['nickname'] );
|
||||
|
@ -150,13 +150,13 @@ function manage_content(App $a) {
|
|||
$identities[$key]['notifications'] = $notifications;
|
||||
}
|
||||
|
||||
$o = replace_macros(get_markup_template('manage.tpl'), array(
|
||||
$o = replace_macros(get_markup_template('manage.tpl'), [
|
||||
'$title' => t('Manage Identities and/or Pages'),
|
||||
'$desc' => t('Toggle between different identities or community/group pages which share your account details or which you have been granted "manage" permissions'),
|
||||
'$choose' => t('Select an identity to manage: '),
|
||||
'$identities' => $identities,
|
||||
'$submit' => t('Submit'),
|
||||
));
|
||||
]);
|
||||
|
||||
return $o;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue