Максим Червонный (fiskus_boulder) wrote in changelog,
Максим Червонный
fiskus_boulder
changelog

[ljcom] r10568: LJSUP-8689: donate button, removed for o...

Committer: mchervonniy
LJSUP-8689: donate button, removed for owner, Minimalism
U   trunk/bin/upgrading/s2layers/sup/layout.s2
Modified: trunk/bin/upgrading/s2layers/sup/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/sup/layout.s2	2011-05-26 05:46:10 UTC (rev 10567)
+++ trunk/bin/upgrading/s2layers/sup/layout.s2	2011-05-26 05:49:11 UTC (rev 10568)
@@ -395,9 +395,10 @@
                     $link->print_raw();
                 }
                 if ($link_key == "give_button") {
-                    print safe """<li class="$link_key btn btn-simple"><span><span><span>""";
-		    print $e->get_give_button("string");
-                    print safe """</span></span></span></li>""";
+                    var string give_button = $e->get_give_button("string");
+                    if ($give_button != "") {
+                        print safe """<li class="$link_key btn btn-simple"><span><span><span>$give_button</span></span></span></li>""";
+                    }
                 }
             }
 

Tags: fiskus_boulder, ljcom, s2
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