annotate templates/reservationTable.html @ 69:1033324d7ecc

Merge branch 'origin/testing'
author yoneda <yoneda@recorder.localnet.mda.or.jp>
date Tue, 03 Nov 2009 14:54:40 +0900
parents 03107333d942
children 84220382fea8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
2 "http://www.w3.org/TR/html4/loose.dtd">
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
3
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
4 <html>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
5 <head>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
7 <title>{$sitetitle}</title>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
8 <meta http-equiv="Content-Style-Type" content="text/css">
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
9
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
10 {literal}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
11 <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
25
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
12 <script type="text/javascript" src="js/jquery-ui-1.7.2.custom.min.js"></script>
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
13 <link rel="stylesheet" href="start/jquery-ui-1.7.2.custom.css" type="text/css">
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
14 <script type="text/javascript">
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
15 var PRG = {
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
16 rec:function(id){
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
17 $.get(INISet.prgCancelURL, { reserve_id: id } ,function(data){
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
18
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
19 if(data.match(/^error/i)){
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
20 alert(data);
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
21 }
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
22 else {
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
23 $('#resid_' + id ).hide();
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
24 }
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
25 });
25
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
26 },
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
27 editdialog:function(id) {
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
28 var str;
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
29 str = '<div class="prg_title">予約ID:' + id + '</div>';
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
30 str += '<input type="hidden" name="reserve_id" id="id_reserve_id" value="' + id + '" />';
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
31 str += '<div><span class="labelLeft">タイトル</span><input name="title" id="id_title" size="30" value="'+ $('#tid_' + id ).html() + '" /></div>';
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
32 str += '<div><span class="labelLeft">概要</span><textarea name="description" id="id_description" cols="30" rows="5" >' + $('#did_' + id ).html() + '</textarea></div>';
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
33 str += '<div style="margin:2em 0 1em 0;text-align:center;"><a href="javascript:PRG.edit()" class="ui-state-default ui-corner-all ui-dialog-buttonpane button">変更する</a></div>';
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
34
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
35 $('#floatBox4Dialog').html(str);
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
36 $('#floatBox4Dialog').dialog('open','center');
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
37 },
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
38 edit:function() {
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
39 var id_reserve_id = $('#id_reserve_id').val();
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
40 var id_title = $('#id_title').val();
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
41 var id_description = $('#id_description').val();
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
42
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
43 $.post('changeReservation.php', { reserve_id: id_reserve_id,
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
44 title: id_title,
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
45 description: id_description }, function( data ) {
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
46 if(data.match(/^error/i)){
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
47 alert(data);
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
48 $('#floatBox4Dialog').dialog('close');
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
49
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
50 }
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
51 else {
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
52 $('#tid_' + id_reserve_id ).html( id_title );
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
53 $('#did_' + id_reserve_id ).html( id_description );
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
54 $('#floatBox4Dialog').dialog('close');
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
55 }
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
56 });
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
57 }
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
58 }
25
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
59 $(document).ready(function () {
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
60 var DG = $('#floatBox4Dialog');
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
61 DG.dialog({title:'予約編集',width:500});
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
62 DG.dialog('close');
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
63 });
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
64
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
65 </script>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
66 <style type="text/css">
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
67 <!--
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
68 body {padding:4px;margin:0;font-size:10pt;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
69 a {text-decoration:none;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
70
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
71 table#reservation_table {
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
72 width: 800px;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
73 border: 1px #BBB solid;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
74 border-collapse: collapse;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
75 border-spacing: 0;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
76 }
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
77
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
78 table#reservation_table th {
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
79 padding: 5px;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
80 border: #E3E3E3 solid;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
81 border-width: 0 0 1px 1px;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
82 background: #BBB;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
83 font-weight: bold;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
84 line-height: 120%;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
85 text-align: center;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
86 }
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
87 table#reservation_table td {
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
88 padding: 5px;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
89 border: 1px #BBB solid;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
90 border-width: 0 0 1px 1px;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
91 text-align: center;
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
92 }
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
93
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
94 table#reservation_table tr.ctg_news, #category_select a.ctg_news {background-color: #FFFFD8;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
95 table#reservation_table tr.ctg_etc, #category_select a.ctg_etc {background-color: #FFFFFF;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
96 table#reservation_table tr.ctg_information, #category_select a.ctg_information {background-color: #F2D8FF;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
97 table#reservation_table tr.ctg_sports, #category_select a.ctg_sports {background-color: #D8FFFF;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
98 table#reservation_table tr.ctg_cinema, #category_select a.ctg_cinema {background-color: #FFD8D8;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
99 table#reservation_table tr.ctg_music, #category_select a.ctg_music {background-color: #D8D8FF;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
100 table#reservation_table tr.ctg_drama, #category_select a.ctg_drama {background-color: #D8FFD8;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
101 table#reservation_table tr.ctg_anime, #category_select a.ctg_anime {background-color: #FFE4C8;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
102 table#reservation_table tr.ctg_variety, #category_select a.ctg_variety {background-color: #FFD2EB;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
103 table#reservation_table tr.ctg_10, #category_select a.ctg_10 {background-color: #E4F4F4;}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
104
25
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
105 #floatBox4Dialog .prg_title{font-size:120%;font-weight:bold;padding:0.4em 0;text-align:center;}
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
106 #floatBox4Dialog .prg_rec_cfg{background:#EEE;padding:1em 2em;margin:0.4em 0;}
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
107 #floatBox4Dialog .labelLeft {width:8em;float:left;text-align:right;}
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
108 #floatBox4Dialog .button {padding:0.4em 1em;}
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
109
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
110
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
111 -->
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
112 </style>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
113 {/literal}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
114
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
115 </head>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
116
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
117 <body>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
118
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
119 <h2>{$sitetitle}</h2>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
120
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
121 <div><a href="index.php">番組表に戻る</a></div>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
122
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
123 {if count($reservations)}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
124 <table id="reservation_table">
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
125 <tr>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
126 <th>id</th>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
127 <th>種別</th>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
128 <th>ch</th>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
129 <th>開始</th>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
130 <th>終了</th>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
131 <th>モード</th>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
132 <th>タイトル</th>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
133 <th>内容</th>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
134 <th><a href="keywordTable.php">自動ID</a></th>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
135 <th>削除</th>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
136 </tr>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
137
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
138 {foreach from=$reservations item=reserve}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
139 <tr id="resid_{$reserve.id}" class="ctg_{$reserve.cat}">
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
140 <td>{$reserve.id}</td>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
141 <td>{$reserve.type}</td>
25
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
142 <td id="chid_{$reserve.id}">{$reserve.channel}</td>
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
143 <td id="stid_{$reserve.id}">{$reserve.starttime}</td>
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
144 <td>{$reserve.endtime}</td>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
145 <td>{$reserve.mode}</td>
25
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
146 <td style="cursor: pointer" id="tid_{$reserve.id}" onClick="javascript:PRG.editdialog('{$reserve.id}')">{$reserve.title|escape}</td>
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
147 <td style="cursor: pointer" id="did_{$reserve.id}" onClick="javascript:PRG.editdialog('{$reserve.id}')">{$reserve.description|escape}</td>
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
148 <td>{if $reserve.autorec}{$reserve.autorec}{/if}</td>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
149 <td><input type="button" value="削除" onClick="javascript:PRG.rec('{$reserve.id}')" /></td>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
150 </tr>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
151 {/foreach}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
152 </table>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
153 {else}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
154 現在、予約はありません
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
155 {/if}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
156
25
03107333d942 add: editable reserve program's title & description
yoneda <epgrec@park.mda.or.jp>
parents: 1
diff changeset
157 <div id="floatBox4Dialog">jQuery UI Dialog</div>
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
158
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
159
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
160 {literal}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
161 <script type="text/javascript">
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
162 var INISet = {
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
163 prgRecordURL : 'record.php', // 簡易予約
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
164 prgRecordPlusURL : 'recordp.php', // 詳細予約
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
165 prgCancelURL : 'cancelReservation.php' // 予約キャンセル
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
166 }
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
167 </script>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
168 {/literal}
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
169 </body>
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
170 </html>