2 * 表示データ作成用テンプレート(patTemplate)
\r
4 * LICENSE: This source file is licensed under the terms of the GNU General Public License.
\r
6 * @package Magic3 Framework
\r
7 * @author 平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
\r
8 * @copyright Copyright 2006-2013 Magic3 Project.
\r
9 * @license http://www.gnu.org/copyleft/gpl.html GPL License
\r
10 * @version SVN: $Id: admin_comment_detail.tmpl.html 6036 2013-05-25 13:16:49Z fishbone $
\r
11 * @link http://www.magic3.org
\r
13 <patTemplate:tmpl name="_widget">
\r
14 <script type="text/javascript">
\r
17 if (!window.confirm('項目を新規追加しますか?')) return false;
\r
18 document.main.act.value = 'add';
\r
19 document.main.submit();
\r
22 function updateItem(){
\r
23 if (!window.confirm('項目を更新しますか?')) return false;
\r
24 document.main.act.value = 'update';
\r
25 document.main.submit();
\r
29 if (!window.confirm('項目を削除しますか?')) return false;
\r
30 document.main.act.value = 'delete';
\r
31 document.main.submit();
\r
34 function cancelItem(){
\r
35 document.main.task.value = 'comment';
\r
36 document.main.submit();
\r
41 <div align="center">
\r
43 <!-- m3:ErrorMessage -->
\r
44 <form method="post" name="main">
\r
45 <input type="hidden" name="task" value="comment_detail" />
\r
46 <input type="hidden" name="act" />
\r
47 <input type="hidden" name="serial" value="{SERIAL}" />
\r
49 <tr><td><span {_HELP_COMMENT_DETAIL}><label>コメント詳細</label></span></td><td align="right">
\r
50 <span {_HELP_COMMENT_RET_BTN}><input type="button" class="button" onclick="cancelItem();" value="戻る" /></span>
\r
52 <tr><td colspan="2">
\r
53 <table class="simple-table">
\r
56 <td class="table-headside" width="100"><span {_HELP_COMMENT_IMAGE_TITLE}>画像タイトル</span></td>
\r
57 <td>{IMAGE_TITLE}</td>
\r
58 <td class="table-headside" width="100"><span {_HELP_COMMENT_CODE}>画像コード</span></td>
\r
62 <td class="table-headside"><span {_HELP_COMMENT_USER}>投稿者</span></td>
\r
63 <td>{REGIST_USER}</td>
\r
64 <td class="table-headside"><span {_HELP_COMMENT_DT}>投稿日時</span></td>
\r
65 <td>{REGIST_DT}</td>
\r
68 <td class="table-headside"><span {_HELP_COMMENT_RATE}>評価</span></td>
\r
69 <td colspan="3">{RATE}</td>
\r
72 <td class="table-headside"><span {_HELP_COMMENT_CONTENT}>コメント内容</span></td>
\r
73 <td colspan="3" width="750" height="200">
\r
74 <textarea name="item_comment" style="width:100%;height:100%;">{COMMENT}</textarea>
\r
78 <td class="table-headside">更新者</td>
\r
79 <td>{UPDATE_USER}</td>
\r
80 <td class="table-headside">更新日時</td>
\r
81 <td>{UPDATE_DT}</td>
\r
84 <td colspan="6" align="right">
\r
85 <patTemplate:tmpl name="delete_button" visibility="hidden">
\r
86 <input type="button" class="button" onclick="delItem();" value="削除" />
\r
88 <patTemplate:tmpl name="update_button" visibility="hidden">
\r
89 <input type="button" class="button" onclick="updateItem();" value="更新" />
\r
91 <patTemplate:tmpl name="add_button" visibility="hidden">
\r
92 <input type="button" class="button" onclick="addItem();" value="新規追加" />
\r
102 </patTemplate:tmpl>
\r