diff options
author | Simon Rettberg | 2016-05-10 19:17:28 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-05-10 19:17:28 +0200 |
commit | a79bbfa1a23838b91e9a08f7014c2c7304976714 (patch) | |
tree | fafb56190707d10b01cb282bc14b99156e100dcb /modules-available/internetaccess | |
parent | Translating module strings and custom sections works (diff) | |
download | slx-admin-a79bbfa1a23838b91e9a08f7014c2c7304976714.tar.gz slx-admin-a79bbfa1a23838b91e9a08f7014c2c7304976714.tar.xz slx-admin-a79bbfa1a23838b91e9a08f7014c2c7304976714.zip |
Migrated messages to modules
Diffstat (limited to 'modules-available/internetaccess')
-rw-r--r-- | modules-available/internetaccess/page.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/internetaccess/page.inc.php b/modules-available/internetaccess/page.inc.php index b949be26..246d4477 100644 --- a/modules-available/internetaccess/page.inc.php +++ b/modules-available/internetaccess/page.inc.php @@ -7,7 +7,7 @@ class Page_InternetAccess extends Page { User::load(); if (!User::hasPermission('superadmin')) { - Message::addError('no-permission'); + Message::addError('main.no-permission'); Util::redirect('?do=Main'); } if (isset($_POST['PROXY_CONF'])) { @@ -16,7 +16,7 @@ class Page_InternetAccess extends Page $data[$key] = Request::post($key, ''); } if (!FileUtil::arrayToFile(CONFIG_PROXY_CONF, $data)) { - Message::addError('error-write', CONFIG_PROXY_CONF); + Message::addError('main.error-write', CONFIG_PROXY_CONF); Util::redirect(); } else { Message::addSuccess('settings-updated'); |