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_edit_update_c_commu}) |
---|
8 | <input type="hidden" name="target_c_commu_id" value="({$target_c_commu_id})" /> |
---|
9 | <table> |
---|
10 | <tr><th>コミュニティ名</th><td><input type="text" class="input_text" name="name" value="({$c_commu.name})" size="40" /></td></tr> |
---|
11 | <tr><th>カテゴリ</th><td> |
---|
12 | <select name="c_commu_category_id"> |
---|
13 | ({foreach from=$c_commu_category_list item=item}) |
---|
14 | <option value="({$item.c_commu_category_id})"({if $item.c_commu_category_id == $c_commu.c_commu_category_id}) selected="selected"({/if})>({$item.name})</option> |
---|
15 | ({/foreach}) |
---|
16 | </select> |
---|
17 | </td></tr> |
---|
18 | <tr><th>参加条件と公開範囲</th><td> |
---|
19 | <ul> |
---|
20 | ({foreach from=$public_flag_list key=key item=item}) |
---|
21 | <li><input type="radio" class="input_radio" name="public_flag" id="public_flag_({$key})" value="({$key})"({if $key == $c_commu.public_flag}) checked="checked"({/if}) /><label for="public_flag_({$key})">({$item})</label></li> |
---|
22 | ({/foreach}) |
---|
23 | </ul> |
---|
24 | </td></tr> |
---|
25 | <tr><th>トピック作成権限</th><td> |
---|
26 | <ul> |
---|
27 | ({foreach from=$topic_authority_list key=key item=item}) |
---|
28 | <li><input type="radio" class="input_radio" name="topic_authority" id="topic_authority_({$key})" value="({$key})"({if $key == $c_commu.topic_authority}) checked="checked"({/if}) /><label for="topic_authority_({$key})">({$item})</label></li> |
---|
29 | ({/foreach}) |
---|
30 | </ul> |
---|
31 | </td></tr> |
---|
32 | <tr><th>コミュニティ説明文</th><td><textarea name="info" rows="6" cols="50">({$c_commu.info})</textarea></td></tr> |
---|
33 | <tr><th>写真</th><td> |
---|
34 | ({if $c_commu.image_filename}) |
---|
35 | <p> |
---|
36 | <img src="({t_img_url filename=$c_commu.image_filename w=76 h=76})" alt="" /><br /> |
---|
37 | <a href="({t_url m=pc a=do_c_edit_image_delete_c_commu_image})&target_c_commu_id=({$c_commu.c_commu_id})&sessid=({$PHPSESSID})">削除</a> |
---|
38 | </p> |
---|
39 | ({/if}) |
---|
40 | <input type="file" size="40" name="image_filename" /> |
---|
41 | </td></tr> |
---|
42 | ({if !$is_unused_join_commu}) |
---|
43 | <tr><th>参加お知らせメール受信設定</th><td> |
---|
44 | <ul> |
---|
45 | <li><input type="radio" class="input_radio" name="is_send_join_mail" id="is_send_join_mail_1" value="1"({if $c_commu.is_send_join_mail}) checked="checked"({/if}) /><label for="is_send_join_mail_1">受信する</label></li> |
---|
46 | <li><input type="radio" class="input_radio" name="is_send_join_mail" id="is_send_join_mail_0" value="0"({if !$c_commu.is_send_join_mail}) checked="checked"({/if}) /><label for="is_send_join_mail_0">受信しない</label></li> |
---|
47 | </ul> |
---|
48 | <p>※コミュニティに新しく参加者が加わった時に、管理者(あなた)にメールを送ります。</p> |
---|
49 | </td></tr> |
---|
50 | ({/if}) |
---|
51 | </table> |
---|
52 | <div class="operation"> |
---|
53 | <ul class="moreInfo button"> |
---|
54 | <li><input type="submit" class="input_submit" value="変更を確定" /></li> |
---|
55 | </ul> |
---|
56 | </div> |
---|
57 | ({/t_form_block}) |
---|
58 | </div></div> |
---|
59 | ({* }}} *}) |
---|
60 | |
---|
61 | ({if $c_commu.c_member_id_sub_admin != $u && $c_commu.c_member_id_admin == $u}) |
---|
62 | ({if $is_topic}) |
---|
63 | |
---|
64 | ({* {{{ descriptionBox *}) |
---|
65 | <div class="dparts descriptionBox"><div class="parts"> |
---|
66 | <div class="partsHeading"><h3>コミュニティを削除する</h3></div> |
---|
67 | <div class="block"> |
---|
68 | <p>コミュニティを削除するには、トピックをすべて削除する必要があります。<br /> |
---|
69 | トピックがある場合は、それらを削除した後、このページに再度アクセスしてください。<br /> |
---|
70 | (削除ボタンが表示されます)<br /> |
---|
71 | <br /> |
---|
72 | 削除の際はトラブル等を避けるため、あらかじめ参加者へ削除を告知してください。</p> |
---|
73 | </div> |
---|
74 | </div></div> |
---|
75 | ({* }}} *}) |
---|
76 | |
---|
77 | ({else}) |
---|
78 | |
---|
79 | ({* {{{ infoButtonBox *}) |
---|
80 | <div class="dparts infoButtonBox"><div class="parts"> |
---|
81 | <div class="partsHeading"><h3>コミュニティを削除する</h3></div> |
---|
82 | <div class="block"> |
---|
83 | <p>コミュニティを削除します。削除の際はトラブル等を避けるため、あらかじめ参加者へ削除を告知してください。</p> |
---|
84 | ({t_form_block m=pc a=page_c_edit_delete_c_commu_confirm}) |
---|
85 | <input type="hidden" name="target_c_commu_id" value="({$c_commu.c_commu_id})" /> |
---|
86 | <ul class="moreInfo button"> |
---|
87 | <li><input type="submit" class="input_submit" value="削除" /></li> |
---|
88 | </ul> |
---|
89 | ({/t_form_block}) |
---|
90 | </div> |
---|
91 | </div></div> |
---|
92 | ({* }}} *}) |
---|
93 | |
---|
94 | ({/if}) |
---|
95 | ({/if}) |
---|
96 | |
---|
97 | </div><!-- Center --> |
---|
98 | </div><!-- LayoutC --> |
---|