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

[ljcom] r8263: LJSUP-5497: Adding Share this! button (t...

Committer: narefieva
LJSUP-5497: Adding Share this! button (tranquillity).
U   trunk/bin/upgrading/s2layers/tranquilityii/layout.s2
Modified: trunk/bin/upgrading/s2layers/tranquilityii/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/tranquilityii/layout.s2	2010-03-04 12:37:46 UTC (rev 8262)
+++ trunk/bin/upgrading/s2layers/tranquilityii/layout.s2	2010-03-05 09:17:03 UTC (rev 8263)
@@ -1092,7 +1092,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=\"middle\" alt=\"$val\" /> $val";
+                $val = $i->as_string_ex($i.alttext, "align='middle' ") + $val;
             }
             $metadata = "$metadata\n<b>$text:</b> $val<br />";
         }
@@ -1191,6 +1191,7 @@
             var string text = $link.caption;
             if (defined $link) {
                 """ | <a href="$url" title="$text">$text</a>""";
+                $link->print_raw();
             }
         }
         print "</h4>";

Tags: ljcom, 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