From 076e60f63453b863fe5abbe527d5dc8010fb5a23 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 19 May 2008 13:01:00 +0000 Subject: [PATCH] Updated image reload in gotomasses git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10953 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/getFAIstatus.php | 17 +-- .../goto/addons/goto/class_gotomasses.inc | 5 +- gosa-plugins/goto/addons/goto/gotomasses.tpl | 114 ++++++++++++++++++ 3 files changed, 118 insertions(+), 18 deletions(-) diff --git a/gosa-core/html/getFAIstatus.php b/gosa-core/html/getFAIstatus.php index ebac93446..4f931a26f 100644 --- a/gosa-core/html/getFAIstatus.php +++ b/gosa-core/html/getFAIstatus.php @@ -41,21 +41,8 @@ if(!isset($_GET['mac'])){ $config = session::get("config"); $o = new gosaSupportDaemon(); -$res = $o->get_entries_by_mac(array($_GET['mac'])); +$res = $o->get_entries_by_mac(split(",",$_GET['mac'])); foreach($res as $entry){ - if(strtolower($entry['MACADDRESS']) == strtolower($_GET['mac'])){ - $img = "".$entry["; - } + echo $entry['MACADDRESS']."|".$entry['PROGRESS']."\n"; } - - ?> - - - - - - - - diff --git a/gosa-plugins/goto/addons/goto/class_gotomasses.inc b/gosa-plugins/goto/addons/goto/class_gotomasses.inc index 5aa837e6c..b7f0e6ef7 100644 --- a/gosa-plugins/goto/addons/goto/class_gotomasses.inc +++ b/gosa-plugins/goto/addons/goto/class_gotomasses.inc @@ -500,9 +500,8 @@ class gotomasses extends plugin /* Real percent */ } else { if (preg_match('/install/', $task['HEADERTAG'])){ - $status = ""; + $status = ""; } else { $status = preg_replace('/ /', ' ', _("in progress")); } diff --git a/gosa-plugins/goto/addons/goto/gotomasses.tpl b/gosa-plugins/goto/addons/goto/gotomasses.tpl index 0f99633df..7ff94f653 100644 --- a/gosa-plugins/goto/addons/goto/gotomasses.tpl +++ b/gosa-plugins/goto/addons/goto/gotomasses.tpl @@ -1 +1,115 @@ + + {$div} + + +{literal} + +{/literal} + -- 2.30.2