Merge branch 'ent-8085-cambio-de-skin-muestra-error' into 'develop'

Fix error message when update skin

See merge request artica/pandorafms!4609
This commit is contained in:
Daniel Rodriguez 2022-01-05 12:34:25 +00:00
commit 6ff9c43f34
1 changed files with 9 additions and 7 deletions

View File

@ -186,6 +186,8 @@ if (isset($_GET['modified']) && !$view_mode) {
} else {
if (!empty($password_new) && !empty($password_confirm)) {
$success_msg = __('Password successfully updated');
} else if ($upd_info['id_skin'] !== $user_info['id_skin']) {
$success_msg = __('Skin successfully updated');
} else {
$return = false;
$error_msg = __('No changes have been made');
@ -549,13 +551,13 @@ $table_ichanges = '<div class="autorefresh_select">
</div>
<div class="autorefresh_select_arrows" style="display:grid">
<a href="javascript:">'.html_print_image(
'images/darrowright_green.png',
true,
[
'id' => 'right_autorefreshlist',
'alt' => __('Push selected pages into autorefresh list'),
'title' => __('Push selected pages into autorefresh list'),
]
'images/darrowright_green.png',
true,
[
'id' => 'right_autorefreshlist',
'alt' => __('Push selected pages into autorefresh list'),
'title' => __('Push selected pages into autorefresh list'),
]
).'</a>
<a href="javascript:">'.html_print_image(
'images/darrowleft_green.png',