madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r20499: LJSUP-10306: Add information of sticky p...

Committer: sbelyaev
LJSUP-10306: Add information of sticky post to page /admin/entryprops.bml
U   trunk/bin/upgrading/proplists.dat
U   trunk/htdocs/admin/entryprops.bml
Modified: trunk/bin/upgrading/proplists.dat
===================================================================
--- trunk/bin/upgrading/proplists.dat	2011-11-08 13:31:03 UTC (rev 20498)
+++ trunk/bin/upgrading/proplists.dat	2011-11-08 13:43:43 UTC (rev 20499)
@@ -1748,6 +1748,18 @@
   multihomed: 0
   cldversion: 8
 
+userproplist.sticky_entries:
+  datatype: char
+  des: (depricated stickies)
+  indexed: 0
+  prettyname: Sticky entry ids
+
+userproplist.sticky_entry:
+  datatype: char
+  des: (depricated sticky)
+  indexed: 0
+  prettyname: Sticky entry id
+
 userproplist.sticky_entry_id:
   datatype: char
   des: Sticky entry id

Modified: trunk/htdocs/admin/entryprops.bml
===================================================================
--- trunk/htdocs/admin/entryprops.bml	2011-11-08 13:31:03 UTC (rev 20498)
+++ trunk/htdocs/admin/entryprops.bml	2011-11-08 13:43:43 UTC (rev 20499)
@@ -65,7 +65,6 @@
     $ret .= "<strong>Journal Adult Content</strong>: " . ($entry->journal->adult_content || "none")
         . " (admin setting: " . ($entry->journal->admin_content_flag || "none") . ")<br />";
     $ret .= "<strong>Skip/iNclude in recent entries</strong>: " . $entry->get_suspended_mark . "<br />";
-
     $ret .= "<br />";
 
     my %props = %{$entry->props || {}};
@@ -85,6 +84,9 @@
 
         $ret .= "<li><strong>$prop</strong>: $props{$prop}$extra</li><br />";
     }
+    if ($entry->is_sticky) {
+        $ret .= "<li><strong>Post is sticky</strong>: Y";
+    }
     $ret .= "</ul>";
 
     return $ret;

Tags: bml, dat, 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