/adei/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/adei/trunk

« back to all changes in this revision

Viewing changes to services/update.php

  • Committer: Suren A. Chilingaryan
  • Date: 2008-12-11 17:26:27 UTC
  • Revision ID: csa@dside.dyndns.org-20081211172627-ex0g0qqrk9p2s9vy
JavaScript fixups, some stuff for control data display is implemented

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
     case "alarms":
28
28
        if ($req->CheckData()) {
29
29
            $query = $req->GetQueryString($extra = array(
30
 
                "target" => "alarms_summary"
 
30
                "target" => "alarms_summary",
 
31
                "time_format" => "text"
31
32
            ));
32
33
        
33
34
            $info = array(
36
37
            );
37
38
        }
38
39
     break;
 
40
     case "slowcontrol":
 
41
        if ($req->CheckData()) {
 
42
            $query = $req->GetQueryString($extra = array(
 
43
                "target" => "status",
 
44
                "time_format" => "text"
 
45
            ));
 
46
        
 
47
            $info = array(
 
48
                "xml" => "services/control.php?$query",
 
49
                "xslt" => "controlinfo"
 
50
            );
 
51
        }
 
52
     break;
39
53
    }
40
54
} catch(ADEIException $e) {
41
55
    $error = $e->getInfo();