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

Back to archive index

Minahito minah****@users*****
2006年 10月 1日 (日) 18:53:26 JST


Index: xoops2jp/html/modules/user/admin/forms/RanksAdminEditForm.class.php
diff -u xoops2jp/html/modules/user/admin/forms/RanksAdminEditForm.class.php:1.1.2.7 xoops2jp/html/modules/user/admin/forms/RanksAdminEditForm.class.php:1.1.2.8
--- xoops2jp/html/modules/user/admin/forms/RanksAdminEditForm.class.php:1.1.2.7	Sun Aug 20 11:50:06 2006
+++ xoops2jp/html/modules/user/admin/forms/RanksAdminEditForm.class.php	Sun Oct  1 18:53:26 2006
@@ -1,7 +1,7 @@
 <?php
 /**
  * @package user
- * @version $Id: RanksAdminEditForm.class.php,v 1.1.2.7 2006/08/20 02:50:06 minahito Exp $
+ * @version $Id: RanksAdminEditForm.class.php,v 1.1.2.8 2006/10/01 09:53:26 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -58,6 +58,11 @@
 		$this->mFieldProperties['rank_max']->addMessage('required', _MD_USER_ERROR_REQUIRED, _AD_USER_LANG_RANK_MAX);
 		$this->mFieldProperties['rank_max']->addMessage('min', _AD_USER_ERROR_MIN, _AD_USER_LANG_RANK_MAX, 0);
 		$this->mFieldProperties['rank_max']->addVar('min', 0);
+		
+		$this->mFieldProperties['rank_image'] =& new XCube_FieldProperty($this);
+		$this->mFieldProperties['rank_image']->setDependsByArray(array('extension'));
+		$this->mFieldProperties['rank_image']->addMessage('extension', _MD_USER_ERROR_AVATAR_EXTENSION, _AD_USER_LANG_AVATAR_FILE);
+		$this->mFieldProperties['rank_image']->addVar('extension', "gif,png,jpg");
 	}
 	
 	function validateRank_max()


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