Changeset 21138 for branches/version-2_11-dev/data/Smarty/templates
- Timestamp:
- 2011/08/05 23:14:32 (15 years ago)
- bzr:base-revision:
- svn-v4:1e3b908f-19a9-db11-a64c-001125224ba8:branches/version-2_11-dev:21137
- bzr:committer:
- Kentaro Ohkouchi <[email protected]>
- bzr:file-ids:
data/Smarty/templates/sphone/shopping/index.tpl index.tpl-20101209134550-lsv02w9wikfx9cj3-38
data/class/pages/shopping/LC_Page_Shopping.php 15223@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fpages%2Fshopping%2FLC_Page_Shopping.php- bzr:mapping-version:
- v4
- bzr:merge:
[email protected]- bzr:repository-uuid:
- 1e3b908f-19a9-db11-a64c-001125224ba8
- bzr:revision-id:
- [email protected]
- bzr:revno:
- 3841
- bzr:revprop:branch-nick:
- branches/version-2_11-dev
- bzr:root:
- branches/version-2_11-dev
- bzr:testament:
bazaar-ng testament short form 2.1
revision-id: [email protected]
sha1: 61681cc48b8e8a64c49987149056042bcc8f479e- bzr:text-parents:
data/Smarty/templates/sphone/shopping/index.tpl [email protected]
data/class/pages/shopping/LC_Page_Shopping.php svn-v4:1e3b908f-19a9-db11-a64c-001125224ba8:branches/version-2_11-dev:20970- bzr:timestamp:
- 2011-08-05 23:14:29.957000017 +0900
- bzr:user-agent:
- bzr2.3.1+bzr-svn1.1.0dev0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/Smarty/templates/sphone/shopping/index.tpl
r21132 r21138 21 21 *}--> 22 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> 23 57 <section id="slidewindow"> 24 58 <div data-role="header"> … … 27 61 </div> 28 62 </div> 29 <form name="member_form" id="member_form" method="post" action="<!--{$smarty.const.HTTP_URL}-->shopping/index.php" onSubmit="return fnCheckLogin('member_form')"> 63 <!--<!--{$smarty.const.HTTP_URL}-->shopping/index.php--> 64 <form name="member_form" id="member_form" method="post" action="javascript:;" onSubmit="return ajaxLogin()"> 30 65 <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 31 66 <input type="hidden" name="mode" value="login" />
Note: See TracChangeset
for help on using the changeset viewer.
