From d8bad92fe0a57d2cfbbde7ff991a9a75135697da Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 25 Oct 2007 10:15:16 +0000 Subject: [PATCH] Added random generated status messages for each entry git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7654 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/addons/gotomasses/class_gotomasses.inc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/plugins/addons/gotomasses/class_gotomasses.inc b/plugins/addons/gotomasses/class_gotomasses.inc index 6e364c2b8..1920ea8dd 100644 --- a/plugins/addons/gotomasses/class_gotomasses.inc +++ b/plugins/addons/gotomasses/class_gotomasses.inc @@ -269,7 +269,17 @@ class gotomasses extends plugin function get_additional_entry_informations($data) { - return("
 
"); + $i = rand(0,3); + if($i == 0){ + return("
 
"); + } + if($i == 1){ + return("Failed"); + } + if($i == 1){ + return("OK"); + } + return("-"); } -- 2.30.2