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

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

Committer: narefieva
LJSV-336 (Error message/system text for custom mood theme creator): notepad didn't output mood theme images properly, fix it
U   trunk/bin/upgrading/s2layers/notepad/layout.s2
Modified: trunk/bin/upgrading/s2layers/notepad/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/notepad/layout.s2	2010-03-04 08:48:09 UTC (rev 16329)
+++ trunk/bin/upgrading/s2layers/notepad/layout.s2	2010-03-04 09:19:11 UTC (rev 16330)
@@ -516,7 +516,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' alt='' /> $val";
+                    $val = $i->as_string_ex($i.alttext, "align='absmiddle' ") + $val;
                 }
                 "<strong>$key:</strong> $val<br />";
             }

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