Update of /cvsroot/php-blog/serendipity/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5746/include
Modified Files:
functions_smarty.inc.php genpage.inc.php
Log Message:
* fix rss feed (thanks tom)
* call serendipity_smarty_init() in genpage.inc, that's safer&better if plugins (like event_staticpage from romulus) call page generation.
* propagate setting of title through serendipity vars, to that plugins can globally access it (missed that part, I already committed part of a fix for that last week)
Index: functions_smarty.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/functions_smarty.inc.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- functions_smarty.inc.php 20 Nov 2004 17:12:00 -0000 1.4
+++ functions_smarty.inc.php 20 Nov 2004 19:26:43 -0000 1.5
@@ -153,7 +153,7 @@
'head_charset' => LANG_CHARSET,
'head_version' => $serendipity['version'],
'head_title' => $serendipity['head_title'],
- 'head_subTitle' => $serendipity['head_subtitle'],
+ 'head_subtitle' => $serendipity['head_subtitle'],
'CONST' => get_defined_constants(),
Index: genpage.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/genpage.inc.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- genpage.inc.php 20 Nov 2004 17:12:00 -0000 1.4
+++ genpage.inc.php 20 Nov 2004 19:26:43 -0000 1.5
@@ -3,6 +3,8 @@
include_once(S9Y_INCLUDE_PATH . 'include/plugin_api.inc.php');
include_once(S9Y_INCLUDE_PATH . 'include/plugin_internal.inc.php');
+serendipity_smarty_init();
+
$serendipity['smarty']->assign(
array(
'leftSidebarElements' => serendipity_plugin_api::count_plugins('left'),
|