OSDN Git Service

初回コミット(v2.6.17.1)
[magic3/magic3.git] / widgets / ec_cart / include / template / main.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: menudef.tmpl.html 5389 2012-11-18 22:42:30Z 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 showbasket(){\r
17         location.href = '{CART_DETAIL_URL}';\r
18         return false;\r
19 }\r
20 //]]>\r
21 </script>\r
22 <div id="photo_cart">\r
23 <div class="cart_info">商品数 {ITEM_COUNT}</div>\r
24 <div class="cart_button"><input type="button" class="button" onclick="showbasket();" value="詳細" /></div>\r
25 <patTemplate:tmpl name="show_item">\r
26 <ul>\r
27 <patTemplate:tmpl name="itemlist">\r
28 <li>{CART_ITEM}</li>\r
29 </patTemplate:tmpl>\r
30 </ul>\r
31 </patTemplate:tmpl>\r
32 {BOTTOM_CONTENT}\r
33 </div>\r
34 </patTemplate:tmpl>\r