mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 09:43:01 +02:00
related to #1530 replaced warning message for status verification
This commit is contained in:
@@ -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';
|
||||
|
||||
+1
-1
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user