mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Merge branch 'ent-11026-si-el-token-automatically-check-for-updates-esta-desactivado-no-debe-mostrar-aviso-para' into 'develop'
Ent 11026 si el token automatically check for updates esta desactivado no debe mostrar aviso para See merge request artica/pandorafms!6392
This commit is contained in:
commit
9919de1d66
@ -2378,17 +2378,19 @@ class ConsoleSupervisor
|
|||||||
include_once $config['homedir'].'/include/functions_update_manager.php';
|
include_once $config['homedir'].'/include/functions_update_manager.php';
|
||||||
$login = get_parameter('login', false);
|
$login = get_parameter('login', false);
|
||||||
|
|
||||||
if (update_manager_verify_registration() === false) {
|
if ($config['autoupdate'] === '1' || $_GET['sec2'] === 'godmode/update_manager/update_manager') {
|
||||||
$this->notify(
|
if (update_manager_verify_registration() === false) {
|
||||||
[
|
$this->notify(
|
||||||
'type' => 'NOTIF.UPDATEMANAGER.REGISTRATION',
|
[
|
||||||
'title' => __('This instance is not registered in the Update manager section'),
|
'type' => 'NOTIF.UPDATEMANAGER.REGISTRATION',
|
||||||
'message' => __('Click here to start the registration process'),
|
'title' => __('This instance is not registered in the Update manager section'),
|
||||||
'url' => '__url__/index.php?sec=messages&sec2=godmode/update_manager/update_manager&tab=online',
|
'message' => __('Click here to start the registration process'),
|
||||||
]
|
'url' => '__url__/index.php?sec=messages&sec2=godmode/update_manager/update_manager&tab=online',
|
||||||
);
|
]
|
||||||
} else {
|
);
|
||||||
$this->cleanNotifications('NOTIF.UPDATEMANAGER.REGISTRATION');
|
} else {
|
||||||
|
$this->cleanNotifications('NOTIF.UPDATEMANAGER.REGISTRATION');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4933,6 +4933,7 @@ div#dialog_messages table th:last-child {
|
|||||||
margin-top: 55px;
|
margin-top: 55px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
max-height: 530px;
|
max-height: 530px;
|
||||||
|
position: fixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
#notification-wrapper::before {
|
#notification-wrapper::before {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user