From 02716f178d25f4490f6f74140045d817c73fcc71 Mon Sep 17 00:00:00 2001 From: michael pereira Date: Mon, 4 Apr 2011 17:11:58 +0200 Subject: getRessoources bei Play werden angezeigt --- library/Pbs/Notifier.php | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'library/Pbs') diff --git a/library/Pbs/Notifier.php b/library/Pbs/Notifier.php index 843b804..2d86748 100644 --- a/library/Pbs/Notifier.php +++ b/library/Pbs/Notifier.php @@ -123,8 +123,20 @@ class Pbs_Notifier{ break; case "json": switch($result){ - default: - $result = "
$result
"; + default:{ + $result = unserialize($result); + + $result2 = "
"; + $result2 .= ""; + $result2 .= ""; + $result2 .= ""; + $result2 .= ""; + $result2 .= ""; + $result2 .= ""; + $result2 .= "
info: ".$result['info']."
kernel: ".$result['kernel']."
initramfs: ".$result['initramfs']."
kcl: ".$result['kcl']."
config: ".$result['config']."
"; + $result2 .= "
"; + $result = $result2; + } break; case "forbidden": $result = "
Not allowed to display ressources
"; -- cgit v1.2.3-55-g7522