diff templates/reservationform.html @ 23:f3bf1be1a51b

Change: using ajax in custom reservation method
author yoneda <yoneda@recorder.localnet.mda.or.jp>
date Thu, 23 Jul 2009 23:35:43 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/reservationform.html	Thu Jul 23 23:35:43 2009 +0900
@@ -0,0 +1,51 @@
+<form method="post" action="customReservation.php">
+<div>
+<span class="labelLeft">開始日時</span>
+        <input type="text" size="4" name="syear" id="id_syear" value="{$syear}" />年
+        <input type="text" size="2" name="smonth" id="id_smonth" value="{$smonth}" />月
+        <input type="text" size="2" name="sday" id="id_sday" value="{$sday}" />日
+        <input type="text" size="2" name="shour" id="id_shour" value="{$shour}" />時
+        <input type="text" size="2" name="smin" id="id_smin" value="{$smin}" />分~
+    </div>
+<div>
+    <span class="labelLeft">終了日時</span>
+        <input type="text" size="4" name="eyear" id="id_eyear" value="{$eyear}" />年
+        <input type="text" size="2" name="emonth" id="id_emonth" value="{$emonth}" />月
+        <input type="text" size="2" name="eday" id="id_eday" value="{$eday}" />日
+        <input type="text" size="2" name="ehour" id="id_ehour" value="{$ehour}" />時
+        <input type="text" size="2" name="emin" id="id_emin" value="{$emin}" />分
+    </div>
+<div>
+<span class="labelLeft">種別/ch</span>
+   {$type}:{$channel}ch
+       <input type="hidden" name="channel_id" id="id_channel_id" value="{$channel_id}" />
+   </div>
+<div>
+<span class="labelLeft">録画モード</span>
+    <select name="record_mode" id="id_record_mode">
+        {section name=mode loop=$record_mode }
+          <option value="{$smarty.section.mode.index}">{$record_mode[mode].name}</option>
+        {/section}
+        </select>
+     </div>
+<div>
+<span class="labelLeft">タイトル</span>
+   <input type="text" size="40" name="title" id="id_title" value="{$title}" /></div>
+
+<div>
+<span class="labelLeft">概要</span>
+    <textarea name="description" id="id_description" rows="4" cols="40" >{$description}</textarea></div>
+
+<div>
+<span class="labelLeft">カテゴリ</span>
+      <select name="category_id" id="id_category_id">
+      {foreach from=$cats item=cat}
+        <option value="{$cat.id}" {$cat.selected}>{$cat.name}</option>
+      {/foreach}
+      </select>
+    </div>
+
+<div>
+<span class="labelLeft">番組ID保持</span>
+  <input type="checkbox" name="program_id" id="id_program_id" value="{$program_id}" checked /></div>
+</form>