related to #1530 replaced warning message for status verification

This commit is contained in:
Matthieu Leproux 2021-10-22 16:33:17 +02:00
parent 6840eb4c24
commit 8ce0e709f5
9 changed files with 9 additions and 7 deletions

View file

@ -13,7 +13,7 @@ if( !defined("PHPWG_ROOT_PATH") )
if (!is_webmaster())
{
$page['warnings'][] = l10n('Webmaster status is required.');
$page['warnings'][] = str_replace('%s', l10n('user_status_webmaster'), l10n('%s status is required to edit parameters.'));
}
include_once(PHPWG_ROOT_PATH.'admin/include/themes.class.php');