[xoops-cvslog 2043] CVS update: xoops2jp/html/modules/user

アーカイブの一覧に戻る

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


Index: xoops2jp/html/modules/user/xoops_version.php
diff -u xoops2jp/html/modules/user/xoops_version.php:1.1.2.10 xoops2jp/html/modules/user/xoops_version.php:1.1.2.11
--- xoops2jp/html/modules/user/xoops_version.php:1.1.2.10	Thu Jan 26 20:09:07 2006
+++ xoops2jp/html/modules/user/xoops_version.php	Thu Feb  2 17:10:17 2006
@@ -1,246 +1,242 @@
-<?php
-// $Id$
-//  ------------------------------------------------------------------------ //
-//                XOOPS - PHP Content Management System                      //
-//                    Copyright (c) 2000 XOOPS.org                           //
-//                       <http://www.xoops.org/>                             //
-//  ------------------------------------------------------------------------ //
-//  This program is free software; you can redistribute it and/or modify     //
-//  it under the terms of the GNU General Public License as published by     //
-//  the Free Software Foundation; either version 2 of the License, or        //
-//  (at your option) any later version.                                      //
-//                                                                           //
-//  You may not change or alter any portion of this comment or credits       //
-//  of supporting developers from this source code or any supporting         //
-//  source code which is considered copyrighted (c) material of the          //
-//  original comment or credit authors.                                      //
-//                                                                           //
-//  This program is distributed in the hope that it will be useful,          //
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
-//  GNU General Public License for more details.                             //
-//                                                                           //
-//  You should have received a copy of the GNU General Public License        //
-//  along with this program; if not, write to the Free Software              //
-//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
-//  ------------------------------------------------------------------------ //
-
-$modversion['name'] = _MI_USER_NAME;
-$modversion['version'] = 1.00;
-$modversion['description'] = _MI_USER_NAME_DESC;
-$modversion['author'] = "";
-$modversion['credits'] = "The XOOPS Project";
-$modversion['help'] = "system.html";
-$modversion['license'] = "GPL see LICENSE";
-$modversion['official'] = 1;
-$modversion['image'] = "images/user.gif";
-$modversion['dirname'] = "user";
-
-$modversion['sqlfile']['mysql'] = "sql/mysql.sql";
-$modversion['tables'][] = "user_mailjob";
-$modversion['tables'][] = "user_mailjob_link";
-
-// Admin things
-$modversion['hasAdmin'] = 1;
-$modversion['adminindex'] = "admin/index.php";
-$modversion['adminmenu'] = "admin/menu.php";
-
-// Templates
-$modversion['templates'][1]['file'] = 'user_userinfo.html';
-$modversion['templates'][1]['description'] = 'Display a user information in userinfo.php';
-
-$modversion['templates'][2]['file'] = 'user_userform.html';
-$modversion['templates'][2]['description'] = 'Display login and register page to anonymouse user';
-
-$modversion['templates'][3]['file'] = 'user_edituser.html';
-$modversion['templates'][3]['description'] = 'When user edit own information, display this';
-
-$modversion['templates'][4]['file'] = 'user_register_form.html';
-$modversion['templates'][4]['description'] = '';
-
-$modversion['templates'][5]['file'] = 'user_register_confirm.html';
-$modversion['templates'][5]['description'] = '';
-
-$modversion['templates'][6]['file'] = 'user_lostpass.html';
-$modversion['templates'][6]['description'] = '';
-
-$modversion['templates'][7]['file'] = 'user_default.html';
-$modversion['templates'][7]['description'] = '';
-
-$modversion['templates'][8]['file'] = 'user_avatar_edit.html';
-$modversion['templates'][8]['description'] = '';
-
-//Preference
-$modversion['config'][]=array (
-		"name"=>"allow_register",
-		"title"=>"_MI_USER_CONF_ALLOW_REGISTER",
-		"description"=>"_MI_USER_CONF_ALLOW_REGISTER_DESC",
-		"formtype"=>"yesno",
-		"valuetype"=>"int",
-		"default"=>0
-	);
-
-$modversion['config'][]=array (
-		"name"=>"minpass",
-		"title"=>"_MI_USER_CONF_MINPASS",
-		"formtype"=>"text",
-		"valuetype"=>"int",
-		"default"=>5
-	);
-
-$modversion['config'][]=array (
-		"name"=>"minuname",
-		"title"=>"_MI_USER_CONF_MINUNAME",
-		"formtype"=>"text",
-		"valuetype"=>"int",
-		"default"=>3
-	);
-
-$modversion['config'][]=array (
-		"name"=>"maxuname",
-		"title"=>"_MI_USER_CONF_MAXUNAME",
-		"formtype"=>"text",
-		"valuetype"=>"int",
-		"default"=>10
-	);
-
-$modversion['config'][]=array (
-		"name"=>"allow_chgmail",
-		"title"=>"_MI_USER_CONF_CHGMAIL",
-		"formtype"=>"yesno",
-		"valuetype"=>"int",
-		"default"=>1
-	);
-
-$modversion['config'][]=array (
-		"name"=>"new_user_notify",
-		"title"=>"_MI_USER_CONF_NEW_USER_NOTIFY",
-		"formtype"=>"yesno",
-		"valuetype"=>"int",
-		"default"=>1
-	);
-
-$modversion['config'][]=array (
-		"name"=>"new_user_notify_group",
-		"title"=>"_MI_USER_CONF_NEW_NTF_GROUP",
-		"formtype"=>"group",
-		"valuetype"=>"int",
-		"default"=>1
-	);
-
-$modversion['config'][]=array (
-		"name"=>"activation_type",
-		"title"=>"_MI_USER_CONF_ACTV_TYPE",
-		"formtype"=>"select",
-		"options"=>array(_MI_USER_CONF_ACTV_USER=>0,_MI_USER_CONF_ACTV_AUTO=>1,_MI_USER_CONF_ACTV_ADMIN=>2),
-		"valuetype"=>"int",
-		"default"=>0
-	);
-
-$modversion['config'][]=array (
-		"name"=>"activation_group",
-		"title"=>"_MI_USER_CONF_ACTV_GROUP",
-		"description"=>"_MI_USER_CONF_ACTV_GROUP_DESC",
-		"formtype"=>"group",
-		"valuetype"=>"int",
-		"default"=>1
-	);
-
-$modversion['config'][]=array (
-		"name"=>"uname_test_level",
-		"title"=>"_MI_USER_CONF_UNAME_TEST_LEVEL",
-		"formtype"=>"select",
-		"options"=>array(_MI_USER_CONF_UNAME_TEST_LEVEL_STRONG=>0,_MI_USER_CONF_UNAME_TEST_LEVEL_NORMAL=>1,_MI_USER_CONF_UNAME_TEST_LEVEL_WEAK=>2),
-		"valuetype"=>"int",
-		"default"=>1
-	);
-
-$modversion['config'][]=array (
-		"name"=>"avatar_allow_upload",
-		"title"=>"_MI_USER_CONF_AVTR_ALLOW_UP",
-		"formtype"=>"yesno",
-		"valuetype"=>"int",
-		"default"=>0
-	);
-
-$modversion['config'][]=array (
-		"name"=>"avatar_minposts",
-		"title"=>"_MI_USER_CONF_AVATAR_MINPOSTS",
-		"description"=>"_MI_USER_CONF_AVATAR_MINPOSTS_DESC",
-		"formtype"=>"text",
-		"valuetype"=>"int",
-		"default"=>0
-	);
-
-$modversion['config'][]=array (
-		"name"=>"avatar_width",
-		"title"=>"_MI_USER_CONF_AVATAR_WIDTH",
-		"formtype"=>"text",
-		"valuetype"=>"int",
-		"default"=>80
-	);
-
-$modversion['config'][]=array (
-		"name"=>"avatar_height",
-		"title"=>"_MI_USER_CONF_AVATAR_HEIGHT",
-		"formtype"=>"text",
-		"valuetype"=>"int",
-		"default"=>80
-	);
-
-$modversion['config'][]=array (
-		"name"=>"avatar_maxsize",
-		"title"=>"_MI_USER_CONF_AVATAR_MAXSIZE",
-		"formtype"=>"text",
-		"valuetype"=>"int",
-		"default"=>35000
-	);
-
-$modversion['config'][]=array (
-		"name"=>"self_delete",
-		"title"=>"_MI_USER_CONF_SELF_DELETE",
-		"formtype"=>"yesno",
-		"valuetype"=>"int",
-		"default"=>1
-	);
-
-$modversion['config'][]=array (
-		"name"=>"bad_unames",
-		"title"=>"_MI_USER_CONF_BAD_UNAMES",
-		"description"=>"_MI_USER_CONF_BAD_UNAMES_DESC",
-		"formtype"=>"textarea",
-		"valuetype"=>"string",
-		"default"=>"webmaster|^xoops|^admin"
-	);
-
-$modversion['config'][]=array (
-		"name"=>"bad_emails",
-		"title"=>"_MI_USER_CONF_BAD_EMAILS",
-		"description"=>"_MI_USER_CONF_BAD_EMAILS_DESC",
-		"formtype"=>"textarea",
-		"valuetype"=>"string",
-		"default"=>"xoopscube.org$|xoopscube.jp$"
-	);
-
-$modversion['config'][]=array (
-		"name"=>"reg_dispdsclmr",
-		"title"=>"_MI_USER_CONF_DISPDSCLMR",
-		"description"=>"_MI_USER_CONF_DISPDSCLMR_DESC",
-		"formtype"=>"yesno",
-		"valuetype"=>"int",
-		"default"=>0
-	);
-
-$modversion['config'][]=array (
-		"name"=>"reg_disclaimer",
-		"title"=>"_MI_USER_CONF_DISCLAIMER",
-		"description"=>"_MI_USER_CONF_DISCLAIMER_DESC",
-		"formtype"=>"textarea",
-		"valuetype"=>"string",
-		"default"=>""
-	);
-
-// Menu
-$modversion['hasMain'] = 1;
-
-?>
+<?php
+// $Id$
+//  ------------------------------------------------------------------------ //
+//                XOOPS - PHP Content Management System                      //
+//                    Copyright (c) 2000 XOOPS.org                           //
+//                       <http://www.xoops.org/>                             //
+//  ------------------------------------------------------------------------ //
+//  This program is free software; you can redistribute it and/or modify     //
+//  it under the terms of the GNU General Public License as published by     //
+//  the Free Software Foundation; either version 2 of the License, or        //
+//  (at your option) any later version.                                      //
+//                                                                           //
+//  You may not change or alter any portion of this comment or credits       //
+//  of supporting developers from this source code or any supporting         //
+//  source code which is considered copyrighted (c) material of the          //
+//  original comment or credit authors.                                      //
+//                                                                           //
+//  This program is distributed in the hope that it will be useful,          //
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
+//  GNU General Public License for more details.                             //
+//                                                                           //
+//  You should have received a copy of the GNU General Public License        //
+//  along with this program; if not, write to the Free Software              //
+//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
+//  ------------------------------------------------------------------------ //
+
+$modversion['name'] = _MI_USER_NAME;
+$modversion['version'] = 1.00;
+$modversion['description'] = _MI_USER_NAME_DESC;
+$modversion['author'] = "";
+$modversion['credits'] = "The XOOPS Project";
+$modversion['help'] = "system.html";
+$modversion['license'] = "GPL see LICENSE";
+$modversion['official'] = 1;
+$modversion['image'] = "images/user.gif";
+$modversion['dirname'] = "user";
+
+// Admin things
+$modversion['hasAdmin'] = 1;
+$modversion['adminindex'] = "admin/index.php";
+$modversion['adminmenu'] = "admin/menu.php";
+
+// Templates
+$modversion['templates'][1]['file'] = 'user_userinfo.html';
+$modversion['templates'][1]['description'] = 'Display a user information in userinfo.php';
+
+$modversion['templates'][2]['file'] = 'user_userform.html';
+$modversion['templates'][2]['description'] = 'Display login and register page to anonymouse user';
+
+$modversion['templates'][3]['file'] = 'user_edituser.html';
+$modversion['templates'][3]['description'] = 'When user edit own information, display this';
+
+$modversion['templates'][4]['file'] = 'user_register_form.html';
+$modversion['templates'][4]['description'] = '';
+
+$modversion['templates'][5]['file'] = 'user_register_confirm.html';
+$modversion['templates'][5]['description'] = '';
+
+$modversion['templates'][6]['file'] = 'user_lostpass.html';
+$modversion['templates'][6]['description'] = '';
+
+$modversion['templates'][7]['file'] = 'user_default.html';
+$modversion['templates'][7]['description'] = '';
+
+$modversion['templates'][8]['file'] = 'user_avatar_edit.html';
+$modversion['templates'][8]['description'] = '';
+
+//Preference
+$modversion['config'][]=array (
+		"name"=>"allow_register",
+		"title"=>"_MI_USER_CONF_ALLOW_REGISTER",
+		"description"=>"_MI_USER_CONF_ALLOW_REGISTER_DESC",
+		"formtype"=>"yesno",
+		"valuetype"=>"int",
+		"default"=>0
+	);
+
+$modversion['config'][]=array (
+		"name"=>"minpass",
+		"title"=>"_MI_USER_CONF_MINPASS",
+		"formtype"=>"text",
+		"valuetype"=>"int",
+		"default"=>5
+	);
+
+$modversion['config'][]=array (
+		"name"=>"minuname",
+		"title"=>"_MI_USER_CONF_MINUNAME",
+		"formtype"=>"text",
+		"valuetype"=>"int",
+		"default"=>3
+	);
+
+$modversion['config'][]=array (
+		"name"=>"maxuname",
+		"title"=>"_MI_USER_CONF_MAXUNAME",
+		"formtype"=>"text",
+		"valuetype"=>"int",
+		"default"=>10
+	);
+
+$modversion['config'][]=array (
+		"name"=>"allow_chgmail",
+		"title"=>"_MI_USER_CONF_CHGMAIL",
+		"formtype"=>"yesno",
+		"valuetype"=>"int",
+		"default"=>1
+	);
+
+$modversion['config'][]=array (
+		"name"=>"new_user_notify",
+		"title"=>"_MI_USER_CONF_NEW_USER_NOTIFY",
+		"formtype"=>"yesno",
+		"valuetype"=>"int",
+		"default"=>1
+	);
+
+$modversion['config'][]=array (
+		"name"=>"new_user_notify_group",
+		"title"=>"_MI_USER_CONF_NEW_NTF_GROUP",
+		"formtype"=>"group",
+		"valuetype"=>"int",
+		"default"=>1
+	);
+
+$modversion['config'][]=array (
+		"name"=>"activation_type",
+		"title"=>"_MI_USER_CONF_ACTV_TYPE",
+		"formtype"=>"select",
+		"options"=>array(_MI_USER_CONF_ACTV_USER=>0,_MI_USER_CONF_ACTV_AUTO=>1,_MI_USER_CONF_ACTV_ADMIN=>2),
+		"valuetype"=>"int",
+		"default"=>0
+	);
+
+$modversion['config'][]=array (
+		"name"=>"activation_group",
+		"title"=>"_MI_USER_CONF_ACTV_GROUP",
+		"description"=>"_MI_USER_CONF_ACTV_GROUP_DESC",
+		"formtype"=>"group",
+		"valuetype"=>"int",
+		"default"=>1
+	);
+
+$modversion['config'][]=array (
+		"name"=>"uname_test_level",
+		"title"=>"_MI_USER_CONF_UNAME_TEST_LEVEL",
+		"formtype"=>"select",
+		"options"=>array(_MI_USER_CONF_UNAME_TEST_LEVEL_STRONG=>0,_MI_USER_CONF_UNAME_TEST_LEVEL_NORMAL=>1,_MI_USER_CONF_UNAME_TEST_LEVEL_WEAK=>2),
+		"valuetype"=>"int",
+		"default"=>1
+	);
+
+$modversion['config'][]=array (
+		"name"=>"avatar_allow_upload",
+		"title"=>"_MI_USER_CONF_AVTR_ALLOW_UP",
+		"formtype"=>"yesno",
+		"valuetype"=>"int",
+		"default"=>0
+	);
+
+$modversion['config'][]=array (
+		"name"=>"avatar_minposts",
+		"title"=>"_MI_USER_CONF_AVATAR_MINPOSTS",
+		"description"=>"_MI_USER_CONF_AVATAR_MINPOSTS_DESC",
+		"formtype"=>"text",
+		"valuetype"=>"int",
+		"default"=>0
+	);
+
+$modversion['config'][]=array (
+		"name"=>"avatar_width",
+		"title"=>"_MI_USER_CONF_AVATAR_WIDTH",
+		"formtype"=>"text",
+		"valuetype"=>"int",
+		"default"=>80
+	);
+
+$modversion['config'][]=array (
+		"name"=>"avatar_height",
+		"title"=>"_MI_USER_CONF_AVATAR_HEIGHT",
+		"formtype"=>"text",
+		"valuetype"=>"int",
+		"default"=>80
+	);
+
+$modversion['config'][]=array (
+		"name"=>"avatar_maxsize",
+		"title"=>"_MI_USER_CONF_AVATAR_MAXSIZE",
+		"formtype"=>"text",
+		"valuetype"=>"int",
+		"default"=>35000
+	);
+
+$modversion['config'][]=array (
+		"name"=>"self_delete",
+		"title"=>"_MI_USER_CONF_SELF_DELETE",
+		"formtype"=>"yesno",
+		"valuetype"=>"int",
+		"default"=>1
+	);
+
+$modversion['config'][]=array (
+		"name"=>"bad_unames",
+		"title"=>"_MI_USER_CONF_BAD_UNAMES",
+		"description"=>"_MI_USER_CONF_BAD_UNAMES_DESC",
+		"formtype"=>"textarea",
+		"valuetype"=>"string",
+		"default"=>"webmaster|^xoops|^admin"
+	);
+
+$modversion['config'][]=array (
+		"name"=>"bad_emails",
+		"title"=>"_MI_USER_CONF_BAD_EMAILS",
+		"description"=>"_MI_USER_CONF_BAD_EMAILS_DESC",
+		"formtype"=>"textarea",
+		"valuetype"=>"string",
+		"default"=>"xoopscube.org$|xoopscube.jp$"
+	);
+
+$modversion['config'][]=array (
+		"name"=>"reg_dispdsclmr",
+		"title"=>"_MI_USER_CONF_DISPDSCLMR",
+		"description"=>"_MI_USER_CONF_DISPDSCLMR_DESC",
+		"formtype"=>"yesno",
+		"valuetype"=>"int",
+		"default"=>0
+	);
+
+$modversion['config'][]=array (
+		"name"=>"reg_disclaimer",
+		"title"=>"_MI_USER_CONF_DISCLAIMER",
+		"description"=>"_MI_USER_CONF_DISCLAIMER_DESC",
+		"formtype"=>"textarea",
+		"valuetype"=>"string",
+		"default"=>""
+	);
+
+// Menu
+$modversion['hasMain'] = 1;
+
+?>


xoops-cvslog メーリングリストの案内
アーカイブの一覧に戻る