show noti if client missing
Dieser Commit ist enthalten in:
Ursprung
3217b73d08
Commit
b8545396e3
3 geänderte Dateien mit 9 neuen und 3 gelöschten Zeilen
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Laden …
In neuem Issue referenzieren