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

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

Committer: narefieva
LJSV-336 (Error message/system text for custom mood theme creator): punquin & tabular didn't output mood theme images properly, fix it
U   trunk/bin/upgrading/s2layers/punquin/layout.s2
U   trunk/bin/upgrading/s2layers/tabularindent/layout.s2
Modified: trunk/bin/upgrading/s2layers/punquin/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/punquin/layout.s2	2010-03-04 09:24:09 UTC (rev 16331)
+++ trunk/bin/upgrading/s2layers/punquin/layout.s2	2010-03-04 09:48:32 UTC (rev 16332)
@@ -572,7 +572,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;
                 }
                 "<strong>$key:</strong> $val<br />";
             }

Modified: trunk/bin/upgrading/s2layers/tabularindent/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/tabularindent/layout.s2	2010-03-04 09:24:09 UTC (rev 16331)
+++ trunk/bin/upgrading/s2layers/tabularindent/layout.s2	2010-03-04 09:48:32 UTC (rev 16332)
@@ -666,7 +666,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;
             }
             $meta{"$key:"} = $val;
         }

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