журнал (shhh) wrote in changelog,
журнал
shhh
changelog

[ljcom] r13058: LJSUP-14626: Turn on dengionline for mob...

Committer: nnikulochkina
LJSUP-14626: Turn on dengionline for mobile and qiwi payments (disabled in #100)
U   trunk/templates/Shop/PaymentMethods.tmpl
Modified: trunk/templates/Shop/PaymentMethods.tmpl
===================================================================
--- trunk/templates/Shop/PaymentMethods.tmpl	2012-12-18 11:56:56 UTC (rev 13057)
+++ trunk/templates/Shop/PaymentMethods.tmpl	2012-12-18 12:18:52 UTC (rev 13058)
@@ -6,14 +6,25 @@
 
 <TMPL_IF remote_sup>
     <a href="<TMPL_VAR lj_siteroot>/support/faqbrowse.bml?faqid=21#methods" class="paymentmethods-logos">
-        <img src="<TMPL_VAR lj_imgprefix>/shop/payment/paypal.png?v=21882" alt="PayPal" />
-        <img src="<TMPL_VAR lj_imgprefix>/shop/payment/webmoney.png?v=21882" alt="WebMoney" /><br />
-        <img src="<TMPL_VAR lj_imgprefix>/shop/payment/yad.png?v=7183" alt="<TMPL_VAR expr="ml('/shop/index.bml.storefront.paymentmethods.yad')">" />
-        <img src="<TMPL_VAR lj_imgprefix>/shop/payment/qiwi.png?v=1" alt="Qiwi" /><br />
-        <img src="<TMPL_VAR lj_imgprefix>/shop/payment/visa.png?v=21882" alt="VISA" />
-        <img src="<TMPL_VAR lj_imgprefix>/shop/payment/mastercard.png?v=7016" alt="MasterCard" />
-        <img src="<TMPL_VAR lj_imgprefix>/shop/payment/aexpress.png?v=7016" alt="American Expess" />
-        <img src="<TMPL_VAR lj_imgprefix>/shop/payment/dnovus.png?v=7016" alt="Discover Novus" />
+        <TMPL_IF expr="lj_enabled('dengionline')">
+                <img src="<TMPL_VAR lj_imgprefix>/shop/payment/paypal.png?v=21882" alt="PayPal" />
+                <img src="<TMPL_VAR lj_imgprefix>/shop/payment/webmoney.png?v=21882" alt="WebMoney" /><br />
+                <img src="<TMPL_VAR lj_imgprefix>/shop/payment/yad.png?v=7183" alt="<TMPL_VAR expr="ml('/shop/index.bml.storefront.paymentmethods.yad')">" />
+                <img src="<TMPL_VAR lj_imgprefix>/shop/payment/qiwi.png?v=1" alt="Qiwi" /><br />
+                <img src="<TMPL_VAR lj_imgprefix>/shop/payment/visa.png?v=21882" alt="VISA" />
+                <img src="<TMPL_VAR lj_imgprefix>/shop/payment/mastercard.png?v=7016" alt="MasterCard" />
+                <img src="<TMPL_VAR lj_imgprefix>/shop/payment/aexpress.png?v=7016" alt="American Expess" />
+                <img src="<TMPL_VAR lj_imgprefix>/shop/payment/dnovus.png?v=7016" alt="Discover Novus" />
+        <TMPL_ELSE>
+                <img src="<TMPL_VAR lj_imgprefix>/shop/payment/paypal.png?v=21882" alt="PayPal" />
+                <img src="<TMPL_VAR lj_imgprefix>/shop/payment/yad.png?v=7183" alt="<TMPL_VAR expr="ml('/shop/index.bml.storefront.paymentmethods.yad')">" />
+                <img src="<TMPL_VAR lj_imgprefix>/shop/payment/webmoney.png?v=21882" alt="WebMoney" /><br />
+                <img src="<TMPL_VAR lj_imgprefix>/shop/payment/visa.png?v=21882" alt="VISA" />
+                <img src="<TMPL_VAR lj_imgprefix>/shop/payment/mastercard.png?v=7016" alt="MasterCard" />
+                <img src="<TMPL_VAR lj_imgprefix>/shop/payment/aexpress.png?v=7016" alt="American Expess" />
+                <img src="<TMPL_VAR lj_imgprefix>/shop/payment/dnovus.png?v=7016" alt="Discover Novus" />
+        </TMPL_IF>
+
         <TMPL_IF expr="lj_enabled('dengionline_mob')">
                 <img src="<TMPL_VAR lj_imgprefix>/shop/payment/mts.png?v=1" alt="MTS" />
                 <img src="<TMPL_VAR lj_imgprefix>/shop/payment/megafon.png?v=1" alt="Megafon" />

Tags: ljcom, nikulochkina, nnikulochkina, 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