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

Back to archive index

Minahito minah****@users*****
2006年 8月 18日 (金) 18:05:54 JST


Index: xoops2jp/html/modules/user/admin/forms/UserSearchForm.class.php
diff -u xoops2jp/html/modules/user/admin/forms/UserSearchForm.class.php:1.1.2.3 xoops2jp/html/modules/user/admin/forms/UserSearchForm.class.php:1.1.2.4
--- xoops2jp/html/modules/user/admin/forms/UserSearchForm.class.php:1.1.2.3	Thu Aug 17 19:21:05 2006
+++ xoops2jp/html/modules/user/admin/forms/UserSearchForm.class.php	Fri Aug 18 18:05:54 2006
@@ -42,7 +42,7 @@
 	
 		$this->mFieldProperties['name'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['name']->setDependsByArray(array('maxlength'));
-		$this->mFieldProperties['name']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _AD_USER_LANG_NAME, '60');
+		$this->mFieldProperties['name']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _MD_USER_LANG_NAME, '60');
 		$this->mFieldProperties['name']->addVar('maxlength', '60');
 	
 		$this->mFieldProperties['email'] =& new XCube_FieldProperty($this);
@@ -52,22 +52,22 @@
 	
 		$this->mFieldProperties['user_icq'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['user_icq']->setDependsByArray(array('maxlength'));
-		$this->mFieldProperties['user_icq']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _AD_USER_LANG_USER_ICQ, '15');
+		$this->mFieldProperties['user_icq']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _MD_USER_LANG_USER_ICQ, '15');
 		$this->mFieldProperties['user_icq']->addVar('maxlength', '15');
 	
 		$this->mFieldProperties['user_aim'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['user_aim']->setDependsByArray(array('maxlength'));
-		$this->mFieldProperties['user_aim']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _AD_USER_LANG_USER_AIM, '18');
+		$this->mFieldProperties['user_aim']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _MD_USER_LANG_USER_AIM, '18');
 		$this->mFieldProperties['user_aim']->addVar('maxlength', '18');
 	
 		$this->mFieldProperties['user_yim'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['user_yim']->setDependsByArray(array('maxlength'));
-		$this->mFieldProperties['user_yim']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _AD_USER_LANG_USER_YIM, '25');
+		$this->mFieldProperties['user_yim']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _MD_USER_LANG_USER_YIM, '25');
 		$this->mFieldProperties['user_yim']->addVar('maxlength', '25');
 	
 		$this->mFieldProperties['user_msnm'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['user_msnm']->setDependsByArray(array('maxlength'));
-		$this->mFieldProperties['user_msnm']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _AD_USER_LANG_USER_MSNM, '100');
+		$this->mFieldProperties['user_msnm']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _MD_USER_LANG_USER_MSNM, '100');
 		$this->mFieldProperties['user_msnm']->addVar('maxlength', '100');
 	
 		$this->mFieldProperties['url'] =& new XCube_FieldProperty($this);
@@ -77,17 +77,17 @@
 	
 		$this->mFieldProperties['user_from'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['user_from']->setDependsByArray(array('maxlength'));
-		$this->mFieldProperties['user_from']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _AD_USER_LANG_USER_FROM, '100');
+		$this->mFieldProperties['user_from']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _MD_USER_LANG_USER_FROM, '100');
 		$this->mFieldProperties['user_from']->addVar('maxlength', '100');
 	
 		$this->mFieldProperties['user_occ'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['user_occ']->setDependsByArray(array('maxlength'));
-		$this->mFieldProperties['user_occ']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _AD_USER_LANG_USER_OCC, '100');
+		$this->mFieldProperties['user_occ']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _MD_USER_LANG_USER_OCC, '100');
 		$this->mFieldProperties['user_occ']->addVar('maxlength', '100');
 	
 		$this->mFieldProperties['user_intrest'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['user_intrest']->setDependsByArray(array('maxlength'));
-		$this->mFieldProperties['user_intrest']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _AD_USER_LANG_USER_INTREST, '150');
+		$this->mFieldProperties['user_intrest']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _MD_USER_LANG_USER_INTREST, '150');
 		$this->mFieldProperties['user_intrest']->addVar('maxlength', '150');
 	
 		$this->mFieldProperties['lastlog_more'] =& new XCube_FieldProperty($this);
