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');
|
||||
|
|
|
@ -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/languages.class.php');
|
||||
|
|
|
@ -256,7 +256,7 @@ $url_format = get_root_url().'admin.php?page=maintenance&action=%s&pwg_t
|
|||
|
||||
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.'));
|
||||
}
|
||||
|
||||
$purge_urls[l10n('All')] = 'all';
|
||||
|
|
|
@ -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.'));
|
||||
}
|
||||
|
||||
function abs_fn_cmp($a, $b)
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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.'));
|
||||
}
|
||||
|
||||
$conf['updates_ignored'] = unserialize($conf['updates_ignored']);
|
||||
|
|
|
@ -108,7 +108,7 @@ if (isset($new_versions['major_php']) and version_compare(phpversion(), $new_ver
|
|||
|
||||
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.'));
|
||||
}
|
||||
|
||||
$template->assign(array(
|
||||
|
|
|
@ -1248,3 +1248,4 @@ $lang['Locked albums are disabled for maintenance. Only administrators can view
|
|||
$lang['Webmaster status required'] = 'Webmaster status required';
|
||||
$lang['%s plugins found'] = '<b>%s</b> plugins found';
|
||||
$lang['%s plugin found'] = '<b>%s</b> plugin found';
|
||||
$lang['%s status is required to edit parameters.'] = '%s status is required to edit parameters.';
|
||||
|
|
|
@ -1255,3 +1255,4 @@ $lang['Locked albums are disabled for maintenance. Only administrators can view
|
|||
$lang['Webmaster status required'] = 'Statut Webmaster nécéssaire';
|
||||
$lang['%s plugins found'] = '<b>%s</b> plugins trouvés';
|
||||
$lang['%s plugin found'] = '<b>%s</b> plugin trouvé';
|
||||
$lang['%s status is required to edit parameters.'] = 'Le statut %s est nécéssaire pour modifier les paramètres.';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue