[pLog-svn] r3207 - plog/trunk/class/summary/view
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Sat Apr 8 11:57:04 GMT 2006
Author: oscar
Date: 2006-04-08 11:57:03 +0000 (Sat, 08 Apr 2006)
New Revision: 3207
Modified:
plog/trunk/class/summary/view/summarycachedview.class.php
Log:
the rss parser is now available to cached summary templates, in addition to blog templates
Modified: plog/trunk/class/summary/view/summarycachedview.class.php
===================================================================
--- plog/trunk/class/summary/view/summarycachedview.class.php 2006-04-07 23:28:35 UTC (rev 3206)
+++ plog/trunk/class/summary/view/summarycachedview.class.php 2006-04-08 11:57:03 UTC (rev 3207)
@@ -88,11 +88,13 @@
{
include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ include_once( PLOG_CLASS_PATH."class/xml/rssparser/rssparser.class.php" );
$config =& Config::getConfig();
$this->_locale =& Locales::getLocale( $config->getValue("default_locale" ));
$this->_params->setValue( "version", new Version());
$this->_params->setValue( "locale", $this->_locale);
+ $this->_params->setValue( "rss", new RssParser());
$this->_template->assign( $this->_params->getAsArray());
print $this->_template->fetch( $this->_viewId );
}
More information about the pLog-svn
mailing list