[pLog-svn] r3056 - plog/trunk/class/view/admin/chooser

oscar at devel.lifetype.net oscar at devel.lifetype.net
Sun Mar 12 20:29:06 GMT 2006


Author: oscar
Date: 2006-03-12 20:29:05 +0000 (Sun, 12 Mar 2006)
New Revision: 3056

Modified:
   plog/trunk/class/view/admin/chooser/adminsimpleresourceslistview.class.php
Log:
fixed a stupid bug related to whether htmlarea/tinymce is enabled or not


Modified: plog/trunk/class/view/admin/chooser/adminsimpleresourceslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/chooser/adminsimpleresourceslistview.class.php	2006-03-12 19:47:28 UTC (rev 3055)
+++ plog/trunk/class/view/admin/chooser/adminsimpleresourceslistview.class.php	2006-03-12 20:29:05 UTC (rev 3056)
@@ -25,8 +25,10 @@
             $this->setValue( "blogname", StringUtils::text2url( $this->_blogInfo->getBlog() )); 			
             $this->setValue( "requestformat", $config->getValue( "request_format_mode"));
             $this->setValue( "baseurl", $config->getValue( "base_url" ));
-            $this->setValue( "htmlarea", $config->getValue( "htmlarea_enabled" ));
-            $destination = $this->getValue( "destination" );
+            $destination = $this->getValue( "destination" );			
+			// check if htmlarea is enabled
+			$blogSettings = $this->_blogInfo->getSettings();
+            $this->setValue( "htmlarea", $blogSettings->getValue( "htmlarea_enabled", false ));
 
 			$this->_pagerUrl = "?op=resourceList&&mode=$destination&page=";
 



More information about the pLog-svn mailing list