OSDN Git Service

reserve change bug fix.
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Wed, 19 Aug 2009 05:02:52 +0000 (05:02 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Wed, 19 Aug 2009 05:02:52 +0000 (05:02 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@115 4e526526-5e11-4fc0-8910-f8fd03428081

Rec10WEB/trunk/src/readme.txt
Rec10WEB/trunk/src/rec10web.py
Rec10WEB/trunk/src/rswi.htm
Rec10WEB/trunk/src/rswi_edit.htm

index 452e4e8..bee9b6d 100644 (file)
@@ -14,6 +14,8 @@ dbMySQLパッケージおよびpython2.4以上が必要です。
 history
 
 0.6.0
+データーベースにMySQLサポートを追加
+Rec10WEBのみpython2.4以上で動作するように
 
 0.4.1a
 曜日検索ができるようになった
index 8789afd..af2656f 100644 (file)
@@ -147,8 +147,8 @@ def change_reserv(id,type,keyword,chtxt,btime,etime,deltatime,opt,deltaday):
     MaxS=MaxS-tsnum[1]
     bctype=""
     rett=""
-    for bctypet, chtxtt in database.select_by_chtxt_chdata(chtxt):
-        bctype=bctypet
+    for dl in database.select_by_chtxt_chdata(chtxt):
+        bctype=dl[0]
     if (type=="rec") or (type=="res") or (type=="key") or (type=="keyevery"):
         if bctype.find("cs")>-1:
             MaxS=MaxS-1
@@ -320,6 +320,7 @@ if (chtxt != "")and(title != "")and(btime!="")and(etime!="")and(opts!="")and(exe
 #
 if (chtxt != "")and(title != "")and(btime!="")and(etime!="")and(opts!="")and(re.search('edit-exec:',exect)):
     editnum=exect.replace("edit-exec:","")
+    #restxt=change_reserv(id, type, keyword, chtxt, btime, etime, deltatime, opt, deltaday)
     restxt=change_reserv(editnum,type, title, chtxt, btime, etime, deltahour, opts, deltaday)
     if restxt=="":
         htmdate=readRecFinisSimple()
index e90572b..887d6a5 100644 (file)
     <!-- テーマの読み込み -->
     <body class="tundra">
         <div dojoType="dijit.form.Form" action="rec10web.py" onExecute="this.submit()">
-        <h1>Rec10 Simple Web Interface ver.0.4.1a</h1><br>
+        <h1>Rec10 Simple Web Interface ver.0.6.0</h1><br>
         <select name="type"
                 dojoType="dijit.form.FilteringSelect"
                 autocomplete="false"
index a6d1ef6..3709154 100644 (file)
     <!-- テーマの読み込み -->
     <body class="tundra">
         <div dojoType="dijit.form.Form" action="rec10web.py" onExecute="this.submit()">
-        <h1>Rec10 Simple Web Interface ver.0.5.0a 編集画面</h1><br>
+        <h1>Rec10 Simple Web Interface ver.0.6.0 編集画面</h1><br>
         <select name="type"
                 dojoType="dijit.form.FilteringSelect"
                 autocomplete="false"