From: hickert Date: Mon, 19 May 2008 13:01:00 +0000 (+0000) Subject: Updated image reload in gotomasses X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=076e60f63453b863fe5abbe527d5dc8010fb5a23;p=gosa.git Updated image reload in gotomasses git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10953 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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} +