1
0
Fork 0

show noti if client missing

Dieser Commit ist enthalten in:
o.pinke 2022-03-04 20:16:33 +01:00
Ursprung 3217b73d08
Commit b8545396e3
3 geänderte Dateien mit 9 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -23,8 +23,10 @@ global $client, $cfg;
##### Initialization
if ((int) $client <= 0) {
// if there is no client selected, display empty page
// if there is no client selected, display noti
$oPage = new cPage;
$oNoti = new Contenido_Notification();
$oPage->setContent($oNoti->returnNotification("warning", i18n("No client set!")));
$oPage->render();
return;
}

Datei anzeigen

@ -23,8 +23,10 @@ global $client, $cfg;
##### Initialization
if ((int) $client <= 0) {
// if there is no client selected, display empty page
// if there is no client selected, display noti
$oPage = new cPage;
$oNoti = new Contenido_Notification();
$oPage->setContent($oNoti->returnNotification("warning", i18n("No client set!")));
$oPage->render();
return;
}

Datei anzeigen

@ -31,8 +31,10 @@ global $client, $cfg;
##### Initialization
if ((int) $client <= 0) {
// if there is no client selected, display empty page
// if there is no client selected, display noti
$oPage = new cPage;
$oNoti = new Contenido_Notification();
$oPage->setContent($oNoti->returnNotification("warning", i18n("No client set!")));
$oPage->render();
return;
}