From d1ccb16ff29fc2e36c3f666e4da307d12d3e3b2c Mon Sep 17 00:00:00 2001 From: Ian Date: Tue, 3 Jul 2012 18:43:53 +0200 Subject: [PATCH] fixed Sidebar title --- .../serendipity_plugin_staticpage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/serendipity_event_staticpage/serendipity_plugin_staticpage.php b/serendipity_event_staticpage/serendipity_plugin_staticpage.php index d4f0aabd..e609d99b 100644 --- a/serendipity_event_staticpage/serendipity_plugin_staticpage.php +++ b/serendipity_event_staticpage/serendipity_plugin_staticpage.php @@ -24,7 +24,7 @@ class serendipity_plugin_staticpage extends serendipity_plugin { $propbag->add('description', PLUGIN_STATICPAGELIST_NAME_DESC); $propbag->add('author', "Rob Antonishen, Falk Doering, Ian (Timbalu)"); $propbag->add('stackable', true); - $propbag->add('version', '1.18'); + $propbag->add('version', '1.19'); $propbag->add('configuration', array( 'title', 'limit', @@ -118,7 +118,7 @@ class serendipity_plugin_staticpage extends serendipity_plugin { } function generate_content(&$title) { - $title = STATICPAGE_TITLE; + $title = $this->get_config('title');//STATICPAGE_TITLE; // do not load the tpl in backend if(!defined('IN_serendipity_admin')) { $this->show_content();