summaryrefslogtreecommitdiffstats
path: root/modules-available/serversetup/page.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2016-05-10 19:17:28 +0200
committerSimon Rettberg2016-05-10 19:17:28 +0200
commita79bbfa1a23838b91e9a08f7014c2c7304976714 (patch)
treefafb56190707d10b01cb282bc14b99156e100dcb /modules-available/serversetup/page.inc.php
parentTranslating module strings and custom sections works (diff)
downloadslx-admin-a79bbfa1a23838b91e9a08f7014c2c7304976714.tar.gz
slx-admin-a79bbfa1a23838b91e9a08f7014c2c7304976714.tar.xz
slx-admin-a79bbfa1a23838b91e9a08f7014c2c7304976714.zip
Migrated messages to modules
Diffstat (limited to 'modules-available/serversetup/page.inc.php')
-rw-r--r--modules-available/serversetup/page.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/serversetup/page.inc.php b/modules-available/serversetup/page.inc.php
index 289bf3d5..c48ccd3d 100644
--- a/modules-available/serversetup/page.inc.php
+++ b/modules-available/serversetup/page.inc.php
@@ -13,7 +13,7 @@ class Page_ServerSetup extends Page
User::load();
if (!User::hasPermission('superadmin')) {
- Message::addError('no-permission');
+ Message::addError('main.no-permission');
Util::redirect('?do=Main');
}
@@ -147,7 +147,7 @@ class Page_ServerSetup extends Page
if ($timeout === '')
$timeout = 0;
if (!is_numeric($timeout) || $timeout < 0) {
- Message::addError('value-invalid', 'timeout', $timeout);
+ Message::addError('main.value-invalid', 'timeout', $timeout);
}
$this->currentMenu['defaultentry'] = Request::post('defaultentry', 'net');
$this->currentMenu['timeout'] = $timeout;