[pLog-svn] r2100 - plog/branches/plog-1.1-ben/class/template

ork at devel.plogworld.net ork at devel.plogworld.net
Sun May 29 19:17:33 GMT 2005


Author: ork
Date: 2005-05-29 19:17:33 +0000 (Sun, 29 May 2005)
New Revision: 2100

Modified:
   plog/branches/plog-1.1-ben/class/template/templateservice.class.php
Log:
cosmetic changes


Modified: plog/branches/plog-1.1-ben/class/template/templateservice.class.php
===================================================================
--- plog/branches/plog-1.1-ben/class/template/templateservice.class.php	2005-05-29 19:16:55 UTC (rev 2099)
+++ plog/branches/plog-1.1-ben/class/template/templateservice.class.php	2005-05-29 19:17:33 UTC (rev 2100)
@@ -2,8 +2,6 @@
 
 	include_once( PLOG_CLASS_PATH.'class/object/object.class.php' );
     include_once( PLOG_CLASS_PATH.'class/config/config.class.php' );
-//  include_once( PLOG_CLASS_PATH.'class/dao/blogsettings.class.php' );
-//  include_once( PLOG_CLASS_PATH.'class/dao/blogs.class.php' );
     include_once( PLOG_CLASS_PATH.'class/misc/glob.class.php' );
     include_once( PLOG_CLASS_PATH.'class/file/file.class.php' );
 	
@@ -69,7 +67,7 @@
          */
         function Template( $templateName, $layout, $blogInfo = null )
         {
-            include_once( PLOG_CLASS_PATH.'class/template/template.class.php' );
+            include_once( PLOG_CLASS_PATH . 'class/template/template.class.php' );
 
 			// get some information about the folder where the template is and the template file
 			$templateInfo = $this->_getTemplateFileInfo( $templateName, $layout, $blogInfo );
@@ -241,7 +239,7 @@
 		 */
 		function PluginTemplate( $pluginId, $templateName, $blogInfo = null )
 		{
-            include_once( PLOG_CLASS_PATH.'class/template/template.class.php' );
+            require_once( PLOG_CLASS_PATH . 'class/template/templatesets/templatesetstorage.class.php' );
 
 			// define the template file name
 			$templateFolder = TemplateSetStorage::getPluginTemplateFolder( $pluginId );




More information about the pLog-svn mailing list