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

[ljcom] r8260: LJSUP-5497: Adding Share This! button (S...

Committer: narefieva
LJSUP-5497: Adding Share This! button (Smooth).
U   trunk/bin/upgrading/s2layers/smoothsailing/layout.s2
Modified: trunk/bin/upgrading/s2layers/smoothsailing/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/smoothsailing/layout.s2	2010-03-04 10:24:06 UTC (rev 8259)
+++ trunk/bin/upgrading/s2layers/smoothsailing/layout.s2	2010-03-04 11:10:11 UTC (rev 8260)
@@ -1560,7 +1560,7 @@
           print safe """<li><a href="$.permalink_url">$*text_comment_permalink</a></li>""";
           foreach var string key ($.link_keyseq) {
             var Link l = $this->get_link($key);
-            if ($l.url!="") { """<li><a href="$l.url">$l.caption</a></li>"""; }
+            if ($l.url!="") { """<li><a href="$l.url">$l.caption</a></li>"""; $l->print_raw(); }
           }
           """
           </ul></div>
@@ -1703,7 +1703,7 @@
             "edit_entry" => $*text_edit,
             "edit_tags" => $*text_edittag,
             "mem_add" => $*text_add_to_memories,
-            "tell_friend" => $*text_tell_friend,
+            "tell_friend" => $*text_share_this,
             "flag" => $*text_flag,
             "watch_comments" => $*text_track_comments,
             "unwatch_comments" => $*text_untrack_comments,
@@ -1718,6 +1718,7 @@
             $text = $link_caption{$link_key} != "" ? $link_caption{$link_key} : $link.caption;
             if (defined $link) {
               print safe """<li><a href="$url">$text</a></li>""";
+              $link->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