summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authormichael pereira2011-04-14 13:28:04 +0200
committermichael pereira2011-04-14 13:28:04 +0200
commit9d8f41d57a4a6a763cec2dedb44e7098f866a264 (patch)
treee250c6076e2546a59b72640a58fb13152354b2a4 /library
parentEs werden keine Sessions mehr angelegt wenn ein Admin die Bootmenuentries tes... (diff)
downloadpbs2-9d8f41d57a4a6a763cec2dedb44e7098f866a264.tar.gz
pbs2-9d8f41d57a4a6a763cec2dedb44e7098f866a264.tar.xz
pbs2-9d8f41d57a4a6a763cec2dedb44e7098f866a264.zip
Notifier if Serial was not found on the USB Stick
Diffstat (limited to 'library')
-rw-r--r--library/Pbs/Notifier.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/library/Pbs/Notifier.php b/library/Pbs/Notifier.php
index 2d86748..74971f7 100644
--- a/library/Pbs/Notifier.php
+++ b/library/Pbs/Notifier.php
@@ -95,6 +95,13 @@ class Pbs_Notifier{
break;
}
break;
+ case "serial":
+ switch($result){
+ case "noserial":
+ $result = "<div class='errorbox'>Your PreBoot is broken, please download a new Version or contact a PBS Administrator</div>";
+ break;
+ }
+ break;
case "link":
switch($result){
case "forbidden":