source: branches/version-2_11-dev/data/Smarty/templates/sphone/shopping/index.tpl @ 21228

Revision 21228, 4.7 KB checked in by fukap, 13 years ago (diff)

スマートフォンサイト 商品名検索で「全商品」という見出しを修正
該当箇所が他にも見つかったので最後コミット

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2011 LOCKON CO.,LTD. All Rights Reserved.
5 *
6 * http://www.lockon.co.jp/
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21 *}-->
22<!--▼CONTENTS-->
23<script>
24  function ajaxLogin() {
25      var checkLogin = fnCheckLogin('member_form');
26
27      if (checkLogin == false) {
28          return false;
29      } else {
30
31          var postData = new Object;
32          postData['<!--{$smarty.const.TRANSACTION_ID_NAME}-->'] = "<!--{$transactionid}-->";
33          postData['mode'] = 'login';
34          postData['login_email'] = $('input[type=email]').val();
35          postData['login_pass'] = $('input[type=password]').val();
36
37          $.ajax({
38              type: "POST",
39              url: "<!--{$smarty.const.ROOT_URLPATH}-->shopping/index.php",
40              data: postData,
41              cache: false,
42              dataType: "json",
43              error: function(XMLHttpRequest, textStatus, errorThrown){
44                  alert(textStatus);
45              },
46              success: function(result){
47                  if (result.success) {
48                      location.href = '<!--{$smarty.const.ROOT_URLPATH}-->shopping/' + result.success;
49                  } else {
50                      alert(result.login_error);
51                  }
52              }
53          });
54      }
55  }
56</script>
57<section id="slidewindow">
58<h2 class="title"><!--{$tpl_title|h}--></h2>
59<!--<!--{$smarty.const.HTTP_URL}-->shopping/index.php-->
60<form name="member_form" id="member_form" method="post" action="javascript:;" onSubmit="return ajaxLogin()">
61    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
62    <input type="hidden" name="mode" value="login" />
63    <div class="login_area">
64
65    <div class="loginareaBox data-role-none">
66    <!--{assign var=key value="login_email"}-->
67    <span class="attention"><!--{$arrErr[$key]}--></span>
68    <input type="email" name="<!--{$key}-->" value="<!--{$tpl_login_email|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="mailtextBox data-role-none" placeholder="メールアドレス" />
69    <!--{assign var=key value="login_pass"}-->
70    <span class="attention"><!--{$arrErr[$key]}--></span>
71    <input type="password" name="<!--{$key}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="passtextBox data-role-none" placeholder="パスワード" />
72    </div>
73
74    <p class="arrowRtxt"><a rel="external" href="<!--{$smarty.const.HTTPS_URL|sfTrimURL}-->/forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->">パスワードを忘れた方</a></p>
75    <div class="btn_area">
76    <p><input type="submit" value="ログイン" class="btn data-role-none" name="log" id="log" /></p>
77    </div>
78    </div><!--▲loginarea-->
79</form>
80<form name="member_form2" id="member_form2" method="post" action="<!--{$smarty.const.HTTP_URL}-->shopping/index.php">
81      <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
82      <input type="hidden" name="mode" value="nonmember" />
83    <div class="login_area_btm">
84    <nav>
85    <ul class="navBox">
86    <li><a rel="external" href="<!--{$smarty.const.ROOT_URLPATH}-->entry/kiyaku.php" class="navBox_link">新規会員登録</a></li>
87    <li><input type="submit" value="会員登録をせずに購入" class="nav_nonmember data-role-none" name="buystep" id="buystep" /></li>
88    </ul>
89    </nav>
90    <p class="message">会員登録をすると便利なMyページをご利用いただけます。</p>
91
92    </div>
93</form>
94
95</section>
96<!--▼検索バー -->
97<section id="search_area">
98<form method="get" action="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php">
99<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
100<input type="hidden" name="mode" value="search" />
101<input type="search" name="name" id="search" value="" placeholder="キーワードを入力" class="searchbox" >
102</form>
103</section>
104<!--▲検索バー -->
105<!--▲CONTENTS-->
Note: See TracBrowser for help on using the repository browser.