summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f601388)
raw | patch | inline | side by side (parent: f601388)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 25 Oct 2007 10:15:16 +0000 (10:15 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 25 Oct 2007 10:15:16 +0000 (10:15 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7654 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/addons/gotomasses/class_gotomasses.inc | patch | blob | history |
diff --git a/plugins/addons/gotomasses/class_gotomasses.inc b/plugins/addons/gotomasses/class_gotomasses.inc
index 6e364c2b894ad1f434d9b6849040a6a97efd8887..1920ea8dda390d5880fe9241185b6a3f2c028669 100644 (file)
function get_additional_entry_informations($data)
{
- return("<div style='width:80px;background-color:#999999;'><div style='background-color:#00FF00;width:40%'> </div></div>");
+ $i = rand(0,3);
+ if($i == 0){
+ return("<div style='width:80px;background-color:#999999;'><div style='background-color:#00FF00;width:40%'> </div></div>");
+ }
+ if($i == 1){
+ return("<font style='color: #FF0000;'>Failed</font>");
+ }
+ if($i == 1){
+ return("<font style='color: #00FF00;'>OK</font>");
+ }
+ return("-");
}