Снорк (nely_snork) wrote in changelog,
Снорк
nely_snork
changelog

[livejournal] r16318: LJSV-336 (Error message/system text for ...

Committer: narefieva
LJSV-336 (Error message/system text for custom mood theme creator): clearsimple didn't output mood theme images properly, fix it
U   trunk/bin/upgrading/s2layers/cleansimple/layout.s2
Modified: trunk/bin/upgrading/s2layers/cleansimple/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/cleansimple/layout.s2	2010-03-04 06:35:38 UTC (rev 16317)
+++ trunk/bin/upgrading/s2layers/cleansimple/layout.s2	2010-03-04 07:02:10 UTC (rev 16318)
@@ -823,7 +823,7 @@
                 }
                 if ($k == "mood" and defined $e.mood_icon) {
                     var Image i = $e.mood_icon;
-                    $val = "<img src='$i.url' width='$i.width' height='$i.height' align='absmiddle'> $val";
+                    $val = $i->as_string_ex($i.alttext, "align='absmiddle' ") + $val;                    
                 }
                 """<div class="current$k"><strong>$text:</strong> $val</div>""";
             }

Tags: livejournal, nely_snork, 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