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

[ljcom] r8256: LJSUP-5497: Adding Share This! button (N...

Committer: narefieva
LJSUP-5497: Adding Share This! button (Nebula) + fix for mood.
U   trunk/bin/upgrading/s2layers/nebula/layout.s2
Modified: trunk/bin/upgrading/s2layers/nebula/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/nebula/layout.s2	2010-03-04 08:49:29 UTC (rev 8255)
+++ trunk/bin/upgrading/s2layers/nebula/layout.s2	2010-03-04 09:14:03 UTC (rev 8256)
@@ -1402,7 +1402,8 @@
                 }
                 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\" alt=\"\" align=\"absmiddle\" /> $val";
+                     $val = $i->as_string_ex($i.alttext, "align='absmiddle' ") + $val;
+                    
                 }
                 print safe "            <br />\n
                     <span class=\"subHeading\"><b>$key:</b> $val</span>\n";
@@ -1432,7 +1433,7 @@
             "edit_entry" => $*text_edit_entry,
             "edit_tags" => $*text_edit_tags,
             "mem_add" => $*text_add_mem,
-            "tell_friend" => $*text_tell_friend,
+            "tell_friend" => $*text_share_this,
             "flag" => $*text_flag,
             "watch_comments" => $*text_track_comments,
             "unwatch_comments" => $*text_untrack_comments,
@@ -1445,6 +1446,7 @@
                 $ca = $link_caption{$ls} != "" ? $link_caption{$ls} : $l.caption;
                 print safe """<a href="$l.url">$ca</a> """;
                 $c++;
+                $l->print_raw();
             }
         }
     }

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