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

[ljcom] r9391: LJSUP-6594: Custom Userheads

Committer: esavintcev
LJSUP-6594: Custom Userheads
U   trunk/templates/Shop/UserHeads.tmpl
Modified: trunk/templates/Shop/UserHeads.tmpl
===================================================================
--- trunk/templates/Shop/UserHeads.tmpl	2010-08-25 04:39:08 UTC (rev 9390)
+++ trunk/templates/Shop/UserHeads.tmpl	2010-08-25 06:00:04 UTC (rev 9391)
@@ -21,7 +21,24 @@
 				<fieldset>
 					<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>
+						<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) && (price!='0.99')">
+									<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">
 						<button type="submit" class="canyon-side"><TMPL_VAR expr="ml('shop.view.add_to_cart')"></button>
@@ -65,7 +82,24 @@
 						</ul>
 					</div>
 					<ul class="b-buy-form b-userheads-items">
-						<TMPL_LOOP userheads><li class="b-userheads-item"><label for="uh2-<TMPL_VAR uh_id>"><input type="radio" name="uh" value="uh-<TMPL_VAR uh_id>" id="uh2-<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>
+						<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) && (price!='0.99')">
+									<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>

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