/dev/trunk

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

« back to all changes in this revision

Viewing changes to services/timewindow.php

  • Committer: Suren A. Chilingaryan
  • Date: 2008-04-02 10:23:22 UTC
  • Revision ID: csa@dside.dyndns.org-20080402102322-okib92sicg2dx3o3
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
 
 
3
require("../adei.php");
 
4
 
 
5
header("Content-type: text/xml");
 
6
header("Cache-Control: no-cache, must-revalidate");
 
7
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
 
8
 
 
9
 
 
10
// ToDo: Check for maximal possible window here
 
11
 
 
12
echo "<?xml version=\"1.0\"?>\n";
 
13
echo "<result>";
 
14
echo "<Value name=\"" . _("All") . "\" value=\"0\"/>";
 
15
foreach ($ADEI_TIMINGS as $opt => $value) {
 
16
    print "<Value value=\"$value\" name=\"$opt\"/>";
 
17
}
 
18
echo "<Value name=\"" . _("Custom") . "\" value=\"-1\"/>";
 
19
echo "</result>";
 
20
 
 
21
?>
 
 
b'\\ No newline at end of file'