Merge branch 'refs/heads/master' of ssh://tode@scm.schwerkraft.elitedvb.net/scmrepos...
[enigma2-plugins.git] / autotimer / src / web-data / index.html
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
3        "http://www.w3.org/TR/html4/loose.dtd">
4 <html>
5
6 <head>
7         <meta content="text/html; charset=UTF-8" http-equiv="content-type">
8         <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
9         
10         <title>Dreambox AutoTimerEditor</title>
11         
12         <link href="/autotimereditor/style.css" type="text/css" rel="stylesheet">
13         <link rel="shortcut icon" type="/web-data/image/x-icon" href="/web-data/img/favicon.ico">
14         <!--
15         <script type="text/javascript" src="/web-data/lib/prototype.js"></script>
16         <script type="text/javascript" src="/web-data/lib/curvycorners.js"></script>
17         <script type="text/javascript" src="/web-data/lib/trimpath-template-1.0.38.js"></script>
18         <script type="text/javascript" src="/web-data/lib/hashlistener2.js"></script>
19         <script type="text/javascript" src="/web-data/lib/datepicker/datepicker.js">
20         {
21                 "nodrag":1,
22                 "lang":"en",
23                 "buttontabindex":true,
24                 "cellformat":["Y-ds-m-ds-d"],
25                 "titleformat":["Y-ds-m-ds-d"]
26         }
27         </script>
28         -->
29         <script type="text/javascript" src="/web-data/lib/libs_minified.js">
30         {
31                 "nodrag":1,
32                 "lang":"en",
33                 "buttontabindex":true,
34                 "cellformat":["Y-ds-m-ds-d"],
35                 "titleformat":["Y-ds-m-ds-d"]
36         }
37         </script>
38         <script language="javascript" type="text/javascript">
39                 if (!window.$) {
40                         window.$ = function(id) { return document.getElementById(id); }
41                 }
42                 
43                 function getAjaxLoad(){
44                         return ('<center><img style="padding-top: 50px;" src="/web-data/gfx/ajaxload.gif" alt="loading..."></center>');
45                 }
46         </script>
47         <!-- Webinterface Stuff -->
48         <script type="text/javascript" src="/web-data/userprefs.js"></script>
49         <script type="text/javascript" src="/web-data/statics.js" ></script>
50         <script type="text/javascript" src="/web-data/helpers.js" ></script>
51         <script type="text/javascript" src="/web-data/provider.js" ></script>
52         <script type="text/javascript" src="/web-data/handler.js" ></script>
53         <script type="text/javascript" src="/web-data/core.js" ></script>
54
55         <!-- autotimereditor stuff -->
56         <script type="text/javascript" src="jquery.js"></script>
57         <script type="text/javascript">$.noConflict();</script>
58         <link rel="stylesheet" type="text/css" href="/autotimereditor/anytimec.css" />
59         <script type="text/javascript" src="/autotimereditor/anytimec.js" ></script>
60         <script type="text/javascript" src="/autotimereditor/autotimereditor.js" ></script>
61         
62 </head>
63 <body onload="document.getElementById('notification').style.display='none'">
64         <div id="container">
65
66                 <div id="banner">
67                         <span id="notification"><div></div></span>
68                         <div id="bannerCenter">
69                                 <div id="bannerText">
70                                         <img src="/autotimereditor/dreambox_autotimereditor.png" alt="Dreambox AutoTimerEditor">
71                                 </div>
72                         </div>
73                 </div>
74
75                 <div id="menu">
76                         <div id="contentAutoTimerMenu"></div>
77                 </div>
78
79                 <div id="main">
80                         <div id="navContainer">
81                                 <div id="nav">
82                                         <div id="navHd" class="header">
83                                                 <div class="headerindent">AutoTimer List</div>
84                                         </div>
85                                         <div id="contentAutoTimerList"></div>
86                                 </div>
87                         </div>
88                         <div id="contentContainer">
89                                 <div id="content">
90                                         <div id="contentHd" class="header">
91                                                 <div id="headerautotimercontent" class="headerindent">AutoTimer</div>
92                                         </div>
93                                         <div id="contentAutoTimerContent"></div>
94                                 </div>
95                         </div>
96                 </div>
97
98         </div>
99
100         <script language="JavaScript">
101                 
102                 // Read get parameters
103                 HTTP_GET_VARS=new Array();
104                 strGET=document.location.search.substr(1,document.location.search.length);
105                 if(strGET!=''){
106             gArr=strGET.split('&');
107             for(i=0;i<gArr.length;++i){
108               v='';vArr=gArr[i].split('=');
109               if(vArr.length>1){v=vArr[1];}
110               HTTP_GET_VARS[unescape(vArr[0])]=unescape(v);
111                   }
112                 }
113                  
114                 function GET(v){
115                         if(!HTTP_GET_VARS[v]){return '';}
116                         return HTTP_GET_VARS[v];
117                 }
118                 
119                 // Instantiate the AutotimerEditor
120                 autotimereditorcore = new AutoTimerEditorCore(GET('name'), GET('servicename'), GET('servicereference'), GET('from'), GET('to'));
121                 
122         </script>
123
124 </body>
125 </html>