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

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

Committer: narefieva
LJSV-336 (Error message/system text for custom mood theme creator): magazine didn't output mood theme images properly, fix it
U   trunk/bin/upgrading/s2layers/magazine/layout.s2
Modified: trunk/bin/upgrading/s2layers/magazine/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/magazine/layout.s2	2010-03-04 08:42:11 UTC (rev 16326)
+++ trunk/bin/upgrading/s2layers/magazine/layout.s2	2010-03-04 08:46:58 UTC (rev 16327)
@@ -620,7 +620,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='[mood icon]' /> $val";
+                    $val = $i->as_string_ex($i.alttext, "align='absmiddle' ") + $val;
                 }
                 "<div><strong>$key:</strong> $val</div>";
                 "</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