[pLog-svn] r1104 - plog/trunk/class/summary/view
mark at devel.plogworld.net
mark at devel.plogworld.net
Wed Feb 16 06:09:14 GMT 2005
Author: mark
Date: 2005-02-16 06:09:14 +0000 (Wed, 16 Feb 2005)
New Revision: 1104
Modified:
plog/trunk/class/summary/view/summarybloglistview.class.php
plog/trunk/class/summary/view/summarycachedview.class.php
plog/trunk/class/summary/view/summaryview.class.php
Log:
Fix issue http://bugs.plogworld.net/view.php?id=251
Modified: plog/trunk/class/summary/view/summarybloglistview.class.php
===================================================================
--- plog/trunk/class/summary/view/summarybloglistview.class.php 2005-02-16 06:07:17 UTC (rev 1103)
+++ plog/trunk/class/summary/view/summarybloglistview.class.php 2005-02-16 06:09:14 UTC (rev 1104)
@@ -34,6 +34,11 @@
parent::render();
return true;
}
+
+ // set the view character set based on the default locale
+ $config =& Config::getConfig();
+ $locale =& Locales::getLocale( $config->getValue( "default_locale" ));
+ $this->setCharset( $locale->getCharset());
// get the data itself
$blogs = new Blogs();
Modified: plog/trunk/class/summary/view/summarycachedview.class.php
===================================================================
--- plog/trunk/class/summary/view/summarycachedview.class.php 2005-02-16 06:07:17 UTC (rev 1103)
+++ plog/trunk/class/summary/view/summarycachedview.class.php 2005-02-16 06:09:14 UTC (rev 1104)
@@ -80,7 +80,10 @@
function render()
{
+ // set the view character set based on the default locale
$config =& Config::getConfig();
+ $locale =& Locales::getLocale( $config->getValue( "default_locale" ));
+ $this->setCharset( $locale->getCharset());
$sendOutput = true;
Modified: plog/trunk/class/summary/view/summaryview.class.php
===================================================================
--- plog/trunk/class/summary/view/summaryview.class.php 2005-02-16 06:07:17 UTC (rev 1103)
+++ plog/trunk/class/summary/view/summaryview.class.php 2005-02-16 06:09:14 UTC (rev 1104)
@@ -18,6 +18,11 @@
function render()
{
+ // set the view character set based on the default locale
+ $config =& Config::getConfig();
+ $locale =& Locales::getLocale( $config->getValue( "default_locale" ));
+ $this->setCharset( $locale->getCharset());
+
parent::render();
$templateService = new TemplateService();
More information about the pLog-svn
mailing list