Vlad Kurkin (b_vladi) wrote in changelog,
Vlad Kurkin
b_vladi
changelog

[ljcom] r11416: LJSUP-10937: Self promo for journals and...

Committer: vkurkin
LJSUP-10937: Self promo for journals and communities
U   trunk/templates/Shop/SelfPromo.tmpl
Modified: trunk/templates/Shop/SelfPromo.tmpl
===================================================================
--- trunk/templates/Shop/SelfPromo.tmpl	2012-02-06 14:22:56 UTC (rev 11415)
+++ trunk/templates/Shop/SelfPromo.tmpl	2012-02-06 14:32:33 UTC (rev 11416)
@@ -7,7 +7,7 @@
 	<p><TMPL_VAR expr="ml('shop.view.selfpromo.promo.text')"></p>
 </div>
 
-<ul class="m-shop-tabs">
+<ul class="m-shop-tabs" id="mTabsShop">
 <TMPL_IF name="tab_entry_active">
     <li class="current"><a href="<TMPL_VAR self_uri>?type=entry"> <TMPL_VAR expr="ml('/shop/selfpromo.bml.tab.entry')"></a></li>
     <li><a href="<TMPL_VAR self_uri>?type=journal"><TMPL_VAR expr="ml('/shop/selfpromo.bml.tab.journal')"></a></li>
@@ -27,7 +27,7 @@
 </TMPL_IF>
 </ul>
 
-<ul class="b-wallet-tokens">
+<ul class="b-wallet-tokens" id="mTabsShopContent">
 	<li class="b-wallet-tokens-item b-wallet-tokens-buy<TMPL_IF name='tab_entry_active'> current</TMPL_IF>">
     <TMPL_LOOP entry>
         <TMPL_INCLUDE NAME="SelfPromoTab.tmpl">
@@ -44,3 +44,9 @@
     </TMPL_LOOP>
 	</li>
 </ul>
+
+<script type="text/javascript">
+	//<![CDATA[
+	jQuery('#mTabsShop').tabsChanger('#mTabsShopContent');
+	//]]>
+</script>
\ No newline at end of file

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