wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[ljcom] r9426: LJSUP-6582. Custom Userheads: SMS paymen...

Committer: gprochaev
LJSUP-6582. Custom Userheads: SMS payments. Server side.
U   trunk/templates/Shop/UserHeads.tmpl
Modified: trunk/templates/Shop/UserHeads.tmpl
===================================================================
--- trunk/templates/Shop/UserHeads.tmpl	2010-08-27 07:01:21 UTC (rev 9425)
+++ trunk/templates/Shop/UserHeads.tmpl	2010-08-27 07:13:29 UTC (rev 9426)
@@ -34,7 +34,7 @@
 										<strong>$<TMPL_VAR price></strong>
 									</TMPL_IF>
 								</TMPL_IF><br />
-								<TMPL_if 0><TMPL_if sup_sms><a href="javascript:void();"><TMPL_VAR expr="ml('shop.view.vgifts.paybysms')"></a></TMPL_if></TMPL_if>
+                                <TMPL_if sup_sms><a href="#" onclick="Shop.userheadsPaySms_click(event, <TMPL_VAR uh_id>)"><TMPL_VAR expr="ml('shop.view.vgifts.paybysms')"></a></TMPL_if>
 							</label>
 						</li></TMPL_LOOP></ul>
 					<div class="b-buy-total canyon">
@@ -92,7 +92,7 @@
 										<strong>$<TMPL_VAR price></strong>
 									</TMPL_IF>
 								</TMPL_IF><br />
-								<TMPL_if 0><TMPL_if sup_sms><a href="javascript:void();"><TMPL_VAR expr="ml('shop.view.vgifts.paybysms')"></a></TMPL_if></TMPL_if>
+                                <TMPL_if sup_sms><a href="#" onclick="Shop.userheadsPaySms_click(event, <TMPL_VAR uh_id>)"><TMPL_VAR expr="ml('shop.view.vgifts.paybysms')"></a></TMPL_if>
 							</label>
 						</li></TMPL_LOOP></ul>
 					<ul class="b-buy-form b-buy-onetime b-buy-gift">
@@ -126,3 +126,9 @@
 </div>
 
 </div>
+
+<script type="text/javascript">
+  Shop.ml_userheadsSmsPayTitle = '<tmpl_var smspay_title>';
+  Shop.authToken = '<tmpl_var auth_token>';
+</script>
+

Tags: ljcom, tmpl, wisest-owl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments