Максим Червонный (fiskus_boulder) wrote in changelog,
Максим Червонный
fiskus_boulder
changelog

[livejournal] r18812: LJSUP-8466: ability of editing Share-lin...

Committer: mchervonniy
LJSUP-8466: ability of editing Share-link
U   trunk/bin/upgrading/s2layers/disjointed/layout.s2
Modified: trunk/bin/upgrading/s2layers/disjointed/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/disjointed/layout.s2	2011-04-06 10:12:53 UTC (rev 18811)
+++ trunk/bin/upgrading/s2layers/disjointed/layout.s2	2011-04-06 10:13:53 UTC (rev 18812)
@@ -1168,17 +1168,20 @@
       }
     }
   }
+  if ($linkbar) {print safe $linkbar;}
   foreach var string link_key ($.link_keyseq) {
     var Link link = $this->get_link($link_key);
     $url          = $link.url;
     $text         = $link.caption;
     if($url != "" and $link_key != "tell_friend") {
-      $linkbar = $linkbar + """<a href="$url">$text</a>$btwn_comments""";
+      print safe """<a href="$url">$text</a>$btwn_comments""";
+      $link->print_raw();
       }
   }
   $url     = $.permalink_url;
   $text    = $*text_permalink;
-  print safe $linkbar + """<a href="$url">$text</a>""";
+  print safe """<a href="$url">$text</a>""";
+
   if ($expand != "") {
     print safe $btwn_comments;
     print $expand;

Tags: fiskus_boulder, livejournal, 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