[xoops-cvslog 2173] CVS update: xoops2jp/html/include

Back to archive index

NobuNobu nobun****@users*****
2006年 2月 3日 (金) 23:34:09 JST


Index: xoops2jp/html/include/functions.php
diff -u xoops2jp/html/include/functions.php:1.2.8.9 xoops2jp/html/include/functions.php:1.2.8.10
--- xoops2jp/html/include/functions.php:1.2.8.9	Wed Jan 25 16:11:39 2006
+++ xoops2jp/html/include/functions.php	Fri Feb  3 23:34:08 2006
@@ -1,5 +1,5 @@
 <?php
-// $Id: functions.php,v 1.2.8.9 2006/01/25 07:11:39 minahito Exp $
+// $Id: functions.php,v 1.2.8.10 2006/02/03 14:34:08 nobunobu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -60,13 +60,14 @@
 		$renderSystem->showXoopsFooter();
 }
 
-function xoops_error($message, $title='')
+function xoops_error($message, $title='', $style='errorMsg')
 {
 	$root =& XCube_Root::getSingleton();
 	$renderTarget =& new Legacy_RenderTargetMain();
 	
 	$renderTarget->setModuleName("base");
 	$renderTarget->setTemplateName("legacy_xoops_error.html");
+	$renderTarget->setAttribute("style", $style);
 	$renderTarget->setAttribute("title", $title);
 	$renderTarget->setAttribute("message", $message);
 


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