Committer: mchervonniy
LJSUP-8689: donate button, removed for owner, MinimalismU 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>"""; + } } }