madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r21280: LJSUP-11377: There are not icons for pre...

Committer: sbelyaev
LJSUP-11377: There are not icons for preview delayed entry in S1 style
U   trunk/htdocs/preview/entry.bml
Modified: trunk/htdocs/preview/entry.bml
===================================================================
--- trunk/htdocs/preview/entry.bml	2012-03-02 06:58:21 UTC (rev 21279)
+++ trunk/htdocs/preview/entry.bml	2012-03-02 08:32:39 UTC (rev 21280)
@@ -216,8 +216,17 @@
             $sec = BML::fill_template("securityprotected");
         }
 
+        my $type = '';
+        if ($req{'sticky'}) {
+            $type = BML::fill_template('TYPESTICKY') . " ";
+        }
+
+        if ($delayed_id) {
+            $type .= BML::fill_template('TYPEDELAYED');
+        }
+        
         $sec .= "<br />\n" unless $sec eq "" or $req{'subject'};
-        $ret .= $sec;
+        $ret .= $type . $sec;
 
         # prevent BML tags interpretation inside post body
         $subject =~ s/<\?/&lt;?/g;

Tags: bml, livejournal, madeon, sbelyaev
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