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-2012 Magic3 Project.
\r
9 * @license http://www.gnu.org/copyleft/gpl.html GPL License
\r
10 * @version SVN: $Id: admin.tmpl.html 5343 2012-10-28 13:31:58Z fishbone $
\r
11 * @link http://www.magic3.org
\r
13 <patTemplate:tmpl name="_widget">
\r
14 <script type="text/javascript">
\r
16 function updateItem(){
\r
17 if (!window.confirm('設定を更新しますか?')) return false;
\r
18 document.main.act.value='update';
\r
19 document.main.submit();
\r
24 <div align="center">
\r
26 <!-- m3:ErrorMessage -->
\r
27 <form method="post" name="main">
\r
28 <input type="hidden" name="act" />
\r
29 <table class="simple-table" width="50%">
\r
32 <td class="table-headside" width="150">商品取得数</td>
\r
33 <td><input type="text" name="view_count" value="{VIEW_COUNT}" size="2" maxlength="2" onkeypress="return m3_numericKey(event,true);" /></td>
\r
36 <td colspan="2" align="right"><input type="button" class="button" onclick="updateItem();" value="更新" /></td>
\r