Савинцев Егор 🚶 (savintsev_egor) wrote in changelog,
Савинцев Егор 🚶
savintsev_egor
changelog

[ljcom] r9375: LJSUP-6515: Custom Userheads

Committer: esavintcev
LJSUP-6515: Custom Userheads
U   trunk/templates/Shop/UserHeads.tmpl
Modified: trunk/templates/Shop/UserHeads.tmpl
===================================================================
--- trunk/templates/Shop/UserHeads.tmpl	2010-08-23 06:31:31 UTC (rev 9374)
+++ trunk/templates/Shop/UserHeads.tmpl	2010-08-23 06:42:00 UTC (rev 9375)
@@ -19,12 +19,10 @@
 		<li class="b-buy-goods-item <tmpl_unless is_gift>current</tmpl_unless><tmpl_if is_self_disabled> disabled</tmpl_if>">
 			<form action="" method="post">
 				<fieldset>
-				<TMPL_VAR form_auth>
-					<div class="b-buy-intro">
-                        <TMPL_LOOP userheads>
-                            <img src="<TMPL_VAR uh_img>"><br/><input type="radio" name="uh" value="uh-<TMPL_VAR uh_id>"><TMPL_VAR price>
-                        </TMPL_LOOP>
-					</div>
+					<TMPL_VAR form_auth>
+					<ul class="b-buy-form b-userheads-items">
+						<TMPL_LOOP userheads><li class="b-userheads-item"><label for="uh-<TMPL_VAR uh_id>"><input type="radio" name="uh" value="uh-<TMPL_VAR uh_id>" id="uh-<TMPL_VAR uh_id>" /><img src="<TMPL_VAR uh_img>" width="17" height="17" alt="" /><br /><TMPL_IF expr="int(price)==0"><strong class="free"><TMPL_VAR price_free></strong><TMPL_ELSE><TMPL_IF expr="int(price)>=2"><strong class="premium"><TMPL_VAR price_premium></strong><TMPL_ELSE><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></label></li></TMPL_LOOP>
+					</ul>
 					<div class="b-buy-total canyon">
 						<p class="canyon-section"><TMPL_VAR expr="ml('shop.view.total')"> <strong>$<span class="i-total"></span></strong></p>
 						<button type="submit" class="canyon-side"><TMPL_VAR expr="ml('shop.view.add_to_cart')"></button>
@@ -67,12 +65,9 @@
 							</li>
 						</ul>
 					</div>
-					<div class="b-buy-intro">
-						<p><TMPL_VAR description></p>
-                        <TMPL_LOOP userheads>
-                            <img src="<TMPL_VAR uh_img>"><br/><input type="radio" name="uh" value="uh-<TMPL_VAR uh_id>"><TMPL_VAR price>
-                        </TMPL_LOOP>
-					</div>
+					<ul class="b-buy-form b-userheads-items">
+						<TMPL_LOOP userheads><li class="b-userheads-item"><label for="uh-<TMPL_VAR uh_id>"><input type="radio" name="uh" value="uh-<TMPL_VAR uh_id>" id="uh-<TMPL_VAR uh_id>" /><img src="<TMPL_VAR uh_img>" width="17" height="17" alt="" /><br /><TMPL_IF expr="int(price)==0"><strong class="free"><TMPL_VAR price_free></strong><TMPL_ELSE><TMPL_IF expr="int(price)>=2"><strong class="premium"><TMPL_VAR price_premium></strong><TMPL_ELSE><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></label></li></TMPL_LOOP>
+					</ul>
 					<ul class="b-buy-form b-buy-onetime b-buy-gift">
 					</ul>
 					<div class="b-buy-total canyon">

Tags: ljcom, savintsev_egor, tmpl
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