ここの情報は古いです。ご理解頂いた上でお取り扱いください。

source: OpenPNE/trunk/webapp/modules/pc/templates/c_event_edit.tpl @ 8394

Last change on this file since 8394 was 8394, checked in by nakasone, 11 years ago

#3002:イベント作成ページとイベント編集ページで項目の並び順が違うのを修正

File size: 4.4 KB
Line 
1<div id="LayoutC">
2<div id="Center">
3
4({* {{{ formTable *})
5<div class="dparts formTable"><div class="parts">
6<div class="partsHeading"><h3>イベントを編集する</h3></div>
7({t_form_block _enctype=file m=pc a=do_c_event_edit_update_c_commu_topic})
8<input type="hidden" name="target_c_commu_id" value="({$event.c_commu_id})" />
9<input type="hidden" name="target_c_commu_topic_id" value="({$event.c_commu_topic_id})" />
10<table>
11<tr><th>タイトル <strong>※</strong></th><td><input type="text" class="input_text" name="title" value="({$event.name})" size="40" /></td></tr>
12<tr><th>開催日時 <strong>※</strong></th><td>
13<select name="open_date_year">
14<option value="0">----</option>
15({html_options values=$year selected=$event.open_date_year output=$year})
16</select> 年
17<select name="open_date_month">
18<option value="0">--</option>
19({html_options values=$month selected=$event.open_date_month output=$month})
20</select> 月
21<select name="open_date_day">
22<option value="0">--</option>
23({html_options values=$day selected=$event.open_date_day output=$day})
24</select> 日
25(補足:<input type="text" class="input_text" name="open_date_comment" value="({$event.open_date_comment})" size="30" />)
26</td></tr>
27<tr><th>開催場所</th><td>
28<select name="open_pref_id">
29<option value="0">選択してください</option>
30({html_options options=$pref selected=$event.open_pref_id})
31</select>
32(補足:<input type="text" class="input_text" name="open_pref_comment" value="({$event.open_pref_comment})" size="30" />)
33</td></tr>
34<tr><th>詳細 <strong>※</strong></th><td><textarea name="detail" rows="6" cols="50">({$event.body})</textarea></td></tr>
35<tr><th>募集期限</th><td>
36<select name="invite_period_year">
37<option value="">----</option>
38({html_options values=$year selected=$event.invite_period_year output=$year})
39</select> 年
40<select name="invite_period_month">
41<option value="">--</option>
42({html_options values=$month selected=$event.invite_period_month output=$month})
43</select> 月
44<select name="invite_period_day">
45<option value="">--</option>
46({html_options values=$day selected=$event.invite_period_day output=$day})
47</select> 日
48</td></tr>
49<tr><th>募集人数</th><td><input type="text" class="input_text" name="capacity" value="({if $event.capacity})({$event.capacity})({/if})" /></td></tr>
50<tr><th>写真1</th><td>
51({if $event.image_filename1})
52<p>
53<img src="({t_img_url filename=$event.image_filename1 w=120 h=120})" alt="" /><br />
54<a href="({t_url m=pc a=do_c_event_edit_delete_c_commu_topic_comment_image})&amp;target_c_commu_topic_id=({$event.c_commu_topic_id})&amp;pic_delete=1&amp;sessid=({$PHPSESSID})">削除</a>
55</p>
56({/if})
57<input type="file" class="input_file" name="image_filename1" size="40" />
58</td></tr>
59<tr><th>写真2</th><td>
60({if $event.image_filename2})
61<p>
62<img src="({t_img_url filename=$event.image_filename2 w=120 h=120})" alt="" /><br />
63<a href="({t_url m=pc a=do_c_event_edit_delete_c_commu_topic_comment_image})&amp;target_c_commu_topic_id=({$event.c_commu_topic_id})&amp;pic_delete=2&amp;sessid=({$PHPSESSID})">削除</a>
64</p>
65({/if})
66<input type="file" class="input_file" name="image_filename2" size="40" />
67</td></tr>
68<tr><th>写真3</th><td>
69({if $event.image_filename3})
70<p>
71<img src="({t_img_url filename=$event.image_filename3 w=120 h=120})" alt="" /><br />
72<a href="({t_url m=pc a=do_c_event_edit_delete_c_commu_topic_comment_image})&amp;target_c_commu_topic_id=({$event.c_commu_topic_id})&amp;pic_delete=3&amp;sessid=({$PHPSESSID})">削除</a>
73</p>
74({/if})
75<input type="file" class="input_file" name="image_filename3" size="40" />
76</td></tr>
77</table>
78<div class="operation">
79<ul class="moreInfo button">
80<li><input type="submit" class="input_submit" value="編集を確定" /></li>
81</ul>
82</div>
83({/t_form_block})
84</div></div>
85({* }}} *})
86
87({* {{{ infoButtonBox *})
88<div class="dparts infoButtonBox"><div class="parts">
89<div class="partsHeading"><h3>イベントを削除する</h3></div>
90<div class="block">
91<p>イベントを削除します。削除の際はトラブル等を避けるため、あらかじめ参加者へ削除を告知してください。</p>
92({t_form_block m=pc a=page_c_event_delete_confirm})
93<input type="hidden" name="target_c_commu_topic_id" value="({$event.c_commu_topic_id})" />
94<ul class="moreInfo button">
95<li><input type="submit" class="input_submit" value=" 削 除 " /></li>
96</ul>
97({/t_form_block})
98</div>
99</div></div>
100({* }}} *})
101
102</div><!-- Center -->
103</div><!-- LayoutC -->
Note: See TracBrowser for help on using the repository browser.