Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[ljcom] r8239: LJSV-336 (Error message/system text for ...

Committer: ailyin
LJSV-336 (Error message/system text for custom mood theme creator): flexisquares didn't output mood theme images properly, fix it

U   trunk/bin/upgrading/s2layers/flexiblesquares/layout.s2
Modified: trunk/bin/upgrading/s2layers/flexiblesquares/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/flexiblesquares/layout.s2	2010-03-03 09:06:53 UTC (rev 8238)
+++ trunk/bin/upgrading/s2layers/flexiblesquares/layout.s2	2010-03-03 10:17:12 UTC (rev 8239)
@@ -1996,7 +1996,7 @@
             if ($k == "mood" and defined $.mood_icon)
                 {
                 var Image i = $.mood_icon;
-                $val = "<img src='$i.url' width='$i.width' height='$i.height' align='middle' alt='' /> $val";
+                $val = $i->as_string_ex($i.alttext, "align='middle' ") + $val;
                 }
             $currents = $currents + """<div class="current$k"><strong>$text:</strong> $val</div>""";
         }

Tags: andy, 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