[xoops-cvslog 701] CVS update: xoops2jp/html/modules/base/class/theme

Back to archive index

Minahito minah****@users*****
2005年 10月 27日 (木) 20:03:59 JST


Index: xoops2jp/html/modules/base/class/theme/ThemeEngine.class.php
diff -u xoops2jp/html/modules/base/class/theme/ThemeEngine.class.php:1.1.2.1 xoops2jp/html/modules/base/class/theme/ThemeEngine.class.php:removed
--- xoops2jp/html/modules/base/class/theme/ThemeEngine.class.php:1.1.2.1	Fri Oct 21 19:07:36 2005
+++ xoops2jp/html/modules/base/class/theme/ThemeEngine.class.php	Thu Oct 27 20:03:59 2005
@@ -1,65 +0,0 @@
-<?php
-// $Id: ThemeEngine.class.php,v 1.1.2.1 2005/10/21 10:07:36 minahito Exp $
-//  ------------------------------------------------------------------------ //
-//                XOOPS - PHP Content Management System                      //
-//                    Copyright (c) 2000 XOOPS.org                           //
-//                       <http://www.xoops.org/>                             //
-//  ------------------------------------------------------------------------ //
-//  This program is free software; you can redistribute it and/or modify     //
-//  it under the terms of the GNU General Public License as published by     //
-//  the Free Software Foundation; either version 2 of the License, or        //
-//  (at your option) any later version.                                      //
-//                                                                           //
-//  You may not change or alter any portion of this comment or credits       //
-//  of supporting developers from this source code or any supporting         //
-//  source code which is considered copyrighted (c) material of the          //
-//  original comment or credit authors.                                      //
-//                                                                           //
-//  This program is distributed in the hope that it will be useful,          //
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
-//  GNU General Public License for more details.                             //
-//                                                                           //
-//  You should have received a copy of the GNU General Public License        //
-//  along with this program; if not, write to the Free Software              //
-//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
-//  ------------------------------------------------------------------------ //
-
-class ThemeEngine
-{
-	var $mThemeName;
-	var $mBlockContext;
-	var $mXoopsTpl;
-
-	function ThemeEngine($name,&$blockContext,&$xoopsTpl)
-	{
-		$this->mThemeName=$name;
-		$this->mBlockContext=&$blockContext;
-		$this->mXoopsTpl=&$xoopsTpl;
-	}
-
-	function sendHeader()
-	{
-		header('Content-Type:text/html; charset='._CHARSET);
-		header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
-		header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
-		header('Cache-Control: no-store, no-cache, must-revalidate');
-		header('Cache-Control: post-check=0, pre-check=0', false);
-		header('Pragma: no-cache');
-	}
-
-	function display()
-	{
-		$this->_preProcess();
-
-		$this->mXoopsTpl->xoops_setCaching(0);
-		$this->mXoopsTpl->display($this->mThemeName.'/theme.html');
-	}
-
-	function _preProcess()
-	{
-		$this->mBlockContext->visitTemplate($this->mXoopsTpl);
-	}
-}
-
-?>
\ No newline at end of file


xoops-cvslog メーリングリストの案内
Back to archive index