OSDN Git Service

fix "08"become 00 bug.
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Sat, 25 Jul 2009 02:13:40 +0000 (02:13 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Sat, 25 Jul 2009 02:13:40 +0000 (02:13 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@77 4e526526-5e11-4fc0-8910-f8fd03428081

Rec10WEB/trunk/src/fin.htm
Rec10WEB/trunk/src/finover.htm
Rec10WEB/trunk/src/rec10web.py
Rec10WEB/trunk/src/rswi.htm
Rec10WEB/trunk/src/rswi_edit.htm

index 7960008..170e19f 100644 (file)
@@ -1,13 +1,12 @@
-
-
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
-      <head>
-      <meta http-equive="Content-Type" content="text/html;charset=UTF-8"/>
-       <meta http-equiv="refresh" content="3; url=rec10web.py">
-   <title>Rec10 Simple Web Interface ver.0.4.1a</title>
-       </head>
-       <h1>Rec10 Simple Web Interface ver.0.4.1a</h1><br><br>
-       予約が終了しました。移動します。
-      </body>
+    <head>
+        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
+        <meta http-equiv="refresh" content="3; url=rec10web.py">
+        <title>Rec10 Simple Web Interface ver.0.4.1a</title>
+    </head>
+    <h1>Rec10 Simple Web Interface ver.0.4.1a</h1><br>
+    <br>
+    予約が終了しました。移動します。
+    </body>
 </html>
index 991154f..b090084 100644 (file)
@@ -1,13 +1,12 @@
-
-
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
-      <head>
-      <meta http-equive="Content-Type" content="text/html;charset=UTF-8"/>
-       <meta http-equiv="refresh" content="3; url=rec10web.py">
-   <title>Rec10 Simple Web Interface ver.0.4.1a</title>
-       </head>
-       <h1>Rec10 Simple Web Interface ver.0.4.1a</h1><br><br>
-       最大録画可能数を越えています。
-      </body>
+    <head>
+        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
+        <meta http-equiv="refresh" content="3; url=rec10web.py">
+        <title>Rec10 Simple Web Interface ver.0.4.1a</title>
+    </head>
+    <h1>Rec10 Simple Web Interface ver.0.4.1a</h1><br>
+    <br>
+    最大録画可能数を越えています。
+    </body>
 </html>
index 82320aa..9594d13 100644 (file)
@@ -355,6 +355,6 @@ if re.search('edit:',exect):
     htmdate=htmdate.replace("<!--size-value//-->",size)
     htmdate=htmdate.replace("<!--opts-value//-->",iddata["opt"])
     htmdate=htmdate.replace("<!--exec-value//-->","edit-exec:"+editnum)
-
+print "Content-Type: text/html\n"
 print htmdate
 
index 3d581b0..806fc1a 100644 (file)
@@ -1,9 +1,8 @@
 
-
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
+<html lang="ja">
     <head>
-        <meta http-equive="Content-Type" content="text/html;charset=UTF-8"/>
+        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
         <title>Rec10 Simple Web Interface ver.0.4.1a</title>
         <!-- dojo.jsの読み込み -->
         <script src="../dojo/dojo.js" djConfig="parseOnLoad:true">
                 var d=new Date;
                 var ds=txt;
                 if (ds.length>3){
-                    d.setYear(parseInt(ds.substring(0,4)));
+                    d.setYear(parseInt(ds.substring(0,4),10));
                 }
                 if (ds.length>6){
-                    d.setMonth(parseInt(ds.substring(5,7))-1);
+                    d.setMonth(parseInt(ds.substring(5,7),10)-1);
                 }
                 if (ds.length>9){
-                    d.setDate(parseInt(ds.substring(8,10)));
+                    d.setDate(parseInt(ds.substring(8,10),10));
                 }
                 if (ds.length>12){
-                    d.setHours(parseInt(ds.substring(11,13)));
+                    d.setHours(parseInt(ds.substring(11,13),10));
                 }
                 if (ds.length>15){
-                    d.setMinutes(parseInt(ds.substring(14,16)));
+                    d.setMinutes(parseInt(ds.substring(14,16),10));
                 }
                 if (ds.length>18){
-                    d.setSeconds(parseInt(ds.substring(17,19)));
+                    d.setSeconds(parseInt(ds.substring(17,19),10));
                 }
                 return d
             }
             function add_btimemin(min){
                 var ds=dijit.byId("btime").value;
                 var d=txt2date(ds);
+                //window.alert(ds.toString()+":"+d.toString());
                 d.setTime(d.getTime()+min*60*1000);
                 setbtime(d);
             }
index 4a57aa7..46000bf 100644 (file)
@@ -1,9 +1,7 @@
-
-
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
     <head>
-        <meta http-equive="Content-Type" content="text/html;charset=UTF-8"/>
+        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
         <title>Rec10 Simple Web Interface ver.0.5.0a 編集画面</title>
         <!-- dojo.jsの読み込み -->
         <script src="../dojo/dojo.js" djConfig="parseOnLoad:true">
                 //dojo.debug("test")
                 setType("res");
                 title2opts();
-                changeSize();
+                //changeSize();
                 changeOpts();
                 //changeSize();
             }