Add '$VERSION' template variable to make Friendica version available in templates
- constant() Smarty function is deprecated - Remove unused site-wide template variable '$APP' - Address https://github.com/friendica/friendica/issues/14027#issuecomment-2016469408
This commit is contained in:
parent
b4d71f1855
commit
e293de04f5
30 changed files with 127 additions and 125 deletions
|
@ -196,7 +196,7 @@ class Summary extends BaseAdmin
|
|||
'$title' => DI::l10n()->t('Administration'),
|
||||
'$page' => DI::l10n()->t('Summary'),
|
||||
'$queues' => $queues,
|
||||
'$version' => [DI::l10n()->t('Version'), App::VERSION],
|
||||
'$version_label' => DI::l10n()->t('Version'),
|
||||
'$platform' => App::PLATFORM,
|
||||
'$codename' => App::CODENAME,
|
||||
'$build' => DI::config()->get('system', 'build'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue