diff --git a/bl-kernel/page.class.php b/bl-kernel/page.class.php index 9cd76ca7..2c00e5c3 100644 --- a/bl-kernel/page.class.php +++ b/bl-kernel/page.class.php @@ -381,6 +381,12 @@ class Page { return ($this->getValue('status')=='sticky'); } + // (boolean) Returns TRUE if the page is sticky, FALSE otherwise + public function isStatic() + { + return ($this->getValue('status')=='static'); + } + // (string) Returns status of the page public function status() { diff --git a/bl-themes/blogx/php/page.php b/bl-themes/blogx/php/page.php index 08972c8a..24691076 100644 --- a/bl-themes/blogx/php/page.php +++ b/bl-themes/blogx/php/page.php @@ -12,7 +12,7 @@

title(); ?>

- static()): ?> + isStatic()): ?>
date(); ?>