Index: xoops2jp/html/modules/user/admin/forms/UserAdminEditForm.class.php
diff -u xoops2jp/html/modules/user/admin/forms/UserAdminEditForm.class.php:1.1.2.13 xoops2jp/html/modules/user/admin/forms/UserAdminEditForm.class.php:1.1.2.14
--- xoops2jp/html/modules/user/admin/forms/UserAdminEditForm.class.php:1.1.2.13	Thu Aug 17 19:21:05 2006
+++ xoops2jp/html/modules/user/admin/forms/UserAdminEditForm.class.php	Fri Aug 18 18:05:54 2006
@@ -1,7 +1,7 @@
 <?php
 /**
  * @package user
- * @version $Id: UserAdminEditForm.class.php,v 1.1.2.13 2006/08/17 10:21:05 minahito Exp $
+ * @version $Id: UserAdminEditForm.class.php,v 1.1.2.14 2006/08/18 09:05:54 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -65,7 +65,7 @@
 
 		$this->mFieldProperties['name'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['name']->setDependsByArray(array('maxlength'));
-		$this->mFieldProperties['name']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _AD_USER_LANG_NAME, '60');
+		$this->mFieldProperties['name']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _MD_USER_LANG_NAME, '60');
 		$this->mFieldProperties['name']->addVar('maxlength', 60);
 
 		$this->mFieldProperties['uname'] =& new XCube_FieldProperty($this);
@@ -88,27 +88,27 @@
 
 		$this->mFieldProperties['user_icq'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['user_icq']->setDependsByArray(array('maxlength'));
-		$this->mFieldProperties['user_icq']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _AD_USER_LANG_USER_ICQ, '15');
+		$this->mFieldProperties['user_icq']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _MD_USER_LANG_USER_ICQ, '15');
 		$this->mFieldProperties['user_icq']->addVar('maxlength', 15);
 
 		$this->mFieldProperties['user_from'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['user_from']->setDependsByArray(array('maxlength'));
-		$this->mFieldProperties['user_from']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _AD_USER_LANG_USER_FROM, '100');
+		$this->mFieldProperties['user_from']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _MD_USER_LANG_USER_FROM, '100');
 		$this->mFieldProperties['user_from']->addVar('maxlength', 100);
 
 		$this->mFieldProperties['user_aim'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['user_aim']->setDependsByArray(array('maxlength'));
-		$this->mFieldProperties['user_aim']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _AD_USER_LANG_USER_AIM, '18');
+		$this->mFieldProperties['user_aim']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _MD_USER_LANG_USER_AIM, '18');
 		$this->mFieldProperties['user_aim']->addVar('maxlength', 18);
 
 		$this->mFieldProperties['user_yim'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['user_yim']->setDependsByArray(array('maxlength'));
-		$this->mFieldProperties['user_yim']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _AD_USER_LANG_USER_YIM, '25');
+		$this->mFieldProperties['user_yim']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _MD_USER_LANG_USER_YIM, '25');
 		$this->mFieldProperties['user_yim']->addVar('maxlength', 25);
 
 		$this->mFieldProperties['user_msnm'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['user_msnm']->setDependsByArray(array('maxlength'));
-		$this->mFieldProperties['user_msnm']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _AD_USER_LANG_USER_MSNM, '100');
+		$this->mFieldProperties['user_msnm']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _MD_USER_LANG_USER_MSNM, '100');
 		$this->mFieldProperties['user_msnm']->addVar('maxlength', 100);
 
 		$this->mFieldProperties['pass'] =& new XCube_FieldProperty($this);
@@ -123,15 +123,15 @@
 
 		$this->mFieldProperties['posts'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['posts']->setDependsByArray(array('required'));
-		$this->mFieldProperties['posts']->addMessage('required', _MD_USER_ERROR_REQUIRED, _AD_USER_LANG_POSTS);
+		$this->mFieldProperties['posts']->addMessage('required', _MD_USER_ERROR_REQUIRED, _MD_USER_LANG_POSTS);
 
 		$this->mFieldProperties['rank'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['rank']->setDependsByArray(array('required'));
-		$this->mFieldProperties['rank']->addMessage('required', _MD_USER_ERROR_REQUIRED, _AD_USER_LANG_RANK);
+		$this->mFieldProperties['rank']->addMessage('required', _MD_USER_ERROR_REQUIRED, _MD_USER_LANG_RANK);
 
 		$this->mFieldProperties['level'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['level']->setDependsByArray(array('required'));
-		$this->mFieldProperties['level']->addMessage('required', _MD_USER_ERROR_REQUIRED, _AD_USER_LANG_LEVEL);
+		$this->mFieldProperties['level']->addMessage('required', _MD_USER_ERROR_REQUIRED, _MD_USER_LANG_LEVEL);
 
 		$this->mFieldProperties['timezone_offset'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['timezone_offset']->setDependsByArray(array('required'));
@@ -139,12 +139,12 @@
 
 		$this->mFieldProperties['umode'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['umode']->setDependsByArray(array('required'));
-		$this->mFieldProperties['umode']->addMessage('required', _MD_USER_ERROR_REQUIRED, _AD_USER_LANG_UMODE);
+		$this->mFieldProperties['umode']->addMessage('required', _MD_USER_ERROR_REQUIRED, _MD_USER_LANG_UMODE);
 
 		$this->mFieldProperties['uorder'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['uorder']->setDependsByArray(array('required','intRange'));
-		$this->mFieldProperties['uorder']->addMessage('required', _MD_USER_ERROR_REQUIRED, _AD_USER_LANG_UORDER);
-		$this->mFieldProperties['uorder']->addMessage('intRange', _MD_USER_ERROR_INJURY, _AD_USER_LANG_UORDER);
+		$this->mFieldProperties['uorder']->addMessage('required', _MD_USER_ERROR_REQUIRED, _MD_USER_LANG_UORDER);
+		$this->mFieldProperties['uorder']->addMessage('intRange', _MD_USER_ERROR_INJURY, _MD_USER_LANG_UORDER);
 		$this->mFieldProperties['uorder']->addVar('min', 0);
 		$this->mFieldProperties['uorder']->addVar('max', 1);
 
@@ -164,12 +164,12 @@
 
 		$this->mFieldProperties['user_occ'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['user_occ']->setDependsByArray(array('maxlength'));
-		$this->mFieldProperties['user_occ']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _AD_USER_LANG_USER_OCC, '100');
+		$this->mFieldProperties['user_occ']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _MD_USER_LANG_USER_OCC, '100');
 		$this->mFieldProperties['user_occ']->addVar('maxlength', 100);
 
 		$this->mFieldProperties['user_intrest'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['user_intrest']->setDependsByArray(array('maxlength'));
-		$this->mFieldProperties['user_intrest']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _AD_USER_LANG_USER_INTREST, '150');
+		$this->mFieldProperties['user_intrest']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _MD_USER_LANG_USER_INTREST, '150');
 		$this->mFieldProperties['user_intrest']->addVar('maxlength', 150);
 	}
 	
@@ -231,10 +231,10 @@
 			$rank =& $handler->get($t_rank);
 			
 			if (!is_object($rank)) {
-				$this->addErrorMessage(XCube_Utils::formatMessage(_MD_USER_ERROR_INJURY, _AD_USER_LANG_RANK));
+				$this->addErrorMessage(XCube_Utils::formatMessage(_MD_USER_ERROR_INJURY, _MD_USER_LANG_RANK));
 			}
 			elseif ($rank->get('rank_special') != 1) {
-				$this->addErrorMessage(XCube_Utils::formatMessage(_MD_USER_ERROR_INJURY, _AD_USER_LANG_RANK));
+				$this->addErrorMessage(XCube_Utils::formatMessage(_MD_USER_ERROR_INJURY, _MD_USER_LANG_RANK));
 			}
 		}
 	}
Index: xoops2jp/html/modules/user/admin/forms/RanksAdminEditForm.class.php
diff -u xoops2jp/html/modules/user/admin/forms/RanksAdminEditForm.class.php:1.1.2.5 xoops2jp/html/modules/user/admin/forms/RanksAdminEditForm.class.php:1.1.2.6
--- xoops2jp/html/modules/user/admin/forms/RanksAdminEditForm.class.php:1.1.2.5	Thu Aug 17 19:21:05 2006
+++ xoops2jp/html/modules/user/admin/forms/RanksAdminEditForm.class.php	Fri Aug 18 18:05:54 2006
@@ -1,7 +1,7 @@
 <?php
 /**
  * @package user
- * @version $Id: RanksAdminEditForm.class.php,v 1.1.2.5 2006/08/17 10:21:05 minahito Exp $
+ * @version $Id: RanksAdminEditForm.class.php,v 1.1.2.6 2006/08/18 09:05:54 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -43,20 +43,20 @@
 
 		$this->mFieldProperties['rank_title'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['rank_title']->setDependsByArray(array('required','maxlength'));
-		$this->mFieldProperties['rank_title']->addMessage('required', _MD_USER_ERROR_REQUIRED, _AD_USER_LANG_RANK_TITLE, '50');
-		$this->mFieldProperties['rank_title']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _AD_USER_LANG_RANK_TITLE, '50');
+		$this->mFieldProperties['rank_title']->addMessage('required', _MD_USER_ERROR_REQUIRED, _MD_USER_LANG_RANK_TITLE, '50');
+		$this->mFieldProperties['rank_title']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _MD_USER_LANG_RANK_TITLE, '50');
 		$this->mFieldProperties['rank_title']->addVar('maxlength', 50);
 
 		$this->mFieldProperties['rank_min'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['rank_min']->setDependsByArray(array('required', 'min'));
-		$this->mFieldProperties['rank_min']->addMessage('required', _MD_USER_ERROR_REQUIRED, _AD_USER_LANG_RANK_MIN);
-		$this->mFieldProperties['rank_min']->addMessage('min', _AD_USER_ERROR_MIN, _AD_USER_LANG_RANK_MIN, 0);
+		$this->mFieldProperties['rank_min']->addMessage('required', _MD_USER_ERROR_REQUIRED, _MD_USER_LANG_RANK_MIN);
+		$this->mFieldProperties['rank_min']->addMessage('min', _AD_USER_ERROR_MIN, _MD_USER_LANG_RANK_MIN, 0);
 		$this->mFieldProperties['rank_min']->addVar('min', 0);
 
 		$this->mFieldProperties['rank_max'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['rank_max']->setDependsByArray(array('required', 'min'));
-		$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']->addMessage('required', _MD_USER_ERROR_REQUIRED, _MD_USER_LANG_RANK_MAX);
+		$this->mFieldProperties['rank_max']->addMessage('min', _AD_USER_ERROR_MIN, _MD_USER_LANG_RANK_MAX, 0);
 		$this->mFieldProperties['rank_max']->addVar('min', 0);
 	}
 	


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