fixes #2306 move save buttons to bottom of page (PR #2346)

For these pages :
 picture modify, album notification, category permission, comments, menubar, all configurations, site update, element set ranks, notification by mail

Change how success and errors messages are displayed and handled
This commit is contained in:
HWFord 2025-03-21 16:28:37 +01:00 committed by GitHub
parent 4a539bdfb7
commit 41d5c8a258
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
30 changed files with 492 additions and 148 deletions

View file

@ -194,8 +194,13 @@ if (count($errors) == 0)
{
clear_derivative_cache($changed_types);
}
$template->assign(
array(
'save_success' => l10n('Your configuration settings are saved'),
)
);
$page['infos'][] = l10n('Your configuration settings are saved');
pwg_activity('system', ACTIVITY_SYSTEM_CORE, 'config', array('config_section'=>'watermark'));
}
else