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

[ljcom] r8258: LJSUP-5497: Removing Share This! button ...

Committer: narefieva
LJSUP-5497: Removing Share This! button (unearthed) + fix for mood.
U   trunk/bin/upgrading/s2layers/unearthed/layout.s2
Modified: trunk/bin/upgrading/s2layers/unearthed/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/unearthed/layout.s2	2010-03-04 09:39:36 UTC (rev 8257)
+++ trunk/bin/upgrading/s2layers/unearthed/layout.s2	2010-03-04 10:10:10 UTC (rev 8258)
@@ -988,7 +988,7 @@
         var Link l = new Link;
         foreach var string ls ($e.link_keyseq) {
             $l = $e->get_link($ls);
-            if (defined $l) {
+            if (defined $l and $ls !="tell_friend") {
                 $sidebar = $sidebar + """<a href="$l.url">$l.caption</a><br /> """;
             }
         }
@@ -1020,8 +1020,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' align='middle' alt='' /> $val";
-            }
+                $val = $i->as_string_ex($i.alttext, "align='middle' ") + $val;
+             }
             println safe """<strong>$text:</strong> $val<br />""";
         }
         println "</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