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

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

Committer: narefieva
LJSV-336 (Error message/system text for custom mood theme creator): generator didn't output mood theme images properly, fix it
U   trunk/bin/upgrading/s2layers/generator/layout.s2
Modified: trunk/bin/upgrading/s2layers/generator/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/generator/layout.s2	2010-03-04 07:47:49 UTC (rev 16323)
+++ trunk/bin/upgrading/s2layers/generator/layout.s2	2010-03-04 07:55:26 UTC (rev 16324)
@@ -858,7 +858,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;
             }
             $metadata = """$metadata\n<tr><td class="meta">[</td><td class="meta" align="right"><b>$text</b></td>
             <td class="meta" align="center">|</td><td class="meta">$val</td><td class="meta">]</td></tr>""";

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