X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FFriendica.php;h=37bd69da498102dc3fc4155a4fcfc34902244c03;hb=f114ad188353910f1714a2df04affb7e5ee58253;hp=6b5e05c8b36cf7d3f521e4b35762923742f49ff2;hpb=5ec1891e0abc5ad4d1cecb1627af8e68ba6d1df8;p=friendica.git
diff --git a/src/Module/Friendica.php b/src/Module/Friendica.php
index 6b5e05c8b3..37bd69da49 100644
--- a/src/Module/Friendica.php
+++ b/src/Module/Friendica.php
@@ -21,6 +21,7 @@
namespace Friendica\Module;
+use Friendica\App;
use Friendica\BaseModule;
use Friendica\Core\Addon;
use Friendica\Core\Hook;
@@ -76,12 +77,13 @@ class Friendica extends BaseModule
if (!empty($blockList)) {
$blocked = [
- 'title' => DI::l10n()->t('On this server the following remote servers are blocked.'),
- 'header' => [
+ 'title' => DI::l10n()->t('On this server the following remote servers are blocked.'),
+ 'header' => [
DI::l10n()->t('Blocked domain'),
DI::l10n()->t('Reason for the block'),
],
- 'list' => $blockList,
+ 'download' => DI::l10n()->t('Download this list in CSV format'),
+ 'list' => $blockList,
];
} else {
$blocked = null;
@@ -95,7 +97,7 @@ class Friendica extends BaseModule
return Renderer::replaceMacros($tpl, [
'about' => DI::l10n()->t('This is Friendica, version %s that is running at the web location %s. The database version is %s, the post update version is %s.',
- '' . FRIENDICA_VERSION . '',
+ '' . App::VERSION . '',
DI::baseUrl()->get(),
'' . $config->get('system', 'build') . '/' . DB_UPDATE_VERSION . '',
'' . $config->get('system', 'post_update_version') . '/' . PostUpdate::VERSION . ''),
@@ -168,7 +170,7 @@ class Friendica extends BaseModule
}
$data = [
- 'version' => FRIENDICA_VERSION,
+ 'version' => App::VERSION,
'url' => DI::baseUrl()->get(),
'addons' => $visible_addons,
'locked_features' => $locked_features,
@@ -177,7 +179,7 @@ class Friendica extends BaseModule
'register_policy' => $register_policy,
'admin' => $admin,
'site_name' => $config->get('config', 'sitename'),
- 'platform' => strtolower(FRIENDICA_PLATFORM),
+ 'platform' => strtolower(App::PLATFORM),
'info' => $config->get('config', 'info'),
'no_scrape_url' => DI::baseUrl()->get() . '/noscrape',
];