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

[ljcom] r8251: LJSUP-5497: Adding Share This! button (T...

Committer: narefieva
LJSUP-5497: Adding Share This! button (The boxer).
U   trunk/bin/upgrading/s2layers/boxer/layout.s2
Modified: trunk/bin/upgrading/s2layers/boxer/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/boxer/layout.s2	2010-03-04 07:27:05 UTC (rev 8250)
+++ trunk/bin/upgrading/s2layers/boxer/layout.s2	2010-03-04 07:47:14 UTC (rev 8251)
@@ -924,7 +924,7 @@
                         "edit_entry" => $*edit,
                         "edit_tags" => $*tags,
                         "mem_add" => $*memories,
-                        "tell_friend" => $*mail,
+                        "tell_friend" => "",
                         "flag" => $*flag,
                         "watch_comments" => $*track,
                         "unwatch_comments" => $*untrack,
@@ -935,8 +935,10 @@
                     foreach var string link_key ($e.link_keyseq) {
                         $link = $e->get_link($link_key);
                         $img_url = $link_image{$link_key} != "" ? $link_image{$link_key} : $link.icon.url;
+                        var string img_code="""<img src="$img_url" alt="$link.caption" title="$link.caption" width="20" height="20" border="0" align="middle" />""";
                         if (defined $link) {
-                        """<span class="icon"><a href="$link.url"><img src="$img_url" alt="$link.caption" title="$link.caption" width="20" height="20" border="0" align="middle" /></a></span>""";
+                        """<span class="icon"><a href="$link.url">$img_code</a></span>""";
+                        $link->print_raw();
                         }
                     }
 
@@ -1091,6 +1093,7 @@
                         $img_url = $link_image{$link_key} != "" ? $link_image{$link_key} : $link.icon.url;
                         if (defined $link) {
                             """<span class="icon"><a href="$link.url"><img src="$img_url" alt="$link.caption" title="$link.caption" width="20" height="20" border="0" align="middle" /></a></span>""";
+                         $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