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

[ljcom] r8257: LJSUP-5497: Adding Share This! button (O...

Committer: narefieva
LJSUP-5497: Adding Share This! button (Opal) + fix for mood.
U   trunk/bin/upgrading/s2layers/opal/layout.s2
Modified: trunk/bin/upgrading/s2layers/opal/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/opal/layout.s2	2010-03-04 09:14:03 UTC (rev 8256)
+++ trunk/bin/upgrading/s2layers/opal/layout.s2	2010-03-04 09:39:36 UTC (rev 8257)
@@ -1003,6 +1003,7 @@
         $link = $e->get_link($key);
         if (defined $link) {
             """<a href=\"$link.url\"> &nbsp; $link.caption &nbsp; </a>""";
+            $link->print_raw();
         }
     }
     """<a href="$e.permalink_url"> &nbsp; $*text_permalink &nbsp; </a>
@@ -1356,6 +1357,7 @@
             $link = $e->get_link($key);
             if (defined $link) {
                 """<a href=\"$link.url\"> &nbsp; $link.caption &nbsp; </a>""";
+                $link->print_raw();
             }
         }
         """<a href="$e.permalink_url"> &nbsp; $*text_permalink &nbsp; </a>
@@ -1409,7 +1411,7 @@
             $caption = $*text_meta_mood;
             if (defined $.mood_icon) {
                 $i = $.mood_icon;
-                $val = """<img src="$i.url" width="$i.width" height="$i.height" alt="$val" title="$val" /> $val""";
+                $val = "$i" + $val;
             }
         }
         println safe """<div class="meta">$caption: $val</div>""";

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