[xoops-cvslog 2048] CVS update: xoops2jp/html/modules/user/admin/forms

Back to archive index

Minahito minah****@users*****
2006年 2月 2日 (木) 17:35:27 JST


Index: xoops2jp/html/modules/user/admin/forms/GroupEditForm.class.php
diff -u xoops2jp/html/modules/user/admin/forms/GroupEditForm.class.php:1.1.2.2 xoops2jp/html/modules/user/admin/forms/GroupEditForm.class.php:1.1.2.3
--- xoops2jp/html/modules/user/admin/forms/GroupEditForm.class.php:1.1.2.2	Sun Jan  8 23:02:29 2006
+++ xoops2jp/html/modules/user/admin/forms/GroupEditForm.class.php	Thu Feb  2 17:35:27 2006
@@ -8,6 +8,11 @@
  */
 class User_GroupEditForm extends XCube_ActionForm 
 {
+	function getTokenName()
+	{
+		return "module.user.GroupEditForm.TOKEN";
+	}
+
 	function prepare()
 	{
 		// set properties
@@ -26,9 +31,9 @@
 
 	function load(&$group)
 	{
-		$this->setVar('groupid', $group->getVar('groupid'));
-		$this->setVar('name', $group->getVar('name'));
-		$this->setVar('description', $group->getVar('description'));
+		$this->set('groupid', $group->getVar('groupid'));
+		$this->set('name', $group->getVar('name'));
+		$this->set('description', $group->getVar('description'));
 	}
 
 	function update(&$group)


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