[xoops-cvslog 3524] CVS update: xoops2jp/html/modules/legacyRender/admin/forms

Back to archive index

Minahito minah****@users*****
2006年 7月 11日 (火) 12:01:45 JST


Index: xoops2jp/html/modules/legacyRender/admin/forms/TplfileCloneForm.class.php
diff -u xoops2jp/html/modules/legacyRender/admin/forms/TplfileCloneForm.class.php:1.1.2.1 xoops2jp/html/modules/legacyRender/admin/forms/TplfileCloneForm.class.php:1.1.2.2
--- xoops2jp/html/modules/legacyRender/admin/forms/TplfileCloneForm.class.php:1.1.2.1	Wed May 17 16:19:56 2006
+++ xoops2jp/html/modules/legacyRender/admin/forms/TplfileCloneForm.class.php	Tue Jul 11 12:01:45 2006
@@ -1,11 +1,15 @@
 <?php
+/**
+ * @package legacyRender
+ * @version $Id: TplfileCloneForm.class.php,v 1.1.2.2 2006/07/11 03:01:45 minahito Exp $
+ */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
 
 require_once XOOPS_MODULE_PATH . "/legacyRender/admin/forms/TplfileEditForm.class.php";
 require_once XOOPS_MODULE_PATH . "/base/class/Legacy_Validator.class.php";
 
-class LegacyRender_TplfileCloneForm extends TplfileEditForm
+class LegacyRender_TplfileCloneForm extends LegacyRender_TplfileEditForm
 {
 	function getTokenName()
 	{
@@ -52,10 +56,10 @@
 	{
 		$obj->loadSource();
 
-		$obj->setVar('tpl_desc', $this->get('tpl_desc'));
-		$obj->setVar('tpl_lastmodified', time());
+		$obj->set('tpl_desc', $this->get('tpl_desc'));
+		$obj->set('tpl_lastmodified', time());
 
-		$obj->Source->setVar('tpl_source', $this->get('tpl_source'));
+		$obj->Source->set('tpl_source', $this->get('tpl_source'));
 	}
 }
 


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