mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 11:19:55 +03:00
related to #1530 replaced warning message for status verification
This commit is contained in:
parent
6840eb4c24
commit
8ce0e709f5
9 changed files with 9 additions and 7 deletions
|
@ -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/functions.php');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue