diff --git a/bl-kernel/admin/controllers/content.php b/bl-kernel/admin/controllers/content.php index 425199bb..dc505093 100644 --- a/bl-kernel/admin/controllers/content.php +++ b/bl-kernel/admin/controllers/content.php @@ -34,6 +34,7 @@ if (empty($published) && $Url->pageNumber()>1) { $drafts = $dbPages->getDraftDB(true); $scheduled = $dbPages->getScheduledDB(true); $static = $dbPages->getStaticDB(true); +$sticky = $dbPages->getStickyDB(true); // Title of the page $layout['title'] .= ' - '.$Language->g('Manage content'); \ No newline at end of file diff --git a/bl-kernel/admin/views/content.php b/bl-kernel/admin/views/content.php index 617db95e..8cf77788 100644 --- a/bl-kernel/admin/views/content.php +++ b/bl-kernel/admin/views/content.php @@ -29,6 +29,7 @@ function table($status, $icon='arrow-circle-o-down') { global $drafts; global $scheduled; global $static; + global $sticky; if ($status=='published') { $list = $published; @@ -38,6 +39,8 @@ function table($status, $icon='arrow-circle-o-down') { $list = $scheduled; } elseif ($status=='static') { $list = $static; + } elseif ($status=='sticky') { + $list = $sticky; } if (!empty($list)) { @@ -109,6 +112,7 @@ if ($Url->pageNumber()==1) { table('draft', 'spinner'); table('scheduled', 'clock-o'); table('static', 'thumb-tack'); + table('sticky', 'sticky-note-o'); } table('published', ''); diff --git a/bl-kernel/admin/views/edit-content.php b/bl-kernel/admin/views/edit-content.php index 3df876cc..2b0bd483 100644 --- a/bl-kernel/admin/views/edit-content.php +++ b/bl-kernel/admin/views/edit-content.php @@ -143,6 +143,7 @@ echo '