[xoops-cvslog 1760] CVS update: xoops2jp/html/modules/legacyRender/admin/actions

Back to archive index

Minahito minah****@users*****
2006年 1月 14日 (土) 22:18:45 JST


Index: xoops2jp/html/modules/legacyRender/admin/actions/TplsetEditAction.class.php
diff -u xoops2jp/html/modules/legacyRender/admin/actions/TplsetEditAction.class.php:1.1.2.2 xoops2jp/html/modules/legacyRender/admin/actions/TplsetEditAction.class.php:1.1.2.3
--- xoops2jp/html/modules/legacyRender/admin/actions/TplsetEditAction.class.php:1.1.2.2	Sat Jan 14 17:03:50 2006
+++ xoops2jp/html/modules/legacyRender/admin/actions/TplsetEditAction.class.php	Sat Jan 14 22:18:45 2006
@@ -20,8 +20,10 @@
 	{
 		parent::_setupObject();
 
-		if (is_object($this->mObject) && $this->mObject->get('tplset_name') == 'default') {
-			$this->mObject = null;
+		if ($this->isAllowDefault() == false) {
+			if (is_object($this->mObject) && $this->mObject->get('tplset_name') == 'default') {
+				$this->mObject = null;
+			}
 		}
 	}
 	
@@ -36,6 +38,11 @@
 		return false;
 	}
 
+	function isAllowDefault()
+	{
+		return false;
+	}
+
 	function executeViewInput(&$controller, &$xoopsUser, &$render)
 	{
 		$render->setTemplateName("tplset_edit.html");


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