Савинцев Егор 🚶 (savintsev_egor) wrote in changelog,
Савинцев Егор 🚶
savintsev_egor
changelog

[ljcom] r12409: LJSV-2367: Component: no Date in customi...

Committer: esavintcev
LJSV-2367: Component: no Date in customized comments
U   trunk/bin/upgrading/s2layers/component/layout.s2
Modified: trunk/bin/upgrading/s2layers/component/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/component/layout.s2	2012-08-03 08:15:01 UTC (rev 12408)
+++ trunk/bin/upgrading/s2layers/component/layout.s2	2012-08-03 08:30:39 UTC (rev 12409)
@@ -3007,10 +3007,10 @@
                 <td align="left" style="white-space: nowrap"><strong>From:</strong> $poster</td>
                 <td align="left" style="white-space: nowrap"><strong>Date:</strong>
 """;
-                    $c->time_display("long", "");
+                    print $c->time_display("long", "");
 """
                 </td>
-                <td style='text-align: center;'>""";
+                <td style="text-align: center;">""";
 
     # action links (screen, unscreen, delete, freeze, etc)
     var Link link;
@@ -3043,9 +3043,12 @@
             <tr valign="top">
                 <td colspan="$td" style="width: 95%">
 """;
-    if (defined $c.subject_icon or $c.subject != "") {     "<p class=\"subject\">$c.subject_icon $c.subject</p>\n"; }
-    if ($c.metadata{"poster_ip"}) {     " (IP Address: " + $c.metadata{"poster_ip"} + ")<br>"; }
-
+    if (defined $c.subject_icon or $c.subject != "") {
+        "<p class=\"subject\">$c.subject_icon $c.subject</p>\n";
+    }
+    if ($c.metadata{"poster_ip"}) {
+        " (IP Address: " + $c.metadata{"poster_ip"} + ")<br>";
+    }
     if ($this.multiform_on) {
         " <label for=\"ljcomsel_$c.talkid\">$*text_multiform_check</label>";
         $c->print_multiform_check();
@@ -3060,7 +3063,7 @@
 """;
         $c->print_text();
 """
-    </div>;
+    </div>
     <div class="small">
 """;
     if ($c.frozen) {

Tags: esavintcev, ljcom, s2, savintsev_egor
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