OSDN Git Service

初回コミット(v2.6.17.1)
[magic3/magic3.git] / widgets / ec_product_slide / include / template / admin.tmpl.html
1 /**\r
2  * 表示データ作成用テンプレート(patTemplate)\r
3  *\r
4  * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
5  *\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
12  */\r
13 <patTemplate:tmpl name="_widget">\r
14 <script type="text/javascript">\r
15 //<![CDATA[\r
16 function updateItem(){\r
17         if (!window.confirm('設定を更新しますか?')) return false;\r
18         document.main.act.value='update';\r
19         document.main.submit();\r
20         return true;\r
21 }\r
22 //]]>\r
23 </script>\r
24 <div align="center">\r
25 <br />\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
30     <tbody>\r
31         <tr>\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
34         </tr>\r
35         <tr class="even">\r
36                     <td colspan="2" align="right"><input type="button" class="button" onclick="updateItem();" value="更新" /></td>\r
37         </tr>\r
38     </tbody>\r
39 </table>\r
40 </form>\r
41 </div>\r
42 </patTemplate:tmpl>\r