From minahito @ users.sourceforge.jp Wed Feb 1 16:30:43 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Wed, 1 Feb 2006 16:30:43 +0900 Subject: [xoops-cvslog 2029] CVS update: xoops2jp/html/modules/user/language/english Message-ID: <20060201073043.44FDC2AC028@users.sourceforge.jp> Index: xoops2jp/html/modules/user/language/english/main.php diff -u xoops2jp/html/modules/user/language/english/main.php:1.1.2.6 xoops2jp/html/modules/user/language/english/main.php:1.1.2.7 --- xoops2jp/html/modules/user/language/english/main.php:1.1.2.6 Thu Jan 26 20:17:27 2006 +++ xoops2jp/html/modules/user/language/english/main.php Wed Feb 1 16:30:43 2006 @@ -60,7 +60,7 @@ define('_US_ENTERPWD', "ERROR: You must provide a password."); define('_US_EXTRAINFO', "Extra Info"); define('_US_FINISH', "Finish"); -define('_US_GROUPS', "User\"); +define('_US_GROUPS', "User\'s Groups"); define('_US_HASJUSTREG', "%s has just registered!"); define('_US_IAGREE', "I agree to the above"); define('_US_ICQ', "ICQ"); @@ -94,7 +94,6 @@ define('_US_NICKNAMETOOSHORT', "Username is too short. It must be more than %s characters."); define('_US_NO', "No"); define('_US_NOACTTPADM', "The selected user has been deactivated or has not been activated yet.
Please contact the administrator for details."); -define('_US_NOEDITRIGHT', "Sorry, you don't have the right to edit this user's info."); define('_US_NOPERMISS', "Sorry, you dont have the permission to perform this action!"); define('_US_NOPROBLEM', "No problem. Simply enter the e-mail address we have on file for your account."); define('_US_NOREGISTER', "Sorry, we are currently closed for new user registrations"); From minahito @ users.sourceforge.jp Wed Feb 1 20:37:53 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Wed, 1 Feb 2006 20:37:53 +0900 Subject: [xoops-cvslog 2030] CVS update: xoops2jp/html/modules/user/language/japanese Message-ID: <20060201113753.564BE2AC142@users.sourceforge.jp> Index: xoops2jp/html/modules/user/language/japanese/admin.php diff -u xoops2jp/html/modules/user/language/japanese/admin.php:1.1.2.15 xoops2jp/html/modules/user/language/japanese/admin.php:1.1.2.16 --- xoops2jp/html/modules/user/language/japanese/admin.php:1.1.2.15 Tue Jan 31 14:31:21 2006 +++ xoops2jp/html/modules/user/language/japanese/admin.php Wed Feb 1 20:37:53 2006 @@ -1,125 +1,126 @@ -_%s_ のユーザーグループを削除します。よろしいですか?"); -define('_AD_USER_LANG_GROUP_DELETE_ADVICE2', "グループを削除してもユーザーは削除されません(オプションで選択できるべきでしょうか)"); -define('_AD_USER_LANG_GROUP_DESC', "説明"); -define('_AD_USER_LANG_GROUP_EDIT', "ユーザーグループ編集"); -define('_AD_USER_LANG_GROUP_GID', "GID"); -define('_AD_USER_LANG_GROUP_LIST', "ユーザーグループ管理"); -define('_AD_USER_LANG_GROUP_NAME', "名前"); -define('_AD_USER_LANG_GROUP_NEW', "ユーザーグループ新規追加"); -define('_AD_USER_LANG_GROUP_NOASSIN_MEMBERS', "このグループに登録されていないユーザー一覧"); -define('_AD_USER_LANG_GROUP_PERMISSION', "パーミッション"); -define('_AD_USER_LANG_GROUP_PROPERTY', "プロパティ"); -define('_AD_USER_LANG_GROUP_TYPE', "タイプ"); -define('_AD_USER_LANG_GROUPID', "groupid"); -define('_AD_USER_LANG_ID', "id"); -define('_AD_USER_LANG_LASTLOGIN', "最終ログイン"); -define('_AD_USER_LANG_LASTLOGIN_FLAG', "lastlogin_flag"); -define('_AD_USER_LANG_LEVEL', "レベル"); -define('_AD_USER_LANG_MAILOK', "mailok"); -define('_AD_USER_LANG_NAME', "本名"); -define('_AD_USER_LANG_NO_SPECIAL_RANK', "NO_SPECIAL_RANK"); -define('_AD_USER_LANG_NOTIFY_METHOD', "イベント更新通知メッセージの受取方法"); -define('_AD_USER_LANG_NOTIFY_MODE', "イベント通知のタイミング"); -define('_AD_USER_LANG_OFF', "オフ"); -define('_AD_USER_LANG_ON', "オン"); -define('_AD_USER_LANG_PASS', "パスワード"); -define('_AD_USER_LANG_PERM_ACCESS', "アクセス"); -define('_AD_USER_LANG_PERM_ACCESS_ADMIN', "アクセス管理権限"); -define('_AD_USER_LANG_PERM_ADMIN', "管理"); -define('_AD_USER_LANG_PERM_BLOCK_ACCESS', "ブロック アクセス権限"); -define('_AD_USER_LANG_PERM_GROUP_PERM_BLOCK', "ブロック管理"); -define('_AD_USER_LANG_PERM_GROUP_PERM_MODULE', "モジュール管理"); -define('_AD_USER_LANG_PERM_MODULE_ACCESS', "システム/モジュール管理権限"); -define('_AD_USER_LANG_PERM_SYSTEM_PERM_MODULE', "システム管理"); -define('_AD_USER_LANG_POSTS', "投稿数"); -define('_AD_USER_LANG_RANK', "ランク"); -define('_AD_USER_LANG_RANK_EDIT', "ユーザーランク編集"); -define('_AD_USER_LANG_RANK_ID', "ID"); -define('_AD_USER_LANG_RANK_IMAGE', "画像"); -define('_AD_USER_LANG_RANK_LIST', "ユーザーランク管理"); -define('_AD_USER_LANG_RANK_MAX', "最高投稿数"); -define('_AD_USER_LANG_RANK_MIN', "最低投稿数"); -define('_AD_USER_LANG_RANK_NEW', "ユーザーランク新規登録"); -define('_AD_USER_LANG_RANK_SPECIAL', "特別ランク"); -define('_AD_USER_LANG_RANK_TITLE', "ランク名"); -define('_AD_USER_LANG_REGDATE', "登録日"); -define('_AD_USER_LANG_REGISTDATE', "registdate"); -define('_AD_USER_LANG_REGISTDATE_FLAG', "registdate_flag"); -define('_AD_USER_LANG_SENDER', "sender"); -define('_AD_USER_LANG_SUBJECT', "subject"); -define('_AD_USER_LANG_SUBMIT', "submit"); -define('_AD_USER_LANG_SYSTEM_AVATAR', "system avatar"); -define('_AD_USER_LANG_TIMEZONE_OFFSET', "タイムゾーン"); -define('_AD_USER_LANG_UID', "UID"); -define('_AD_USER_LANG_UMODE', "コメント表示モード"); -define('_AD_USER_LANG_UNAME', "ユーザー名"); -define('_AD_USER_LANG_UORDER', "コメントの並び順"); -define('_AD_USER_LANG_URL', "ホームページ"); -define('_AD_USER_LANG_USER_AIM', "AIM"); -define('_AD_USER_LANG_USER_DELETE', "ユーザーの削除"); -define('_AD_USER_LANG_USER_DELETE_ADVICE', "_%s_ のユーザーを削除します。よろしいですか?"); -define('_AD_USER_LANG_USER_EDIT', "ユーザーの編集"); -define('_AD_USER_LANG_USER_FROM', "居住地"); -define('_AD_USER_LANG_USER_ICQ', "ICQ"); -define('_AD_USER_LANG_USER_INTREST', "趣味"); -define('_AD_USER_LANG_USER_LIST', "ユーザー管理"); -define('_AD_USER_LANG_USER_MAILOK', "当サイトの新着情報などをメールで受け取る"); -define('_AD_USER_LANG_USER_MSNM', "MSNM"); -define('_AD_USER_LANG_USER_NEW', "ユーザー新規登録"); -define('_AD_USER_LANG_USER_OCC', "職業"); -define('_AD_USER_LANG_USER_SIG', "署名"); -define('_AD_USER_LANG_USER_VIEWEMAIL', "このメールアドレスを公開する"); -define('_AD_USER_LANG_USER_YIM', "YIM"); -define('_AD_USER_LANG_VPASS', "パスワード確認"); -define('_AD_USER_MESSAGE_CONFIRM_DELETE', "本当に削除しますか?"); -define('_AD_USER_MESSAGE_CONFIRM_DELETE_RANK', "このユーザーランクを本当に削除しますか?"); -define('_AD_USER_MESSAGE_DELETE_RANK_SUCCESS', "指定ユーザーランクを削除しました"); -define('_AD_USER_MESSAGE_SAVE_RANK_SUCCESS', "ユーザーランクを保存しました"); - -?> +_%s_ のユーザーグループを削除します。よろしいですか?"); +define('_AD_USER_LANG_GROUP_DELETE_ADVICE2', "グループを削除してもユーザーは削除されません(オプションで選択できるべきでしょうか)"); +define('_AD_USER_LANG_GROUP_DESC', "説明"); +define('_AD_USER_LANG_GROUP_EDIT', "ユーザーグループ編集"); +define('_AD_USER_LANG_GROUP_GID', "GID"); +define('_AD_USER_LANG_GROUP_LIST', "ユーザーグループ管理"); +define('_AD_USER_LANG_GROUP_NAME', "名前"); +define('_AD_USER_LANG_GROUP_NEW', "ユーザーグループ新規追加"); +define('_AD_USER_LANG_GROUP_NOASSIN_MEMBERS', "このグループに登録されていないユーザー一覧"); +define('_AD_USER_LANG_GROUP_PERMISSION', "パーミッション"); +define('_AD_USER_LANG_GROUP_PROPERTY', "プロパティ"); +define('_AD_USER_LANG_GROUP_TYPE', "タイプ"); +define('_AD_USER_LANG_GROUPID', "グループID"); +define('_AD_USER_LANG_ID', "ID"); +define('_AD_USER_LANG_LASTLOGIN', "最終ログイン"); +define('_AD_USER_LANG_LASTLOGIN_FLAG', "lastlogin_flag"); +define('_AD_USER_LANG_LEVEL', "レベル"); +define('_AD_USER_LANG_MAILOK', "当サイトの新着情報などをメールで受け取る"); +define('_AD_USER_LANG_NAME', "本名"); +define('_AD_USER_LANG_NO_SPECIAL_RANK', "NO_SPECIAL_RANK"); +define('_AD_USER_LANG_NOTIFY_METHOD', "イベント更新通知メッセージの受取方法"); +define('_AD_USER_LANG_NOTIFY_MODE', "イベント通知のタイミング"); +define('_AD_USER_LANG_OFF', "オフ"); +define('_AD_USER_LANG_ON', "オン"); +define('_AD_USER_LANG_PASS', "パスワード"); +define('_AD_USER_LANG_PERM_ACCESS', "アクセス"); +define('_AD_USER_LANG_PERM_ACCESS_ADMIN', "アクセス管理権限"); +define('_AD_USER_LANG_PERM_ADMIN', "管理"); +define('_AD_USER_LANG_PERM_BLOCK_ACCESS', "ブロック アクセス権限"); +define('_AD_USER_LANG_PERM_GROUP_PERM_BLOCK', "ブロック管理"); +define('_AD_USER_LANG_PERM_GROUP_PERM_MODULE', "モジュール管理"); +define('_AD_USER_LANG_PERM_MODULE_ACCESS', "システム/モジュール管理権限"); +define('_AD_USER_LANG_PERM_SYSTEM_PERM_MODULE', "システム管理"); +define('_AD_USER_LANG_POSTS', "投稿数"); +define('_AD_USER_LANG_RANK', "ランク"); +define('_AD_USER_LANG_RANK_EDIT', "ユーザーランク編集"); +define('_AD_USER_LANG_RANK_ID', "ID"); +define('_AD_USER_LANG_RANK_IMAGE', "画像"); +define('_AD_USER_LANG_RANK_LIST', "ユーザーランク管理"); +define('_AD_USER_LANG_RANK_MAX', "最高投稿数"); +define('_AD_USER_LANG_RANK_MIN', "最低投稿数"); +define('_AD_USER_LANG_RANK_NEW', "ユーザーランク新規登録"); +define('_AD_USER_LANG_RANK_SPECIAL', "特別ランク"); +define('_AD_USER_LANG_RANK_TITLE', "ランク名"); +define('_AD_USER_LANG_REGDATE', "登録日"); +define('_AD_USER_LANG_REGISTDATE', "登録日時"); +define('_AD_USER_LANG_REGISTDATE_FLAG', "registdate_flag"); +define('_AD_USER_LANG_SENDER', "送信者"); +define('_AD_USER_LANG_SUBJECT', "件名"); +define('_AD_USER_LANG_SUBMIT', "送信"); +define('_AD_USER_LANG_SYSTEM_AVATAR', "システムアバター"); +define('_AD_USER_LANG_TIMEZONE_OFFSET', "タイムゾーン"); +define('_AD_USER_LANG_UID', "UID"); +define('_AD_USER_LANG_UMODE', "コメント表示モード"); +define('_AD_USER_LANG_UNAME', "ユーザー名"); +define('_AD_USER_LANG_UORDER', "コメントの並び順"); +define('_AD_USER_LANG_URL', "ホームページ"); +define('_AD_USER_LANG_USER_AIM', "AIM"); +define('_AD_USER_LANG_USER_DELETE', "ユーザーの削除"); +define('_AD_USER_LANG_USER_DELETE_ADVICE', "_%s_ のユーザーを削除します。よろしいですか?"); +define('_AD_USER_LANG_USER_EDIT', "ユーザーの編集"); +define('_AD_USER_LANG_USER_FROM', "居住地"); +define('_AD_USER_LANG_USER_ICQ', "ICQ"); +define('_AD_USER_LANG_USER_INTREST', "趣味"); +define('_AD_USER_LANG_USER_LIST', "ユーザー管理"); +define('_AD_USER_LANG_USER_MAILOK', "当サイトの新着情報などをメールで受け取る"); +define('_AD_USER_LANG_USER_MSNM', "MSNM"); +define('_AD_USER_LANG_USER_NEW', "ユーザー新規登録"); +define('_AD_USER_LANG_USER_OCC', "職業"); +define('_AD_USER_LANG_USER_SIG', "署名"); +define('_AD_USER_LANG_USER_VIEWEMAIL', "このメールアドレスを公開する"); +define('_AD_USER_LANG_USER_YIM', "YIM"); +define('_AD_USER_LANG_VPASS', "パスワード確認"); +define('_AD_USER_MESSAGE_CONFIRM_DELETE', "本当に削除しますか?"); +define('_AD_USER_MESSAGE_CONFIRM_DELETE_RANK', "このユーザーランクを本当に削除しますか?"); +define('_AD_USER_MESSAGE_DELETE_RANK_SUCCESS', "指定ユーザーランクを削除しました"); +define('_AD_USER_MESSAGE_SAVE_RANK_SUCCESS', "ユーザーランクを保存しました"); + +?> From minahito @ users.sourceforge.jp Wed Feb 1 20:38:06 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Wed, 1 Feb 2006 20:38:06 +0900 Subject: [xoops-cvslog 2031] CVS update: xoops2jp/html/modules/user/language/english Message-ID: <20060201113806.AEC322AC071@users.sourceforge.jp> Index: xoops2jp/html/modules/user/language/english/admin.php diff -u xoops2jp/html/modules/user/language/english/admin.php:1.1.2.7 xoops2jp/html/modules/user/language/english/admin.php:1.1.2.8 --- xoops2jp/html/modules/user/language/english/admin.php:1.1.2.7 Tue Jan 31 14:31:21 2006 +++ xoops2jp/html/modules/user/language/english/admin.php Wed Feb 1 20:38:06 2006 @@ -25,7 +25,7 @@ define('_AD_USER_LANG_AVATAR_EDIT', "avatar edit"); define('_AD_USER_LANG_AVATAR_FILE', "File"); define('_AD_USER_LANG_AVATAR_ID', "ID"); -define('_AD_USER_LANG_AVATAR_MIMETYPE', "Mimetype"); +define('_AD_USER_LANG_AVATAR_MIMETYPE', "MimeType"); define('_AD_USER_LANG_AVATAR_NAME', "Name"); define('_AD_USER_LANG_AVATAR_NEW', "avatar new"); define('_AD_USER_LANG_AVATAR_TYPE', "Type"); @@ -38,7 +38,9 @@ define('_AD_USER_LANG_CREATE_NEW', "Create new"); define('_AD_USER_LANG_CUSTOM_AVATAR', "Custom avatar"); define('_AD_USER_LANG_DELETE_RANK', "Delete rank"); +define('_AD_USER_LANG_EDIT', "Edit"); define('_AD_USER_LANG_EMAIL', "Email"); +define('_AD_USER_LANG_GROUP', "User lang group"); define('_AD_USER_LANG_GROUP_AMMO', "Count"); define('_AD_USER_LANG_GROUP_ASSIGN', "Assign member"); define('_AD_USER_LANG_GROUP_ASSIN_MEMBERS', "The member list of this group"); @@ -60,11 +62,11 @@ define('_AD_USER_LANG_LASTLOGIN', "Last login"); define('_AD_USER_LANG_LASTLOGIN_FLAG', "Last login Flag"); define('_AD_USER_LANG_LEVEL', "Level"); -define('_AD_USER_LANG_MAILOK', "mailok"); +define('_AD_USER_LANG_MAILOK', "Receive occasional email notices from administrators and moderators?"); define('_AD_USER_LANG_NAME', "Real name"); define('_AD_USER_LANG_NO_SPECIAL_RANK', "NO_SPECIAL_RANK"); -define('_AD_USER_LANG_NOTIFY_METHOD', "notify_method"); -define('_AD_USER_LANG_NOTIFY_MODE', "notify_mode"); +define('_AD_USER_LANG_NOTIFY_METHOD', "Method of receiving event notice"); +define('_AD_USER_LANG_NOTIFY_MODE', "Timing of receiving event notice"); define('_AD_USER_LANG_OFF', "Off"); define('_AD_USER_LANG_ON', "On"); define('_AD_USER_LANG_PASS', "Password"); @@ -103,6 +105,7 @@ define('_AD_USER_LANG_USER_AIM', "AIM"); define('_AD_USER_LANG_USER_DELETE', "Delete user"); define('_AD_USER_LANG_USER_DELETE_ADVICE', "Delete _%s_, OK?"); +define('_AD_USER_LANG_USER_EDIT', "Edit user"); define('_AD_USER_LANG_USER_FROM', "user_from"); define('_AD_USER_LANG_USER_ICQ', "ICQ"); define('_AD_USER_LANG_USER_INTREST', "user_intrest"); From minahito @ users.sourceforge.jp Wed Feb 1 20:38:25 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Wed, 1 Feb 2006 20:38:25 +0900 Subject: [xoops-cvslog 2032] CVS update: xoops2jp/html/modules/user/language/english Message-ID: <20060201113825.E7B9C2AC071@users.sourceforge.jp> Index: xoops2jp/html/modules/user/language/english/main.php diff -u xoops2jp/html/modules/user/language/english/main.php:1.1.2.7 xoops2jp/html/modules/user/language/english/main.php:1.1.2.8 --- xoops2jp/html/modules/user/language/english/main.php:1.1.2.7 Wed Feb 1 16:30:43 2006 +++ xoops2jp/html/modules/user/language/english/main.php Wed Feb 1 20:38:25 2006 @@ -1,40 +1,45 @@ Please contact the administrator for details."); +define('_US_NOEDITRIGHT', " us noeditright"); define('_US_NOPERMISS', "Sorry, you dont have the permission to perform this action!"); define('_US_NOPROBLEM', "No problem. Simply enter the e-mail address we have on file for your account."); define('_US_NOREGISTER', "Sorry, we are currently closed for new user registrations"); From minahito @ users.sourceforge.jp Wed Feb 1 20:38:51 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Wed, 1 Feb 2006 20:38:51 +0900 Subject: [xoops-cvslog 2033] CVS update: xoops2jp/html/modules/user/language/japanese Message-ID: <20060201113851.DB5F32AC071@users.sourceforge.jp> Index: xoops2jp/html/modules/user/language/japanese/main.php diff -u xoops2jp/html/modules/user/language/japanese/main.php:1.1.2.8 xoops2jp/html/modules/user/language/japanese/main.php:1.1.2.9 --- xoops2jp/html/modules/user/language/japanese/main.php:1.1.2.8 Thu Jan 26 20:17:32 2006 +++ xoops2jp/html/modules/user/language/japanese/main.php Wed Feb 1 20:38:51 2006 @@ -15,31 +15,31 @@ define('_MD_USER_ERROR_REQUIRED', "{0}は必ず入力して下さい"); define('_MD_USER_ERROR_SEND_MAIL', "メールの送信に失敗しました。管理者に御連絡下さい。"); define('_MD_USER_ERROR_TIMEZONE', "タイムゾーン"); -define('_MD_USER_LANG_AVATAR', "avatar"); -define('_MD_USER_LANG_AVATAR_CREATED', "avatar created"); -define('_MD_USER_LANG_AVATAR_DISPLAY', "avatar display"); -define('_MD_USER_LANG_AVATAR_FILE', "avatar file"); -define('_MD_USER_LANG_AVATAR_HEIGHT', "avatar height"); -define('_MD_USER_LANG_AVATAR_ID', "avatar id"); -define('_MD_USER_LANG_AVATAR_MAXFILESIZE', "avatar maxfilesize"); -define('_MD_USER_LANG_AVATAR_MIMETYPE', "avatar mimetype"); -define('_MD_USER_LANG_AVATAR_NAME', "avatar name"); -define('_MD_USER_LANG_AVATAR_TYPE', "avatar type"); -define('_MD_USER_LANG_AVATAR_WEIGHT', "avatar weight"); -define('_MD_USER_LANG_AVATAR_WIDTH', "avatar width"); -define('_MD_USER_LANG_CONTROL', "control"); -define('_MD_USER_LANG_CREATE_NEW', "create new"); -define('_MD_USER_LANG_EMAIL', "email"); -define('_MD_USER_LANG_GROUPID', "groupid"); -define('_MD_USER_LANG_PASS', "pass"); -define('_MD_USER_LANG_RANK_ID', "rank id"); -define('_MD_USER_LANG_SELECT', "select"); -define('_MD_USER_LANG_SUBMIT', "Submit"); -define('_MD_USER_LANG_TIMEZONE_OFFSET', "timezone offset"); -define('_MD_USER_LANG_UID', "uid"); -define('_MD_USER_LANG_UNAME', "uname"); -define('_MD_USER_LANG_URL', "url"); -define('_MD_USER_MESSAGE_CONFIRM_DELETE', "confirm delete"); +define('_MD_USER_LANG_AVATAR', "アバター"); +define('_MD_USER_LANG_AVATAR_CREATED', "作成日時"); +define('_MD_USER_LANG_AVATAR_DISPLAY', "表示"); +define('_MD_USER_LANG_AVATAR_FILE', "ファイル"); +define('_MD_USER_LANG_AVATAR_HEIGHT', "高さ"); +define('_MD_USER_LANG_AVATAR_ID', "ID"); +define('_MD_USER_LANG_AVATAR_MAXFILESIZE', "最大ファイルサイズ"); +define('_MD_USER_LANG_AVATAR_MIMETYPE', "MimeType"); +define('_MD_USER_LANG_AVATAR_NAME', "名前"); +define('_MD_USER_LANG_AVATAR_TYPE', "タイプ"); +define('_MD_USER_LANG_AVATAR_WEIGHT', "優先度"); +define('_MD_USER_LANG_AVATAR_WIDTH', "幅"); +define('_MD_USER_LANG_CONTROL', "操作"); +define('_MD_USER_LANG_CREATE_NEW', "新規作成"); +define('_MD_USER_LANG_EMAIL', "電子メール"); +define('_MD_USER_LANG_GROUPID', "グループID"); +define('_MD_USER_LANG_PASS', "パスワード"); +define('_MD_USER_LANG_RANK_ID', "ID"); +define('_MD_USER_LANG_SELECT', "選択"); +define('_MD_USER_LANG_SUBMIT', "送信"); +define('_MD_USER_LANG_TIMEZONE_OFFSET', "タイムゾーンオフセット"); +define('_MD_USER_LANG_UID', "UID"); +define('_MD_USER_LANG_UNAME', "ユーザー名"); +define('_MD_USER_LANG_URL', "URL"); +define('_MD_USER_MESSAGE_CONFIRM_DELETE', "本当に削除しますか?"); define('_US_ACONTACT', "選択されたアカウントは既に承認が完了しています。"); define('_US_ACTKEYNOT', "承認キーが間違っています。"); define('_US_ACTLOGIN', "アカウントを承認しました。登録の際に記入したパスワードを使用してログインしてください。"); From minahito @ users.sourceforge.jp Wed Feb 1 23:57:02 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Wed, 1 Feb 2006 23:57:02 +0900 Subject: [xoops-cvslog 2034] CVS update: xoops2jp/html/modules/legacyRender/admin/forms Message-ID: <20060201145702.E8A2F2AC010@users.sourceforge.jp> Index: xoops2jp/html/modules/legacyRender/admin/forms/TplfileEditForm.class.php diff -u xoops2jp/html/modules/legacyRender/admin/forms/TplfileEditForm.class.php:1.1.2.1 xoops2jp/html/modules/legacyRender/admin/forms/TplfileEditForm.class.php:1.1.2.2 --- xoops2jp/html/modules/legacyRender/admin/forms/TplfileEditForm.class.php:1.1.2.1 Sat Jan 14 02:31:14 2006 +++ xoops2jp/html/modules/legacyRender/admin/forms/TplfileEditForm.class.php Wed Feb 1 23:57:02 2006 @@ -29,8 +29,7 @@ $this->mFieldProperties['tpl_id']->addMessage('required', _AD_LEGACYRENDER_ERROR_REQUIRED, _AD_LEGACYRENDER_LANG_TPL_ID); $this->mFieldProperties['tpl_desc'] =& new XCube_FieldProperty($this); - $this->mFieldProperties['tpl_desc']->setDependsByArray(array('required','maxlength')); - $this->mFieldProperties['tpl_desc']->addMessage('required', _AD_LEGACYRENDER_ERROR_REQUIRED, _AD_LEGACYRENDER_LANG_TPL_DESC, '255'); + $this->mFieldProperties['tpl_desc']->setDependsByArray(array('maxlength')); $this->mFieldProperties['tpl_desc']->addMessage('maxlength', _AD_LEGACYRENDER_ERROR_MAXLENGTH, _AD_LEGACYRENDER_LANG_TPL_DESC, '255'); $this->mFieldProperties['tpl_desc']->addVar('maxlength', 255); From minahito @ users.sourceforge.jp Thu Feb 2 14:32:21 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 14:32:21 +0900 Subject: [xoops-cvslog 2035] CVS update: xoops2jp/html/modules/base/language/english Message-ID: <20060202053221.B4AEB2AC01F@users.sourceforge.jp> Index: xoops2jp/html/modules/base/language/english/admin.php diff -u xoops2jp/html/modules/base/language/english/admin.php:1.1.2.9 xoops2jp/html/modules/base/language/english/admin.php:1.1.2.10 --- xoops2jp/html/modules/base/language/english/admin.php:1.1.2.9 Mon Jan 30 13:33:38 2006 +++ xoops2jp/html/modules/base/language/english/admin.php Thu Feb 2 14:32:21 2006 @@ -1,37 +1,37 @@ Index: xoops2jp/html/modules/base/language/english/main.php diff -u xoops2jp/html/modules/base/language/english/main.php:1.1.2.5 xoops2jp/html/modules/base/language/english/main.php:1.1.2.6 --- xoops2jp/html/modules/base/language/english/main.php:1.1.2.5 Sun Jan 29 00:52:03 2006 +++ xoops2jp/html/modules/base/language/english/main.php Thu Feb 2 14:32:31 2006 @@ -1,66 +1,66 @@ -%s match(es)"); -define('_SR_IGNOREDWORDS', "The following words are shorter than allowed minmum length (%u chars) and were not included in your search:"); -define('_SR_KEYIGNORE', "Keywords shorter than %s characters will be ignored"); -define('_SR_KEYTOOSHORT', "Keywords must be at least %s characters long"); -define('_SR_KEYWORDS', "Keyword(s)"); -define('_SR_NEXT', "Next >>"); -define('_SR_NOMATCH', "No Match Found for your Query"); -define('_SR_PLZENTER', "Please enter all required data!"); -define('_SR_PREVIOUS', "<< Previous"); -define('_SR_SEARCH', "Search"); -define('_SR_SEARCHIN', "Search in"); -define('_SR_SEARCHRESULTS', "Search Results"); -define('_SR_SEARCHRULE', "Seach Rule"); -define('_SR_SHOWALLR', "Show all results"); -define('_SR_SHOWING', "(Showing %d - %d)"); -define('_SR_TYPE', "Type"); - -?> +%s match(es)"); +define('_SR_IGNOREDWORDS', "The following words are shorter than allowed minmum length (%u chars) and were not included in your search:"); +define('_SR_KEYIGNORE', "Keywords shorter than %s characters will be ignored"); +define('_SR_KEYTOOSHORT', "Keywords must be at least %s characters long"); +define('_SR_KEYWORDS', "Keyword(s)"); +define('_SR_NEXT', "Next >>"); +define('_SR_NOMATCH', "No Match Found for your Query"); +define('_SR_PLZENTER', "Please enter all required data!"); +define('_SR_PREVIOUS', "<< Previous"); +define('_SR_SEARCH', "Search"); +define('_SR_SEARCHIN', "Search in"); +define('_SR_SEARCHRESULTS', "Search Results"); +define('_SR_SEARCHRULE', "Seach Rule"); +define('_SR_SHOWALLR', "Show all results"); +define('_SR_SHOWING', "(Showing %d - %d)"); +define('_SR_TYPE', "Type"); + +?> From minahito @ users.sourceforge.jp Thu Feb 2 14:32:55 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 14:32:55 +0900 Subject: [xoops-cvslog 2037] CVS update: xoops2jp/html/modules/base/language/english Message-ID: <20060202053255.2A8FB2AC01F@users.sourceforge.jp> Index: xoops2jp/html/modules/base/language/english/modinfo.php diff -u xoops2jp/html/modules/base/language/english/modinfo.php:1.1.2.5 xoops2jp/html/modules/base/language/english/modinfo.php:1.1.2.6 --- xoops2jp/html/modules/base/language/english/modinfo.php:1.1.2.5 Sun Jan 29 00:52:03 2006 +++ xoops2jp/html/modules/base/language/english/modinfo.php Thu Feb 2 14:32:55 2006 @@ -1,13 +1,13 @@ -Pre-road mechanism of this module is very flexible, but it is low speed.
"); -define('_MI_PROFILE_BASE_LEGACY_RENDER_SYSTEM', "This system depends on Smarty engine for rendering and cache.
This system can use themes of Xoops2.0.x rightly."); - -?> +Pre-road mechanism of this module is very flexible, but it is low speed.
"); +define('_MI_PROFILE_BASE_LEGACY_RENDER_SYSTEM', "This system depends on Smarty engine for rendering and cache.
This system can use themes of Xoops2.0.x rightly."); + +?> From minahito @ users.sourceforge.jp Thu Feb 2 14:33:07 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 14:33:07 +0900 Subject: [xoops-cvslog 2038] CVS update: xoops2jp/html/modules/base/language/japanese Message-ID: <20060202053307.ACD512AC01F@users.sourceforge.jp> Index: xoops2jp/html/modules/base/language/japanese/modinfo.php diff -u xoops2jp/html/modules/base/language/japanese/modinfo.php:1.1.2.6 xoops2jp/html/modules/base/language/japanese/modinfo.php:1.1.2.7 --- xoops2jp/html/modules/base/language/japanese/modinfo.php:1.1.2.6 Sun Jan 29 00:52:03 2006 +++ xoops2jp/html/modules/base/language/japanese/modinfo.php Thu Feb 2 14:33:07 2006 @@ -1,11 +1,11 @@ - + Index: xoops2jp/html/modules/base/language/japanese/main.php diff -u xoops2jp/html/modules/base/language/japanese/main.php:1.1.2.5 xoops2jp/html/modules/base/language/japanese/main.php:1.1.2.6 --- xoops2jp/html/modules/base/language/japanese/main.php:1.1.2.5 Sun Jan 29 00:52:03 2006 +++ xoops2jp/html/modules/base/language/japanese/main.php Thu Feb 2 14:33:07 2006 @@ -1,66 +1,66 @@ -%s件のデータが見つかりました。"); -define('_SR_IGNOREDWORDS', "次の語句は短すぎる(%u 文字以下)ため検索に使用されていません。"); -define('_SR_KEYIGNORE', "文字数が %s 文字未満のキーワードは無視されます。"); -define('_SR_KEYTOOSHORT', "キーワードは %s 文字以上で指定してください。"); -define('_SR_KEYWORDS', "キーワード"); -define('_SR_NEXT', "次のページ >>"); -define('_SR_NOMATCH', "該当データなし。"); -define('_SR_PLZENTER', "必要なデータを全て入力してください。"); -define('_SR_PREVIOUS', "<< 前のページ"); -define('_SR_SEARCH', "検索"); -define('_SR_SEARCHIN', "検索対象のモジュール"); -define('_SR_SEARCHRESULTS', "検索結果"); -define('_SR_SEARCHRULE', "検索のルール"); -define('_SR_SHOWALLR', "すべて表示"); -define('_SR_SHOWING', "(%d 〜 %d 件目を表示)"); -define('_SR_TYPE', "検索の種類"); - -?> +%s件のデータが見つかりました。"); +define('_SR_IGNOREDWORDS', "次の語句は短すぎる(%u 文字以下)ため検索に使用されていません。"); +define('_SR_KEYIGNORE', "文字数が %s 文字未満のキーワードは無視されます。"); +define('_SR_KEYTOOSHORT', "キーワードは %s 文字以上で指定してください。"); +define('_SR_KEYWORDS', "キーワード"); +define('_SR_NEXT', "次のページ >>"); +define('_SR_NOMATCH', "該当データなし。"); +define('_SR_PLZENTER', "必要なデータを全て入力してください。"); +define('_SR_PREVIOUS', "<< 前のページ"); +define('_SR_SEARCH', "検索"); +define('_SR_SEARCHIN', "検索対象のモジュール"); +define('_SR_SEARCHRESULTS', "検索結果"); +define('_SR_SEARCHRULE', "検索のルール"); +define('_SR_SHOWALLR', "すべて表示"); +define('_SR_SHOWING', "(%d 〜 %d 件目を表示)"); +define('_SR_TYPE', "検索の種類"); + +?> Index: xoops2jp/html/modules/base/language/japanese/admin.php diff -u xoops2jp/html/modules/base/language/japanese/admin.php:1.1.2.14 xoops2jp/html/modules/base/language/japanese/admin.php:1.1.2.15 --- xoops2jp/html/modules/base/language/japanese/admin.php:1.1.2.14 Mon Jan 30 13:33:38 2006 +++ xoops2jp/html/modules/base/language/japanese/admin.php Thu Feb 2 14:33:07 2006 @@ -1,37 +1,37 @@ Index: xoops2jp/html/modules/user/language/english/main.php diff -u xoops2jp/html/modules/user/language/english/main.php:1.1.2.8 xoops2jp/html/modules/user/language/english/main.php:1.1.2.9 --- xoops2jp/html/modules/user/language/english/main.php:1.1.2.8 Wed Feb 1 20:38:25 2006 +++ xoops2jp/html/modules/user/language/english/main.php Thu Feb 2 14:33:24 2006 @@ -18,15 +18,16 @@ define('_MD_USER_LANG_AVATAR', "Avatar"); define('_MD_USER_LANG_AVATAR_CREATED', "Created"); define('_MD_USER_LANG_AVATAR_DISPLAY', "Display"); +define('_MD_USER_LANG_AVATAR_EDIT', "avatar edit"); define('_MD_USER_LANG_AVATAR_FILE', "File"); -define('_MD_USER_LANG_AVATAR_HEIGHT', "Height"); define('_MD_USER_LANG_AVATAR_ID', "ID"); +define('_MD_USER_LANG_AVATAR_LIST', "avatar list"); define('_MD_USER_LANG_AVATAR_MAXFILESIZE', "Maxfilesize"); define('_MD_USER_LANG_AVATAR_MIMETYPE', "MimeType"); define('_MD_USER_LANG_AVATAR_NAME', "Name"); define('_MD_USER_LANG_AVATAR_TYPE', "Type"); define('_MD_USER_LANG_AVATAR_WEIGHT', "Weight"); -define('_MD_USER_LANG_AVATAR_WIDTH', "Width"); +define('_MD_USER_LANG_AVATAR_WIDTH_HIGHT', "avatar width hight"); define('_MD_USER_LANG_CONTROL', "Control"); define('_MD_USER_LANG_CREATE_NEW', "Create new"); define('_MD_USER_LANG_EMAIL', "Email"); From tom_g3x @ users.sourceforge.jp Thu Feb 2 14:33:24 2006 From: tom_g3x @ users.sourceforge.jp (Tom Hayakawa) Date: Thu, 2 Feb 2006 14:33:24 +0900 Subject: [xoops-cvslog 2040] CVS update: xoops2jp/html/modules/user/language/japanese Message-ID: <20060202053324.7428F2AC01F@users.sourceforge.jp> Index: xoops2jp/html/modules/user/language/japanese/main.php diff -u xoops2jp/html/modules/user/language/japanese/main.php:1.1.2.9 xoops2jp/html/modules/user/language/japanese/main.php:1.1.2.10 --- xoops2jp/html/modules/user/language/japanese/main.php:1.1.2.9 Wed Feb 1 20:38:51 2006 +++ xoops2jp/html/modules/user/language/japanese/main.php Thu Feb 2 14:33:24 2006 @@ -18,15 +18,16 @@ define('_MD_USER_LANG_AVATAR', "アバター"); define('_MD_USER_LANG_AVATAR_CREATED', "作成日時"); define('_MD_USER_LANG_AVATAR_DISPLAY', "表示"); +define('_MD_USER_LANG_AVATAR_EDIT', "アバター編集"); define('_MD_USER_LANG_AVATAR_FILE', "ファイル"); -define('_MD_USER_LANG_AVATAR_HEIGHT', "高さ"); define('_MD_USER_LANG_AVATAR_ID', "ID"); +define('_MD_USER_LANG_AVATAR_LIST', "使用可能アバター一覧"); define('_MD_USER_LANG_AVATAR_MAXFILESIZE', "最大ファイルサイズ"); define('_MD_USER_LANG_AVATAR_MIMETYPE', "MimeType"); define('_MD_USER_LANG_AVATAR_NAME', "名前"); define('_MD_USER_LANG_AVATAR_TYPE', "タイプ"); define('_MD_USER_LANG_AVATAR_WEIGHT', "優先度"); -define('_MD_USER_LANG_AVATAR_WIDTH', "幅"); +define('_MD_USER_LANG_AVATAR_WIDTH_HIGHT', "幅 x 高さ"); define('_MD_USER_LANG_CONTROL', "操作"); define('_MD_USER_LANG_CREATE_NEW', "新規作成"); define('_MD_USER_LANG_EMAIL', "電子メール"); @@ -103,7 +104,7 @@ define('_US_NOPERMISS', "このユーザ情報を変更することはできません。"); define('_US_NOPROBLEM', "ご心配なく。まずはあなたが登録に使用したメールアドレスを入力し、ボタンをクリックしてください。 パスワード取得用のリンクが記載されたメールがあなたの登録メールアドレス宛に送られます。"); define('_US_NOREGISTER', "申し訳ございませんが、現在このサイトでは新規ユーザの登録受付を行っておりません。"); -define('_US_NOTREGISTERED', "今すぐ登録しませんか?"); define('_US_OCCUPATION', "職業"); define('_US_OLDDELETED', "古いアバター画像は上書きされます。"); define('_US_PASSNOTSAME', "パスワードが正しくありません。同じパスワードを二度入力してください。"); From tom_g3x @ users.sourceforge.jp Thu Feb 2 14:34:19 2006 From: tom_g3x @ users.sourceforge.jp (Tom Hayakawa) Date: Thu, 2 Feb 2006 14:34:19 +0900 Subject: [xoops-cvslog 2041] CVS update: xoops2jp/html/modules/user/templates Message-ID: <20060202053419.CE20C2AC085@users.sourceforge.jp> Index: xoops2jp/html/modules/user/templates/user_register_form.html diff -u xoops2jp/html/modules/user/templates/user_register_form.html:1.1.2.3 xoops2jp/html/modules/user/templates/user_register_form.html:1.1.2.4 --- xoops2jp/html/modules/user/templates/user_register_form.html:1.1.2.3 Wed Jan 18 02:26:36 2006 +++ xoops2jp/html/modules/user/templates/user_register_form.html Thu Feb 2 14:34:19 2006 @@ -1,73 +1,69 @@ <{if $actionForm->hasError()}> - + <{/if}> +
- <{xoops_token form=$actionForm}> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <{if $enableAgree}> - - - - - <{/if}> - - - - -
<{$smarty.const._US_USERREG}>
<{$smarty.const._US_NICKNAME}>"> - <{xoops_input name=uname}> -
<{$smarty.const._US_EMAIL}>"> - <{xoops_input name=email size=30 maxlength=60}>
- <{xoops_input type=checkbox name=user_viewemail value=1 default=$actionForm->get('user_viewemail')}> - <{$smarty.const._US_ALLOWVIEWEMAIL}> -
<{$smarty.const._US_WEBSITE}>"> - <{xoops_input name=url size=30 maxlength=100}> -
<{$smarty.const._MD_USER_LANG_TIMEZONE_OFFSET}>"> - -
<{$smarty.const._US_PASSWORD}>"> - <{xoops_input type=password name=pass value=$actionForm->get('pass') size=10 maxlength=32}> -
<{$smarty.const._US_VERIFYPASS}>"> - <{xoops_input type=password name=vpass value=$actionForm->get('vpass') size=10 maxlength=32}> -
<{$smarty.const._US_DISCLAIMER}>"> - <{xoops_textarea name=disclaimer rows=8 cols=50 readonly=true value=$disclaimer}> -
- <{xoops_input type=checkbox name=agree value=1 default=$actionForm->get('agree')}><{$smarty.const._US_IAGREE}> -
 "> - -
+<{xoops_token form=$actionForm}> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <{if $enableAgree}> + + + + + <{/if}> + + + +
<{$smarty.const._US_USERREG}>
<{$smarty.const._US_NICKNAME}>"><{xoops_input name=uname}>
<{$smarty.const._US_EMAIL}>"> + <{xoops_input name=email size=30 maxlength=60}>
+ <{xoops_input type=checkbox name=user_viewemail value=1 default=$actionForm->get('user_viewemail')}> + <{$smarty.const._US_ALLOWVIEWEMAIL}> +
<{$smarty.const._US_WEBSITE}>"><{xoops_input name=url size=30 maxlength=100}>
<{$smarty.const._MD_USER_LANG_TIMEZONE_OFFSET}>"> + +
<{$smarty.const._US_PASSWORD}>"> + <{xoops_input type=password name=pass value=$actionForm->get('pass') size=10 maxlength=32}> +
<{$smarty.const._US_VERIFYPASS}>"> + <{xoops_input type=password name=vpass value=$actionForm->get('vpass') size=10 maxlength=32}> +
<{$smarty.const._US_DISCLAIMER}>"> + <{xoops_textarea name=disclaimer rows=8 cols=50 readonly=true value=$disclaimer}>
+ <{xoops_input type=checkbox name=agree value=1 default=$actionForm->get('agree')}> + <{$smarty.const._US_IAGREE}> +
+ +
Index: xoops2jp/html/modules/user/templates/user_edituser.html diff -u xoops2jp/html/modules/user/templates/user_edituser.html:1.1.2.4 xoops2jp/html/modules/user/templates/user_edituser.html:1.1.2.5 --- xoops2jp/html/modules/user/templates/user_edituser.html:1.1.2.4 Thu Jan 19 21:10:01 2006 +++ xoops2jp/html/modules/user/templates/user_edituser.html Thu Feb 2 14:34:19 2006 @@ -1,116 +1,122 @@ -<{$smarty.const._US_PROFILE}> »» <{$smarty.const._US_EDITPROFILE}>

+
+<{$smarty.const._US_PROFILE}>»» <{$smarty.const._US_EDITPROFILE}> +
+ <{if $actionForm->hasError()}> - + <{/if}> +
- <{xoops_token form=$actionForm}> - <{xoops_input name=uid type=hidden value=$actionForm->get('uid')}> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<{$smarty.const._US_EDITPROFILE}>
<{$smarty.const._US_NICKNAME}>"><{$thisUser->getVar('uname')}>
<{$smarty.const._US_REALNAME}>"> - <{xoops_input name=name size=30 maxlength=60 value=$actionForm->getVar('name')}> -
<{$smarty.const._US_EMAIL}>"> - <{xoops_input name=email size=30 maxlength=60 value=$actionForm->getVar('email')}>
- getVar('user_viewemail')}>checked<{/if}> /> - <{$smarty.const._US_ALLOWVIEWEMAIL}> -
<{$smarty.const._US_WEBSITE}>"> - <{xoops_input name=url size=30 maxlength=100 value=$actionForm->getVar('url')}> -
<{$smarty.const._US_ICQ}>"> - <{xoops_input name=user_icq size=15 maxlength=15 value=$actionForm->getVar('user_icq')}> -
<{$smarty.const._US_AIM}>"> - <{xoops_input name=user_aim size=18 maxlength=18 value=$actionForm->getVar('user_aim')}> -
<{$smarty.const._US_YIM}>"> - <{xoops_input name=user_yim size=25 maxlength=25 value=$actionForm->getVar('user_yim')}> -
<{$smarty.const._US_MSNM}>"> - <{xoops_input name=user_msnm size=30 maxlength=100 value=$actionForm->getVar('user_msnm')}> -
<{$smarty.const._US_LOCATION}>"> - <{xoops_input name=user_from size=30 maxlength=100 value=$actionForm->getVar('user_from')}> -
<{$smarty.const._US_OCCUPATION}>"> - <{xoops_input name=user_occ size=30 maxlength=100 value=$actionForm->getVar('user_occ')}> -
<{$smarty.const._US_INTEREST}>"> - <{xoops_input name=user_intrest size=30 maxlength=150 value=$actionForm->getVar('user_intrest')}> -
<{$smarty.const._US_SIGNATURE}>"> - <{xoops_dhtmltarea name=user_sig value=$actionForm->getVar('user_sig')}>
- getVar('attachsig')}>checked<{/if}> /> - <{$smarty.const._US_SHOWSIG}> -
<{$smarty.const._US_EXTRAINFO}>"> - <{xoops_textarea name=bio value=$actionForm->getVar('bio') rows=5 cols=50 id=bio}> -
<{$smarty.const._US_PASSWORD}>
<{$smarty.const._US_TYPEPASSTWICE}>
"> - <{xoops_input type=password name=pass size=10 maxlength=32 value=$actionForm->getVar('pass')}> - <{xoops_input type=password name=vpass size=10 maxlength=32 value=$actionForm->getVar('vpass')}> -
<{$smarty.const._US_MAILOK}>"> - getVar('user_mailok')==1}>checked<{/if}> />YES - getVar('user_mailok')==0}>checked<{/if}> />NO -
 "> - -
+<{xoops_token form=$actionForm}> +<{xoops_input name=uid type=hidden value=$actionForm->get('uid')}> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
<{$smarty.const._US_EDITPROFILE}>
<{$smarty.const._US_NICKNAME}>"><{$thisUser->getVar('uname')}>
<{$smarty.const._US_REALNAME}>"> + <{xoops_input name=name size=30 maxlength=60 value=$actionForm->getVar('name')}> +
<{$smarty.const._US_EMAIL}>"> + <{xoops_input name=email size=30 maxlength=60 value=$actionForm->getVar('email')}>
+ getVar('user_viewemail')}>checked<{/if}> /><{$smarty.const._US_ALLOWVIEWEMAIL}> +
<{$smarty.const._US_WEBSITE}>"> + <{xoops_input name=url size=30 maxlength=100 value=$actionForm->getVar('url')}> +
<{$smarty.const._US_ICQ}>"> + <{xoops_input name=user_icq size=15 maxlength=15 value=$actionForm->getVar('user_icq')}> +
<{$smarty.const._US_AIM}>"> + <{xoops_input name=user_aim size=18 maxlength=18 value=$actionForm->getVar('user_aim')}> +
<{$smarty.const._US_YIM}>"> + <{xoops_input name=user_yim size=25 maxlength=25 value=$actionForm->getVar('user_yim')}> +
<{$smarty.const._US_MSNM}>"> + <{xoops_input name=user_msnm size=30 maxlength=100 value=$actionForm->getVar('user_msnm')}> +
<{$smarty.const._US_LOCATION}>"> + <{xoops_input name=user_from size=30 maxlength=100 value=$actionForm->getVar('user_from')}> +
<{$smarty.const._US_OCCUPATION}>"> + <{xoops_input name=user_occ size=30 maxlength=100 value=$actionForm->getVar('user_occ')}> +
<{$smarty.const._US_INTEREST}>"> + <{xoops_input name=user_intrest size=30 maxlength=150 value=$actionForm->getVar('user_intrest')}> +
<{$smarty.const._US_SIGNATURE}>"> + <{xoops_dhtmltarea name=user_sig value=$actionForm->getVar('user_sig')}>
+ getVar('attachsig')}>checked<{/if}> /><{$smarty.const._US_SHOWSIG}> +
<{$smarty.const._US_EXTRAINFO}>"> + <{xoops_textarea name=bio value=$actionForm->getVar('bio') rows=5 cols=50 id=bio}> +
<{$smarty.const._US_PASSWORD}>
+ <{$smarty.const._US_TYPEPASSTWICE}>
"> + <{xoops_input type=password name=pass size=10 maxlength=32 value=$actionForm->getVar('pass')}> + <{xoops_input type=password name=vpass size=10 maxlength=32 value=$actionForm->getVar('vpass')}> +
<{$smarty.const._US_MAILOK}>"> + getVar('user_mailok')==1}>checked<{/if}> /><{$smarty.const._YES}> + getVar('user_mailok')==0}>checked<{/if}> /><{$smarty.const._NO}> +
 "> + +
Index: xoops2jp/html/modules/user/templates/user_register_confirm.html diff -u xoops2jp/html/modules/user/templates/user_register_confirm.html:1.1.2.1 xoops2jp/html/modules/user/templates/user_register_confirm.html:1.1.2.2 --- xoops2jp/html/modules/user/templates/user_register_confirm.html:1.1.2.1 Tue Nov 8 21:13:05 2005 +++ xoops2jp/html/modules/user/templates/user_register_confirm.html Thu Feb 2 14:34:19 2006 @@ -1,20 +1,20 @@ - - - - - - - - - - - - - -
<{$smarty.const._US_NICKNAME}>"> - <{$registForm->getVar('uname')|escape}> -
<{$smarty.const._US_EMAIL}>"> - <{$registForm->getVar('email')|escape}> -
 "> - -
\ No newline at end of file + + + + + + + + + + + + + +
<{$smarty.const._US_NICKNAME}>"> + <{$registForm->getVar('uname')|escape}> +
<{$smarty.const._US_EMAIL}>"> + <{$registForm->getVar('email')|escape}> +
+ +
Index: xoops2jp/html/modules/user/templates/user_userinfo.html diff -u xoops2jp/html/modules/user/templates/user_userinfo.html:1.1.2.4 xoops2jp/html/modules/user/templates/user_userinfo.html:1.1.2.5 --- xoops2jp/html/modules/user/templates/user_userinfo.html:1.1.2.4 Thu Jan 26 20:18:37 2006 +++ xoops2jp/html/modules/user/templates/user_userinfo.html Thu Feb 2 14:34:19 2006 @@ -1,33 +1,12 @@ - -<{if $user_ownpage == true}> -
- - - - -
- - - <{if $user_candelete == true}> - - <{/if}> - -
-
- -<{elseif $xoops_isadmin != false}> -

- - - - -
- - - -
-

- +<{if $user_ownpage == true && $user_candelete == true}> +
+ <{$smarty.const._US_DELACCOUNT}> +
+<{elseif $xoops_isadmin == true}> +
+ <{$smarty.const._US_EDITPROFILE}> - + <{$smarty.const._US_DELACCOUNT}> +
<{/if}> @@ -36,15 +15,33 @@
- + + + <{if $user_ownpage == true}> + + + <{/if}> - + - + @@ -53,16 +50,18 @@ + + <{$smarty.const._SENDPMTO|replace:getVar('uname')}>" /> + <{$user_pmlink}> + @@ -101,30 +100,32 @@
<{$smarty.const._US_ALLABOUT|replace:"%s":$thisUser->getVar('uname')}> + <{$smarty.const._US_ALLABOUT|replace:"%s":$thisUser->getVar('uname')}> +
+ <{$smarty.const._US_EDITPROFILE}> +
<{$smarty.const._US_AVATAR}>Avatar + <{if $thisUser->getVar('user_avatar') != "blank.gif" }> + Avatar + <{else}> + No Avatar + <{/if}> + <{if $user_ownpage == true}> +
<{$smarty.const._MD_USER_LANG_AVATAR_EDIT}> + <{/if}> +
<{$smarty.const._US_REALNAME}><{$thisUser->getVar('name')}><{$thisUser->getVar('name')}>
<{$smarty.const._US_WEBSITE}>
<{$smarty.const._US_EMAIL}> - <{if $thisUser->getVar('user_viewemail') == 1 || $user_ownpage == true || $xoops_isadmin == true }> - <{mailto address=$thisUser->getVar('email') encode="javascript"}> - <{/if}> + <{if $thisUser->getVar('user_viewemail') == 1 || $user_ownpage == true || $xoops_isadmin == true }> + <{mailto address=$thisUser->getVar('email') encode="javascript"}> + <{/if}>
<{$smarty.const._US_PM}> - <{$smarty.const._SENDPMTO|replace:getVar('uname')}>" /> - <{$user_pmlink}>
<{$smarty.const._US_ICQ}> - + - + - + - + - +
<{$smarty.const._US_STATISTICS}><{$smarty.const._US_STATISTICS}>
<{$smarty.const._US_MEMBERSINCE}><{$thisUser->getVar('user_regdate')|xoops_formattimestamp:l}><{$thisUser->getVar('user_regdate')|xoops_formattimestamp:l}>
<{$smarty.const._US_RANK}>
- <{$rank->getVar('rank_title')}>
+
+ <{$rank->getVar('rank_title')}> +
<{$smarty.const._US_POSTS}><{$thisUser->getVar('posts')}><{$thisUser->getVar('posts')}>
<{$smarty.const._US_LASTLOGIN}><{$thisUser->getVar('last_login')|xoops_formattimestamp:l}><{$thisUser->getVar('last_login')|xoops_formattimestamp:l}>

- + @@ -150,4 +151,4 @@ <{/if}>

<{/foreach}> - + \ No newline at end of file Index: xoops2jp/html/modules/user/templates/user_avatar_edit.html diff -u xoops2jp/html/modules/user/templates/user_avatar_edit.html:1.1.2.1 xoops2jp/html/modules/user/templates/user_avatar_edit.html:1.1.2.2 --- xoops2jp/html/modules/user/templates/user_avatar_edit.html:1.1.2.1 Thu Jan 26 20:17:46 2006 +++ xoops2jp/html/modules/user/templates/user_avatar_edit.html Thu Feb 2 14:34:19 2006 @@ -1,3 +1,8 @@ +
+<{$smarty.const._US_PROFILE}>»» <{$smarty.const._MD_USER_LANG_AVATAR_EDIT}> +
+ <{if $allowUpload}> <{if $actionForm->hasError()}>
    @@ -6,37 +11,34 @@ <{/foreach}>
<{/if}> + <{xoops_token form=$actionForm}> <{xoops_input type=hidden name=uid value=$actionForm->getVar('uid')}> -
<{$smarty.const._US_SIGNATURE}><{$smarty.const._US_SIGNATURE}>
<{$user_signature}>
+
- - + - - + - - + - - + - - @@ -47,22 +49,20 @@ <{xoops_token form=$avatarSelectForm}> <{xoops_input type=hidden name=uid value=$avatarSelectForm->get('uid')}> -
<{$smarty.const._MD_USER_LANG_AVATAR_WIDTH}> - <{$avatarWidth}> - <{$smarty.const._MD_USER_LANG_AVATAR_EDIT}>
<{$smarty.const._MD_USER_LANG_AVATAR_HEIGHT}> - <{$avatarHeight}> + <{$smarty.const._MD_USER_LANG_AVATAR_WIDTH_HIGHT}>"> + <{$avatarWidth}> x <{$avatarHeight}> (px)
<{$smarty.const._MD_USER_LANG_AVATAR_MAXFILESIZE}> - <{$avatarMaxfilesize}> + <{$smarty.const._MD_USER_LANG_AVATAR_MAXFILESIZE}>"> + <{$avatarMaxfilesize|number_format}> (bytes)
<{$smarty.const._MD_USER_LANG_AVATAR}> - + <{$smarty.const._MD_USER_LANG_AVATAR}>"> +
<{$smarty.const._MD_USER_LANG_CONTROL}> +
- <{foreach item=obj from=$systemAvatars}> - - - -
- - - <{$obj->getVar('avatar_name')}> - + + + + + + <{foreach item=obj from=$systemAvatars}> + - - <{/foreach}> + <{cycle name="table" values=",,,,"}> + <{/foreach}> +
<{$smarty.const._MD_USER_LANG_AVATAR_LIST}>
" style="text-align:center;"> +
+ <{$obj->getVar('avatar_name')}>
-
-
-
<{xoops_pagenavi pagenavi=$pageNavi}>
+ \ No newline at end of file Index: xoops2jp/html/modules/user/templates/user_userform.html diff -u xoops2jp/html/modules/user/templates/user_userform.html:1.1.2.2 xoops2jp/html/modules/user/templates/user_userform.html:1.1.2.3 --- xoops2jp/html/modules/user/templates/user_userform.html:1.1.2.2 Wed Oct 26 01:47:15 2005 +++ xoops2jp/html/modules/user/templates/user_userform.html Thu Feb 2 14:34:19 2006 @@ -1,11 +1,11 @@
<{$smarty.const._LOGIN}> -
- <{$smarty.const._USERNAME}>
- <{$smarty.const._PASSWORD}>
- - - + + <{$smarty.const._USERNAME}>
+ <{$smarty.const._PASSWORD}>
+ + +
<{$smarty.const._US_NOTREGISTERED}>
@@ -16,7 +16,10 @@
<{$smarty.const._US_LOSTPASSWORD}>

<{$smarty.const._US_NOPROBLEM}>
-
- <{$smarty.const._US_YOUREMAIL}>    + + <{$smarty.const._US_YOUREMAIL}> +    + +
-
\ No newline at end of file +
Index: xoops2jp/html/modules/user/templates/user_default.html diff -u xoops2jp/html/modules/user/templates/user_default.html:1.1.2.2 xoops2jp/html/modules/user/templates/user_default.html:1.1.2.3 --- xoops2jp/html/modules/user/templates/user_default.html:1.1.2.2 Thu Jan 19 21:10:01 2006 +++ xoops2jp/html/modules/user/templates/user_default.html Thu Feb 2 14:34:19 2006 @@ -1,11 +1,29 @@ -
- <{$smarty.const._LOGIN}> -
- <{xoops_token form=$actionForm}> - <{$smarty.const._US_USERNAME}> : <{xoops_input name=uname size=26 maxlength=25 value="" }> - <{$smarty.const._US_PASSWORD}> : <{xoops_input type=password name=pass size=21 maxlength=32 value="" }> - -
-
<{$smarty.const._US_NOTREGISTERED}>
+
+ + + + + + + + + + + + + + + + + +
<{$smarty.const._LOGIN}>
<{$smarty.const._USERNAME}>"> + +
<{$smarty.const._PASSWORD}>"> + +
+ +
+
+ +
<{$smarty.const._US_NOTREGISTERED}>
-
Index: xoops2jp/html/modules/user/templates/user_lostpass.html diff -u xoops2jp/html/modules/user/templates/user_lostpass.html:1.1.2.2 xoops2jp/html/modules/user/templates/user_lostpass.html:1.1.2.3 --- xoops2jp/html/modules/user/templates/user_lostpass.html:1.1.2.2 Thu Jan 19 21:10:01 2006 +++ xoops2jp/html/modules/user/templates/user_lostpass.html Thu Feb 2 14:34:19 2006 @@ -6,12 +6,28 @@ <{/if}> -
- <{$smarty.const._US_LOSTPASSWORD}> -
<{$smarty.const._US_NOPROBLEM}>
-
- <{xoops_token form=$actionForm}> - <{xoops_input name=email value=$actionForm->get('email') size=34 maxlength=34}> - -
-
\ No newline at end of file +
+<{xoops_token form=$actionForm}> + + + + + + + + + + + + + + + +
<{$smarty.const._US_LOSTPASSWORD}>
"> + <{$smarty.const._US_NOPROBLEM}> +
<{$smarty.const._US_EMAIL}>"> + <{xoops_input name=email value=$actionForm->get('email') size=34 maxlength=34}> +
+ +
+
From tom_g3x @ users.sourceforge.jp Thu Feb 2 15:24:23 2006 From: tom_g3x @ users.sourceforge.jp (Tom Hayakawa) Date: Thu, 2 Feb 2006 15:24:23 +0900 Subject: [xoops-cvslog 2042] CVS update: xoops2jp/html/modules/base/templates Message-ID: <20060202062423.6C24E2AC03C@users.sourceforge.jp> Index: xoops2jp/html/modules/base/templates/legacy_misc_smilies.html diff -u xoops2jp/html/modules/base/templates/legacy_misc_smilies.html:1.1.2.1 xoops2jp/html/modules/base/templates/legacy_misc_smilies.html:1.1.2.2 --- xoops2jp/html/modules/base/templates/legacy_misc_smilies.html:1.1.2.1 Mon Dec 26 20:23:37 2005 +++ xoops2jp/html/modules/base/templates/legacy_misc_smilies.html Thu Feb 2 15:24:23 2006 @@ -6,29 +6,25 @@ } //--> - - - - - - - - - - <{foreach item=smile from=$smiles}> - "> - - - - - <{/foreach}> + +
- <{$smarty.const._MSC_SMILIES}> -
<{$smarty.const._MSC_CODE}><{$smarty.const._MSC_EMOTION}><{$smarty.const._IMAGE}>
- <{$smile.code}> - - <{$smile.emotion}> - - -
+ + + + + + + + + <{foreach item=smile from=$smiles}> + "> + + + + + <{/foreach}>
<{$smarty.const._MSC_SMILIES}>
<{$smarty.const._MSC_CODE}><{$smarty.const._MSC_EMOTION}><{$smarty.const._IMAGE}>
<{$smile.code}><{$smile.emotion}> + +
+ <{$smarty.const._MSC_CLICKASMILIE}> Index: xoops2jp/html/modules/base/templates/legacy_misc_ssllogin.html diff -u xoops2jp/html/modules/base/templates/legacy_misc_ssllogin.html:1.1.2.1 xoops2jp/html/modules/base/templates/legacy_misc_ssllogin.html:1.1.2.2 --- xoops2jp/html/modules/base/templates/legacy_misc_ssllogin.html:1.1.2.1 Mon Dec 26 20:23:37 2005 +++ xoops2jp/html/modules/base/templates/legacy_misc_ssllogin.html Thu Feb 2 15:24:23 2006 @@ -1,4 +1,4 @@ <{$message}>
- +
Index: xoops2jp/html/modules/base/templates/legacy_misc_online.html diff -u xoops2jp/html/modules/base/templates/legacy_misc_online.html:1.1.2.2 xoops2jp/html/modules/base/templates/legacy_misc_online.html:1.1.2.3 --- xoops2jp/html/modules/base/templates/legacy_misc_online.html:1.1.2.2 Mon Dec 26 21:13:26 2005 +++ xoops2jp/html/modules/base/templates/legacy_misc_online.html Thu Feb 2 15:24:23 2006 @@ -1,25 +1,28 @@ - - - - <{foreach item=user from=$onlineUsers}> - valign="middle" align="center"> - - - <{if $xoops_isadmin}> - - <{/if}> - - <{/foreach}> - +
<{$smarty.const._WHOSONLINE}>
- <{if $user.user}> - <{$user.user->getVar('uname')}> - <{else}> - GUEST - <{/if}> - - <{if $user.module}> - <{$user.module}> - <{/if}> - <{$user.onlineInfo.online_ip}>
+ + + + <{foreach item=user from=$onlineUsers}> + valign="middle" align="center"> + + + + + <{/foreach}>
<{$smarty.const._WHOSONLINE}>
+ <{if $user.user}> + <{$user.user->getVar('uname')}> + <{else}> + <{$smarty.const._GUEST}> + <{/if}> + + <{if $user.module}> + <{$user.module}> + <{/if}> + + <{if $xoops_isadmin}> + <{$user.onlineInfo.online_ip}> + <{/if}> +
+
Index: xoops2jp/html/modules/base/templates/legacy_misc_avatars.html diff -u xoops2jp/html/modules/base/templates/legacy_misc_avatars.html:1.1.2.1 xoops2jp/html/modules/base/templates/legacy_misc_avatars.html:1.1.2.2 --- xoops2jp/html/modules/base/templates/legacy_misc_avatars.html:1.1.2.1 Mon Dec 26 20:23:37 2005 +++ xoops2jp/html/modules/base/templates/legacy_misc_avatars.html Thu Feb 2 15:24:23 2006 @@ -11,17 +11,19 @@ } //--> +

<{$smarty.const._MSC_AVAVATARS}>

-
- - - <{foreach key=key item=avatar from=$avatarsList}> - <{if $key && $key is div by 8}><{/if}> - <{/foreach}> - -
- <{$avatar.avatarName}>
- <{$avatar.avatarName}>
- -
+ + + + <{foreach key=key item=avatar from=$avatarsList}> + + <{if $key && $key is div by 8}><{/if}> + <{/foreach}> + +
+ <{$avatar.avatarName}>
+ <{$avatar.avatarName}>
+ +
From minahito @ users.sourceforge.jp Thu Feb 2 17:10:17 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 17:10:17 +0900 Subject: [xoops-cvslog 2043] CVS update: xoops2jp/html/modules/user Message-ID: <20060202081017.C734A2AC01A@users.sourceforge.jp> 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 @@ - // -// ------------------------------------------------------------------------ // -// 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; - -?> + // +// ------------------------------------------------------------------------ // +// 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; + +?> From minahito @ users.sourceforge.jp Thu Feb 2 17:11:11 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 17:11:11 +0900 Subject: [xoops-cvslog 2044] CVS update: xoops2jp/html/modules/user/sql Message-ID: <20060202081111.7FD5F2AC01A@users.sourceforge.jp> Index: xoops2jp/html/modules/user/sql/mysql.sql diff -u xoops2jp/html/modules/user/sql/mysql.sql:1.1.2.1 xoops2jp/html/modules/user/sql/mysql.sql:removed --- xoops2jp/html/modules/user/sql/mysql.sql:1.1.2.1 Tue Jan 10 08:33:42 2006 +++ xoops2jp/html/modules/user/sql/mysql.sql Thu Feb 2 17:11:11 2006 @@ -1,23 +0,0 @@ -CREATE TABLE user_mailjob ( - `id` int(10) NOT NULL auto_increment, - `lastlogin` int(10) default NULL, - `lastlogin_flag` tinyint(1) NOT NULL default '0', - `mailok` tinyint(1) NOT NULL default '0', - `activeuser` tinyint(1) NOT NULL default '0', - `registdate` int(10) default '0', - `registdate_flag` tinyint(1) NOT NULL default '0', - `sender` varchar(255) default NULL, - `email` varchar(255) default NULL, - `subject` varchar(255) NOT NULL default '', - `body` text NOT NULL, - `by_pm` tinyint(1) NOT NULL default '0', - `by_email` tinyint(1) NOT NULL default '0', - PRIMARY KEY (`id`) -) TYPE=MyISAM; - -CREATE TABLE user_mailjob_link ( - `lid` int(10) NOT NULL auto_increment, - `id` int(10) NOT NULL default '0', - `uid` mediumint(8) NOT NULL default '0', - PRIMARY KEY (`lid`) -) TYPE=MyISAM; From minahito @ users.sourceforge.jp Thu Feb 2 17:12:08 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 17:12:08 +0900 Subject: [xoops-cvslog 2045] CVS update: xoops2jp/html/modules/user/admin/forms Message-ID: <20060202081208.9EC6D2AC01A@users.sourceforge.jp> Index: xoops2jp/html/modules/user/admin/forms/MailjobEditForm.class.php diff -u xoops2jp/html/modules/user/admin/forms/MailjobEditForm.class.php:1.1.2.1 xoops2jp/html/modules/user/admin/forms/MailjobEditForm.class.php:removed --- xoops2jp/html/modules/user/admin/forms/MailjobEditForm.class.php:1.1.2.1 Mon Jan 9 02:48:47 2006 +++ xoops2jp/html/modules/user/admin/forms/MailjobEditForm.class.php Thu Feb 2 17:12:08 2006 @@ -1,98 +0,0 @@ -mFormProperties['id'] =& new XCube_IntProperty('id'); - $this->mFormProperties['lastlogin'] =& new XCube_IntProperty('lastlogin'); - $this->mFormProperties['lastlogin_flag'] =& new XCube_BoolProperty('lastlogin_flag'); - $this->mFormProperties['mailok'] =& new XCube_BoolProperty('mailok'); - $this->mFormProperties['activeuser'] =& new XCube_BoolProperty('activeuser'); - $this->mFormProperties['registdate'] =& new XCube_IntProperty('registdate'); - $this->mFormProperties['registdate_flag'] =& new XCube_BoolProperty('registdate_flag'); - $this->mFormProperties['sender'] =& new XCube_StringProperty('sender'); - $this->mFormProperties['email'] =& new XCube_StringProperty('email'); - $this->mFormProperties['subject'] =& new XCube_StringProperty('subject'); - $this->mFormProperties['body'] =& new XCube_TextProperty('body'); - $this->mFormProperties['by_pm'] =& new XCube_BoolProperty('by_pm'); - $this->mFormProperties['by_email'] =& new XCube_BoolProperty('by_email'); - - // - // Set field properties - // - $this->mFieldProperties['id'] =& new XCube_FieldProperty($this); - $this->mFieldProperties['id']->setDependsByArray(array('required')); - $this->mFieldProperties['id']->addMessage('required', _AD_USER_ERROR_REQUIRED, _AD_USER_LANG_ID); - - $this->mFieldProperties['lastlogin'] =& new XCube_FieldProperty($this); - $this->mFieldProperties['lastlogin']->setDependsByArray(array('')); - - $this->mFieldProperties['registdate'] =& new XCube_FieldProperty($this); - $this->mFieldProperties['registdate']->setDependsByArray(array('')); - - $this->mFieldProperties['sender'] =& new XCube_FieldProperty($this); - $this->mFieldProperties['sender']->setDependsByArray(array('maxlength')); - $this->mFieldProperties['sender']->addMessage('maxlength', _AD_USER_ERROR_MAXLENGTH, '255'); - $this->mFieldProperties['sender']->addVar('maxlength', 255); - - $this->mFieldProperties['email'] =& new XCube_FieldProperty($this); - $this->mFieldProperties['email']->setDependsByArray(array('maxlength')); - $this->mFieldProperties['email']->addMessage('maxlength', _AD_USER_ERROR_MAXLENGTH, '255'); - $this->mFieldProperties['email']->addVar('maxlength', 255); - - $this->mFieldProperties['subject'] =& new XCube_FieldProperty($this); - $this->mFieldProperties['subject']->setDependsByArray(array('required','maxlength')); - $this->mFieldProperties['subject']->addMessage('required', _AD_USER_ERROR_REQUIRED, _AD_USER_LANG_SUBJECT, '255'); - $this->mFieldProperties['subject']->addMessage('maxlength', _AD_USER_ERROR_MAXLENGTH, _AD_USER_LANG_SUBJECT, '255'); - $this->mFieldProperties['subject']->addVar('maxlength', 255); - - $this->mFieldProperties['body'] =& new XCube_FieldProperty($this); - $this->mFieldProperties['body']->setDependsByArray(array('required')); - $this->mFieldProperties['body']->addMessage('required', _AD_USER_ERROR_REQUIRED, _AD_USER_LANG_BODY); - } - - function load(&$obj) - { - $this->setVar('id', $obj->get('id')); - $this->setVar('lastlogin', $obj->get('lastlogin')); - $this->setVar('lastlogin_flag', $obj->get('lastlogin_flag')); - $this->setVar('mailok', $obj->get('mailok')); - $this->setVar('activeuser', $obj->get('activeuser')); - $this->setVar('registdate', $obj->get('registdate')); - $this->setVar('registdate_flag', $obj->get('registdate_flag')); - $this->setVar('sender', $obj->get('sender')); - $this->setVar('email', $obj->get('email')); - $this->setVar('subject', $obj->get('subject')); - $this->setVar('body', $obj->get('body')); - $this->setVar('by_pm', $obj->get('by_pm')); - $this->setVar('by_email', $obj->get('by_email')); - } - - function update(&$obj) - { - $obj->setVar('id', $this->get('id')); - $obj->setVar('lastlogin', $this->get('lastlogin')); - $obj->setVar('lastlogin_flag', $this->get('lastlogin_flag')); - $obj->setVar('mailok', $this->get('mailok')); - $obj->setVar('activeuser', $this->get('activeuser')); - $obj->setVar('registdate', $this->get('registdate')); - $obj->setVar('registdate_flag', $this->get('registdate_flag')); - $obj->setVar('sender', $this->get('sender')); - $obj->setVar('email', $this->get('email')); - $obj->setVar('subject', $this->get('subject')); - $obj->setVar('body', $this->get('body')); - $obj->setVar('by_pm', $this->get('by_pm')); - $obj->setVar('by_email', $this->get('by_email')); - } -} - -?> Index: xoops2jp/html/modules/user/admin/forms/MailjobFilterForm.class.php diff -u xoops2jp/html/modules/user/admin/forms/MailjobFilterForm.class.php:1.1.2.1 xoops2jp/html/modules/user/admin/forms/MailjobFilterForm.class.php:removed --- xoops2jp/html/modules/user/admin/forms/MailjobFilterForm.class.php:1.1.2.1 Wed Jan 11 20:52:36 2006 +++ xoops2jp/html/modules/user/admin/forms/MailjobFilterForm.class.php Thu Feb 2 17:12:08 2006 @@ -1,127 +0,0 @@ - 'id', - MAILJOB_SORT_KEY_ID => 'id', - MAILJOB_SORT_KEY_LASTLOGIN => 'lastlogin', - MAILJOB_SORT_KEY_LASTLOGIN_FLAG => 'lastlogin_flag', - MAILJOB_SORT_KEY_MAILOK => 'mailok', - MAILJOB_SORT_KEY_ACTIVEUSER => 'activeuser', - MAILJOB_SORT_KEY_REGISTDATE => 'registdate', - MAILJOB_SORT_KEY_REGISTDATE_FLAG => 'registdate_flag', - MAILJOB_SORT_KEY_SENDER => 'sender', - MAILJOB_SORT_KEY_EMAIL => 'email', - MAILJOB_SORT_KEY_SUBJECT => 'subject', - MAILJOB_SORT_KEY_BODY => 'body', - MAILJOB_SORT_KEY_BY_PM => 'by_pm', - MAILJOB_SORT_KEY_BY_EMAIL => 'by_email' - ); - var $_mCriteria = null; - - function User_MailjobFilterForm() - { - $this->_mCriteria =& new CriteriaCompo(); - } - - function fetch() - { - $this->mSort = isset($_REQUEST['sort']) ? intval($_REQUEST['sort']) : 0; - - if ($this->mSort > MAILJOB_SORT_KEY_MAXVALUE) { - $this->mSort = MAILJOB_SORT_KEY_DEFAULT; - } - - if (isset($_REQUEST['id'])) { - $this->_mCriteria->add(new Criteria('id', array(XOBJ_DTYPE_INT, xoops_getrequest('id')))); - } - - if (isset($_REQUEST['lastlogin'])) { - $this->_mCriteria->add(new Criteria('lastlogin', array(XOBJ_DTYPE_INT, xoops_getrequest('lastlogin')))); - } - - if (isset($_REQUEST['lastlogin_flag'])) { - $this->_mCriteria->add(new Criteria('lastlogin_flag', array(XOBJ_DTYPE_BOOL, xoops_getrequest('lastlogin_flag')))); - } - - if (isset($_REQUEST['mailok'])) { - $this->_mCriteria->add(new Criteria('mailok', array(XOBJ_DTYPE_BOOL, xoops_getrequest('mailok')))); - } - - if (isset($_REQUEST['activeuser'])) { - $this->_mCriteria->add(new Criteria('activeuser', array(XOBJ_DTYPE_BOOL, xoops_getrequest('activeuser')))); - } - - if (isset($_REQUEST['registdate'])) { - $this->_mCriteria->add(new Criteria('registdate', array(XOBJ_DTYPE_INT, xoops_getrequest('registdate')))); - } - - if (isset($_REQUEST['registdate_flag'])) { - $this->_mCriteria->add(new Criteria('registdate_flag', array(XOBJ_DTYPE_BOOL, xoops_getrequest('registdate_flag')))); - } - - if (isset($_REQUEST['sender'])) { - $this->_mCriteria->add(new Criteria('sender', array(XOBJ_DTYPE_STRING, xoops_getrequest('sender')))); - } - - if (isset($_REQUEST['email'])) { - $this->_mCriteria->add(new Criteria('email', array(XOBJ_DTYPE_STRING, xoops_getrequest('email')))); - } - - if (isset($_REQUEST['subject'])) { - $this->_mCriteria->add(new Criteria('subject', array(XOBJ_DTYPE_STRING, xoops_getrequest('subject')))); - } - - if (isset($_REQUEST['by_pm'])) { - $this->_mCriteria->add(new Criteria('by_pm', array(XOBJ_DTYPE_BOOL, xoops_getrequest('by_pm')))); - } - - if (isset($_REQUEST['by_email'])) { - $this->_mCriteria->add(new Criteria('by_email', array(XOBJ_DTYPE_BOOL, xoops_getrequest('by_email')))); - } - } - - function getSort() - { - $sortkey = abs($this->mSort); - return $this->_mSortKeys[$sortkey]; - } - - function getOrder() - { - return ($this->mSort < 0) ? "DESC" : "ASC"; - } - - function getCriteria($start = 0, $limit = 0) - { - $criteria = $this->_mCriteria; - - $criteria->setStart($start); - $criteria->setLimit($limit); - - $criteria->setSort($this->getSort()); - $criteria->setOrder($this->getOrder()); - - return $criteria; - } -} - -?> From minahito @ users.sourceforge.jp Thu Feb 2 17:12:15 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 17:12:15 +0900 Subject: [xoops-cvslog 2046] CVS update: xoops2jp/html/modules/user/admin/templates Message-ID: <20060202081215.3AD522AC01A@users.sourceforge.jp> Index: xoops2jp/html/modules/user/admin/templates/mailjob_edit.html diff -u xoops2jp/html/modules/user/admin/templates/mailjob_edit.html:1.1.2.2 xoops2jp/html/modules/user/admin/templates/mailjob_edit.html:removed --- xoops2jp/html/modules/user/admin/templates/mailjob_edit.html:1.1.2.2 Mon Jan 9 02:55:00 2006 +++ xoops2jp/html/modules/user/admin/templates/mailjob_edit.html Thu Feb 2 17:12:15 2006 @@ -1,89 +0,0 @@ -<{if $actionForm->hasError()}> -
    - <{foreach item=message from=$actionForm->getErrorMessages()}> -
  • <{$message|escape}>
  • - <{/foreach}> -
-<{/if}> -
- <{xoops_input type=hidden name=id value=$actionForm->getVar('id')}> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<{$smarty.const._AD_USER_LANG_LASTLOGIN}>"> - <{xoops_input type=text name=lastlogin value=$actionForm->getVar('lastlogin')}> -
<{$smarty.const._AD_USER_LANG_LASTLOGIN_FLAG}>"> - <{xoops_input type=checkbox name=lastlogin_flag value=1 default=$actionForm->getVar('lastlogin_flag')}> -
<{$smarty.const._AD_USER_LANG_MAILOK}>"> - <{xoops_input type=checkbox name=mailok value=1 default=$actionForm->getVar('mailok')}> -
<{$smarty.const._AD_USER_LANG_ACTIVEUSER}>"> - <{xoops_input type=checkbox name=activeuser value=1 default=$actionForm->getVar('activeuser')}> -
<{$smarty.const._AD_USER_LANG_REGISTDATE}>"> - <{xoops_input type=text name=registdate value=$actionForm->getVar('registdate')}> -
<{$smarty.const._AD_USER_LANG_REGISTDATE_FLAG}>"> - <{xoops_input type=checkbox name=registdate_flag value=1 default=$actionForm->getVar('registdate_flag')}> -
<{$smarty.const._AD_USER_LANG_SENDER}>"> - <{xoops_input type=text name=sender value=$actionForm->getVar('sender') size=15 maxlength=255}> -
<{$smarty.const._AD_USER_LANG_EMAIL}>"> - <{xoops_input type=text name=email value=$actionForm->getVar('email') size=15 maxlength=255}> -
<{$smarty.const._AD_USER_LANG_SUBJECT}>"> - <{xoops_input type=text name=subject value=$actionForm->getVar('subject') size=15 maxlength=255}> -
<{$smarty.const._AD_USER_LANG_BODY}>"> - <{xoops_textarea type=text name=body value=$actionForm->getVar('body')}> -
<{$smarty.const._AD_USER_LANG_BY_PM}>"> - <{xoops_input type=checkbox name=by_pm value=1 default=$actionForm->getVar('by_pm')}> -
<{$smarty.const._AD_USER_LANG_BY_EMAIL}>"> - <{xoops_input type=checkbox name=by_email value=1 default=$actionForm->getVar('by_email')}> -
- -
-
Index: xoops2jp/html/modules/user/admin/templates/mailjob_list.html diff -u xoops2jp/html/modules/user/admin/templates/mailjob_list.html:1.1.2.1 xoops2jp/html/modules/user/admin/templates/mailjob_list.html:removed --- xoops2jp/html/modules/user/admin/templates/mailjob_list.html:1.1.2.1 Wed Jan 11 20:53:02 2006 +++ xoops2jp/html/modules/user/admin/templates/mailjob_list.html Thu Feb 2 17:12:15 2006 @@ -1,62 +0,0 @@ - - - - - - - - - - - - - - - - - <{foreach item=obj from=$objects}> - - - - - - - - - - - - - - - - <{/foreach}> -
<{$smarty.const._AD_USER_LANG_ID}>
- " alt="<{$smarty.const._ASCENDING}>" /> - " alt="<{$smarty.const._DESCENDING}>" />
<{$smarty.const._AD_USER_LANG_LASTLOGIN}>
- " alt="<{$smarty.const._ASCENDING}>" /> - " alt="<{$smarty.const._DESCENDING}>" />
<{$smarty.const._AD_USER_LANG_LASTLOGIN_FLAG}>
- " alt="<{$smarty.const._ASCENDING}>" /> - " alt="<{$smarty.const._DESCENDING}>" />
<{$smarty.const._AD_USER_LANG_MAILOK}>
- " alt="<{$smarty.const._ASCENDING}>" /> - " alt="<{$smarty.const._DESCENDING}>" />
<{$smarty.const._AD_USER_LANG_ACTIVEUSER}>
- " alt="<{$smarty.const._ASCENDING}>" /> - " alt="<{$smarty.const._DESCENDING}>" />
<{$smarty.const._AD_USER_LANG_REGISTDATE}>
- " alt="<{$smarty.const._ASCENDING}>" /> - " alt="<{$smarty.const._DESCENDING}>" />
<{$smarty.const._AD_USER_LANG_REGISTDATE_FLAG}>
- " alt="<{$smarty.const._ASCENDING}>" /> - " alt="<{$smarty.const._DESCENDING}>" />
<{$smarty.const._AD_USER_LANG_SENDER}>
- " alt="<{$smarty.const._ASCENDING}>" /> - " alt="<{$smarty.const._DESCENDING}>" />
<{$smarty.const._AD_USER_LANG_EMAIL}>
- " alt="<{$smarty.const._ASCENDING}>" /> - " alt="<{$smarty.const._DESCENDING}>" />
<{$smarty.const._AD_USER_LANG_SUBJECT}>
- " alt="<{$smarty.const._ASCENDING}>" /> - " alt="<{$smarty.const._DESCENDING}>" />
<{$smarty.const._AD_USER_LANG_BODY}>
- " alt="<{$smarty.const._ASCENDING}>" /> - " alt="<{$smarty.const._DESCENDING}>" />
<{$smarty.const._AD_USER_LANG_BY_PM}>
- " alt="<{$smarty.const._ASCENDING}>" /> - " alt="<{$smarty.const._DESCENDING}>" />
<{$smarty.const._AD_USER_LANG_BY_EMAIL}>
- " alt="<{$smarty.const._ASCENDING}>" /> - " alt="<{$smarty.const._DESCENDING}>" />
<{$obj->getVar('id')}><{$obj->getVar('lastlogin')}><{$obj->getVar('lastlogin_flag')}><{$obj->getVar('mailok')}><{$obj->getVar('activeuser')}><{$obj->getVar('registdate')}><{$obj->getVar('registdate_flag')}><{$obj->getVar('sender')}><{$obj->getVar('email')}><{$obj->getVar('subject')}><{$obj->getVar('body')}><{$obj->getVar('by_pm')}><{$obj->getVar('by_email')}>
-
-
<{xoops_pagenavi pagenavi=$pageNavi}>
From minahito @ users.sourceforge.jp Thu Feb 2 17:35:02 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 17:35:02 +0900 Subject: [xoops-cvslog 2047] CVS update: xoops2jp/html/modules/user/admin/forms Message-ID: <20060202083504.7EB672AC013@users.sourceforge.jp> Index: xoops2jp/html/modules/user/admin/forms/UserAdminEditForm.class.php diff -u xoops2jp/html/modules/user/admin/forms/UserAdminEditForm.class.php:1.1.2.5 xoops2jp/html/modules/user/admin/forms/UserAdminEditForm.class.php:1.1.2.6 --- xoops2jp/html/modules/user/admin/forms/UserAdminEditForm.class.php:1.1.2.5 Thu Jan 19 21:07:59 2006 +++ xoops2jp/html/modules/user/admin/forms/UserAdminEditForm.class.php Thu Feb 2 17:35:02 2006 @@ -224,32 +224,32 @@ function load(&$obj) { - $this->setVar('uid', $obj->get('uid')); - $this->setVar('name', $obj->get('name')); - $this->setVar('uname', $obj->get('uname')); - $this->setVar('email', $obj->get('email')); - $this->setVar('url', $obj->get('url')); - $this->setVar('user_icq', $obj->get('user_icq')); - $this->setVar('user_from', $obj->get('user_from')); - $this->setVar('user_sig', $obj->get('user_sig')); - $this->setVar('user_viewemail', $obj->get('user_viewemail')); - $this->setVar('user_aim', $obj->get('user_aim')); - $this->setVar('user_yim', $obj->get('user_yim')); - $this->setVar('user_msnm', $obj->get('user_msnm')); - - $this->setVar('posts', $obj->get('posts')); - $this->setVar('attachsig', $obj->get('attachsig')); - $this->setVar('rank', $obj->get('rank')); - $this->setVar('level', $obj->get('level')); - $this->setVar('timezone_offset', $obj->get('timezone_offset')); - $this->setVar('umode', $obj->get('umode')); - $this->setVar('uorder', $obj->get('uorder')); - $this->setVar('notify_method', $obj->get('notify_method')); - $this->setVar('notify_mode', $obj->get('notify_mode')); - $this->setVar('user_occ', $obj->get('user_occ')); - $this->setVar('bio', $obj->get('bio')); - $this->setVar('user_intrest', $obj->get('user_intrest')); - $this->setVar('user_mailok', $obj->get('user_mailok')); + $this->set('uid', $obj->get('uid')); + $this->set('name', $obj->get('name')); + $this->set('uname', $obj->get('uname')); + $this->set('email', $obj->get('email')); + $this->set('url', $obj->get('url')); + $this->set('user_icq', $obj->get('user_icq')); + $this->set('user_from', $obj->get('user_from')); + $this->set('user_sig', $obj->get('user_sig')); + $this->set('user_viewemail', $obj->get('user_viewemail')); + $this->set('user_aim', $obj->get('user_aim')); + $this->set('user_yim', $obj->get('user_yim')); + $this->set('user_msnm', $obj->get('user_msnm')); + + $this->set('posts', $obj->get('posts')); + $this->set('attachsig', $obj->get('attachsig')); + $this->set('rank', $obj->get('rank')); + $this->set('level', $obj->get('level')); + $this->set('timezone_offset', $obj->get('timezone_offset')); + $this->set('umode', $obj->get('umode')); + $this->set('uorder', $obj->get('uorder')); + $this->set('notify_method', $obj->get('notify_method')); + $this->set('notify_mode', $obj->get('notify_mode')); + $this->set('user_occ', $obj->get('user_occ')); + $this->set('bio', $obj->get('bio')); + $this->set('user_intrest', $obj->get('user_intrest')); + $this->set('user_mailok', $obj->get('user_mailok')); $this->_mIsNew = $obj->isNew(); Index: xoops2jp/html/modules/user/admin/forms/UserAdminDeleteForm.class.php diff -u xoops2jp/html/modules/user/admin/forms/UserAdminDeleteForm.class.php:1.1.2.1 xoops2jp/html/modules/user/admin/forms/UserAdminDeleteForm.class.php:1.1.2.2 --- xoops2jp/html/modules/user/admin/forms/UserAdminDeleteForm.class.php:1.1.2.1 Thu Jan 19 21:07:45 2006 +++ xoops2jp/html/modules/user/admin/forms/UserAdminDeleteForm.class.php Thu Feb 2 17:35:02 2006 @@ -29,7 +29,7 @@ function load(&$obj) { - $this->setVar('uid', $obj->get('uid')); + $this->set('uid', $obj->get('uid')); } function update(&$obj) Index: xoops2jp/html/modules/user/admin/forms/RanksAdminDeleteForm.class.php diff -u xoops2jp/html/modules/user/admin/forms/RanksAdminDeleteForm.class.php:1.1.2.1 xoops2jp/html/modules/user/admin/forms/RanksAdminDeleteForm.class.php:1.1.2.2 --- xoops2jp/html/modules/user/admin/forms/RanksAdminDeleteForm.class.php:1.1.2.1 Thu Jan 19 21:07:36 2006 +++ xoops2jp/html/modules/user/admin/forms/RanksAdminDeleteForm.class.php Thu Feb 2 17:35:02 2006 @@ -29,7 +29,7 @@ function load(&$obj) { - $this->setVar('rank_id', $obj->get('rank_id')); + $this->set('rank_id', $obj->get('rank_id')); } function update(&$obj) Index: xoops2jp/html/modules/user/admin/forms/GroupAdminDeleteForm.class.php diff -u xoops2jp/html/modules/user/admin/forms/GroupAdminDeleteForm.class.php:1.1.2.1 xoops2jp/html/modules/user/admin/forms/GroupAdminDeleteForm.class.php:1.1.2.2 --- xoops2jp/html/modules/user/admin/forms/GroupAdminDeleteForm.class.php:1.1.2.1 Thu Jan 19 21:07:26 2006 +++ xoops2jp/html/modules/user/admin/forms/GroupAdminDeleteForm.class.php Thu Feb 2 17:35:02 2006 @@ -29,7 +29,7 @@ function load(&$obj) { - $this->setVar('groupid', $obj->get('groupid')); + $this->set('groupid', $obj->get('groupid')); } function update(&$obj) Index: xoops2jp/html/modules/user/admin/forms/AvatarAdminDeleteForm.class.php diff -u xoops2jp/html/modules/user/admin/forms/AvatarAdminDeleteForm.class.php:1.1.2.1 xoops2jp/html/modules/user/admin/forms/AvatarAdminDeleteForm.class.php:1.1.2.2 --- xoops2jp/html/modules/user/admin/forms/AvatarAdminDeleteForm.class.php:1.1.2.1 Thu Jan 19 21:07:26 2006 +++ xoops2jp/html/modules/user/admin/forms/AvatarAdminDeleteForm.class.php Thu Feb 2 17:35:02 2006 @@ -29,7 +29,7 @@ function load(&$obj) { - $this->setVar('avatar_id', $obj->get('avatar_id')); + $this->set('avatar_id', $obj->get('avatar_id')); } function update(&$obj) From minahito @ users.sourceforge.jp Thu Feb 2 17:35:27 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 17:35:27 +0900 Subject: [xoops-cvslog 2048] CVS update: xoops2jp/html/modules/user/admin/forms Message-ID: <20060202083527.B9B422AC013@users.sourceforge.jp> 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) From minahito @ users.sourceforge.jp Thu Feb 2 17:35:33 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 17:35:33 +0900 Subject: [xoops-cvslog 2049] CVS update: xoops2jp/html/modules/user/admin/forms Message-ID: <20060202083533.DF9322AC013@users.sourceforge.jp> Index: xoops2jp/html/modules/user/admin/forms/RankEditForm.class.php diff -u xoops2jp/html/modules/user/admin/forms/RankEditForm.class.php:1.1.2.4 xoops2jp/html/modules/user/admin/forms/RankEditForm.class.php:removed --- xoops2jp/html/modules/user/admin/forms/RankEditForm.class.php:1.1.2.4 Sun Jan 8 23:02:29 2006 +++ xoops2jp/html/modules/user/admin/forms/RankEditForm.class.php Thu Feb 2 17:35:33 2006 @@ -1,131 +0,0 @@ -mImageFile = new UserFormFile('rank_image'); - } - - function prepare() - { - // set properties - $this->mFormProperties['rank_id']=new XCube_IntProperty('rank_id'); - $this->mFormProperties['rank_title']=new XCube_StringProperty('rank_title'); - $this->mFormProperties['rank_min']=new XCube_IntProperty('rank_min'); - $this->mFormProperties['rank_max']=new XCube_IntProperty('rank_max'); - $this->mFormProperties['rank_special']=new XCube_IntProperty('rank_special'); - - // set fields - $this->mFieldProperties['rank_title']=new XCube_FieldProperty($this); - $this->mFieldProperties['rank_title']->setDependsByArray(array('required','maxlength')); - $this->mFieldProperties['rank_title']->addMessage("required",_AD_USER_ERROR_REQUIRED,_AD_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",_AD_USER_ERROR_REQUIRED,_AD_USER_LANG_RANK_MIN,"0"); - $this->mFieldProperties['rank_min']->addMessage("min",_AD_USER_ERROR_MIN,_AD_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",_AD_USER_ERROR_REQUIRED,_AD_USER_LANG_RANK_MAX,"0"); - $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_special']=new XCube_FieldProperty($this); - $this->mFieldProperties['rank_special']->setDependsByArray(array('intRange')); - $this->mFieldProperties['rank_special']->addMessage("intRange",_AD_USER_ERROR_INJURY_SPECIAL); - $this->mFieldProperties['rank_special']->addVar("min",0); - $this->mFieldProperties['rank_special']->addVar("max",1); - } - - function fetch() - { - parent::fetch(); - $this->mImageFile->fetch(); - } - - function validate() - { - parent::validate(); - if($this->getVar('max')<$this->getVar('min')) { - $this->addErrorMessage(_AD_USER_ERROR_INJURY_MIN_MAX); - } - - // - // Check file - // - if($this->mImageFile->hasUploadFile()) { - // - // Add code - // - if(!$this->mImageFile->checkFormat()) - $this->addErrorMessage(_AD_USER_ERROR_WRONG_FORMAT); - } - elseif(!$this->hasError() && $this->mImageFileName==null) { - // - // If we have no filename and no file uploaded, the validation is error. - // - $this->addErrorMessage(_AD_USER_ERROR_NO_UPLOAD_FILE); - } - } - - /** - * @param $master UserRankObject - */ - function load(&$master) - { - $this->setVar('rank_id',$master->getProperty('rank_id')); - $this->setVar('rank_title',$master->getProperty('rank_title')); - $this->setVar('rank_min',$master->getProperty('rank_min')); - $this->setVar('rank_max',$master->getProperty('rank_max')); - $this->setVar('rank_special',$master->getProperty('rank_special')); - - // - // We set master.rankimage to original property. - // - $this->mImageFileName=$master->getProperty('rank_image'); - } - - /** - * @param $master UserRankObject - */ - function update(&$master) - { - $master->setVar('rank_id',$this->getVar('rank_id')); - $master->setVar('rank_title',$this->getVar('rank_title')); - $master->setVar('rank_min',$this->getVar('rank_min')); - $master->setVar('rank_max',$this->getVar('rank_max')); - $master->setVar('rank_special',$this->getVar('rank_special')); - - if($this->mImageFile->hasUploadFile()) { - // TODO Check error - $this->mImageFile->saveAsRandBody(XOOPS_UPLOAD_PATH,"rank"); - $master->setVar('rank_image',$this->mImageFile->getFileName()); - } - else { - $master->setVar('rank_image',$this->mImageFileName); - } - } -} - - -?> From minahito @ users.sourceforge.jp Thu Feb 2 17:35:43 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 17:35:43 +0900 Subject: [xoops-cvslog 2050] CVS update: xoops2jp/html/modules/user/admin/templates Message-ID: <20060202083543.AD7922AC013@users.sourceforge.jp> Index: xoops2jp/html/modules/user/admin/templates/avatar_edit.html diff -u xoops2jp/html/modules/user/admin/templates/avatar_edit.html:1.1.2.2 xoops2jp/html/modules/user/admin/templates/avatar_edit.html:1.1.2.3 --- xoops2jp/html/modules/user/admin/templates/avatar_edit.html:1.1.2.2 Tue Jan 31 14:32:07 2006 +++ xoops2jp/html/modules/user/admin/templates/avatar_edit.html Thu Feb 2 17:35:43 2006 @@ -2,14 +2,14 @@ <{$smarty.const._MI_USER_NAME}> »» <{$smarty.const._MI_USER_ADMENU_AVATAR_MANAGE}> »» - <{if $actionForm->getVar('avatar_id')}> + <{if $actionForm->get('avatar_id')}> <{$smarty.const._AD_USER_LANG_AVATAR_EDIT}> <{else}> <{$smarty.const._AD_USER_LANG_AVATAR_NEW}> <{/if}> -<{if $actionForm->getVar('avatar_id')}> +<{if $actionForm->get('avatar_id')}>

<{$smarty.const._AD_USER_LANG_AVATAR_EDIT}>

<{else}>

<{$smarty.const._AD_USER_LANG_AVATAR_NEW}>

@@ -25,27 +25,27 @@
<{xoops_token form=$actionForm}> - <{xoops_input type=hidden name=avatar_id value=$actionForm->getVar('avatar_id')}> + <{xoops_input type=hidden name=avatar_id value=$actionForm->get('avatar_id')}> - <{if $actionForm->getVar('avatar_id')}> + <{if $actionForm->get('avatar_id')}> - + <{/if}> @@ -57,14 +57,14 @@ Index: xoops2jp/html/modules/user/admin/templates/group_edit.html diff -u xoops2jp/html/modules/user/admin/templates/group_edit.html:1.1.2.4 xoops2jp/html/modules/user/admin/templates/group_edit.html:1.1.2.5 --- xoops2jp/html/modules/user/admin/templates/group_edit.html:1.1.2.4 Tue Jan 31 14:32:07 2006 +++ xoops2jp/html/modules/user/admin/templates/group_edit.html Thu Feb 2 17:35:43 2006 @@ -2,14 +2,14 @@ <{$smarty.const._MI_USER_NAME}> »» <{$smarty.const._AD_USER_LANG_GROUP_LIST}> »» - <{if $actionForm->getVar('groupid') }> + <{if $actionForm->get('groupid') }> <{$smarty.const._AD_USER_LANG_GROUP_EDIT}> <{else}> <{$smarty.const._AD_USER_LANG_GROUP_NEW}> <{/if}> -<{if $actionForm->getVar('groupid') }> +<{if $actionForm->get('groupid') }>

<{$smarty.const._AD_USER_LANG_GROUP_EDIT}>

<{else}>

<{$smarty.const._AD_USER_LANG_GROUP_NEW}>

@@ -24,11 +24,12 @@ <{/if}> - <{xoops_input type=hidden name=groupid value=$actionForm->getVar('groupid')}> + <{xoops_token form=$actionForm}> + <{xoops_input type=hidden name=groupid value=$actionForm->get('groupid')}>
- <{if $actionForm->getVar('avatar_id')}> + <{if $actionForm->get('avatar_id')}> <{$smarty.const._AD_USER_LANG_AVATAR_EDIT}> <{else}> <{$smarty.const._AD_USER_LANG_AVATAR_NEW}> <{/if}>
<{$smarty.const._AD_USER_LANG_AVATAR_ID}>"><{$actionForm->getVar('avatar_id')}>"><{$actionForm->get('avatar_id')}>
<{$smarty.const._AD_USER_LANG_AVATAR_NAME}> "> - <{xoops_input type=text name=avatar_name value=$actionForm->getVar('avatar_name') size=15 maxlength=100}> + <{xoops_input type=text name=avatar_name value=$actionForm->get('avatar_name') size=15 maxlength=100}>
<{$smarty.const._AD_USER_LANG_AVATAR_DISPLAY}> "> - <{xoops_input type=radio name=avatar_display value=1 default=$actionForm->getVar('avatar_display')}><{$smarty.const._YES}> - <{xoops_input type=radio name=avatar_display value=0 default=$actionForm->getVar('avatar_display')}><{$smarty.const._NO}> + <{xoops_input type=radio name=avatar_display value=1 default=$actionForm->get('avatar_display')}><{$smarty.const._YES}> + <{xoops_input type=radio name=avatar_display value=0 default=$actionForm->get('avatar_display')}><{$smarty.const._NO}>
<{$smarty.const._AD_USER_LANG_AVATAR_WEIGHT}> "> - <{xoops_input type=text name=avatar_weight value=$actionForm->getVar('avatar_weight')}> + <{xoops_input type=text name=avatar_weight value=$actionForm->get('avatar_weight')}>
Index: xoops2jp/html/modules/user/admin/templates/ranks_edit.html diff -u xoops2jp/html/modules/user/admin/templates/ranks_edit.html:1.1.2.2 xoops2jp/html/modules/user/admin/templates/ranks_edit.html:1.1.2.3 --- xoops2jp/html/modules/user/admin/templates/ranks_edit.html:1.1.2.2 Tue Jan 31 14:32:07 2006 +++ xoops2jp/html/modules/user/admin/templates/ranks_edit.html Thu Feb 2 17:35:43 2006 @@ -2,14 +2,14 @@ <{$smarty.const._MI_USER_NAME}> »» <{$smarty.const._AD_USER_LANG_RANK_LIST}> »» - <{if $actionForm->getVar('rank_id') }> + <{if $actionForm->get('rank_id') }> <{$smarty.const._AD_USER_LANG_RANK_EDIT}> <{else}> <{$smarty.const._AD_USER_LANG_RANK_NEW}> <{/if}> -<{if $actionForm->getVar('rank_id') }> +<{if $actionForm->get('rank_id') }>

<{$smarty.const._AD_USER_LANG_RANK_EDIT}>

<{else}>

<{$smarty.const._AD_USER_LANG_RANK_NEW}>

@@ -28,7 +28,7 @@
- <{if $actionForm->getVar('groupid') }> + <{if $actionForm->get('groupid') }> <{$smarty.const._AD_USER_LANG_GROUP_EDIT}> <{else}> <{$smarty.const._AD_USER_LANG_GROUP_NEW}> @@ -38,13 +39,13 @@
<{$smarty.const._AD_USER_LANG_GROUP_NAME}> "> - <{xoops_input type=text name=name value=$actionForm->getVar('name')}> + <{xoops_input type=text name=name value=$actionForm->get('name')}>
<{$smarty.const._AD_USER_LANG_GROUP_DESC}> "> - <{xoops_dhtmltarea name=description value=$actionForm->getVar('description')}> + <{xoops_dhtmltarea name=description value=$actionForm->get('description')}>
Index: xoops2jp/html/modules/user/admin/templates/user_edit.html diff -u xoops2jp/html/modules/user/admin/templates/user_edit.html:1.1.2.6 xoops2jp/html/modules/user/admin/templates/user_edit.html:1.1.2.7 --- xoops2jp/html/modules/user/admin/templates/user_edit.html:1.1.2.6 Tue Jan 31 14:32:07 2006 +++ xoops2jp/html/modules/user/admin/templates/user_edit.html Thu Feb 2 17:35:43 2006 @@ -2,14 +2,14 @@ <{$smarty.const._MI_USER_NAME}> »» <{$smarty.const._AD_USER_LANG_USER_LIST}> »» - <{if $actionForm->getVar('uid')}> + <{if $actionForm->get('uid')}> <{$smarty.const._AD_USER_LANG_USER_EDIT}> <{else}> <{$smarty.const._AD_USER_LANG_USER_NEW}> <{/if}> -<{if $actionForm->getVar('uid')}> +<{if $actionForm->get('uid')}>

<{$smarty.const._AD_USER_LANG_USER_EDIT}>

<{else}>

<{$smarty.const._AD_USER_LANG_USER_NEW}>

@@ -25,11 +25,11 @@ <{xoops_token form=$actionForm}> - <{xoops_input type=hidden name=uid value=$actionForm->getVar('uid')}> + <{xoops_input type=hidden name=uid value=$actionForm->get('uid')}>
- <{if $actionForm->getVar('rank_id') }> + <{if $actionForm->get('rank_id') }> <{$smarty.const._AD_USER_LANG_RANK_EDIT}> <{else}> <{$smarty.const._AD_USER_LANG_RANK_NEW}> @@ -38,19 +38,19 @@
<{$smarty.const._AD_USER_LANG_RANK_TITLE}> "> - <{xoops_input type=text name=rank_title value=$actionForm->getVar('rank_title')}> + <{xoops_input type=text name=rank_title value=$actionForm->get('rank_title')}>
<{$smarty.const._AD_USER_LANG_RANK_MIN}> "> - <{xoops_input type=text name=rank_min value=$actionForm->getVar('rank_min')}> + <{xoops_input type=text name=rank_min value=$actionForm->get('rank_min')}>
<{$smarty.const._AD_USER_LANG_RANK_MAX}> "> - <{xoops_input type=text name=rank_max value=$actionForm->getVar('rank_max')}> + <{xoops_input type=text name=rank_max value=$actionForm->get('rank_max')}>
@@ -68,7 +68,7 @@ @@ -76,82 +76,82 @@ @@ -168,21 +168,21 @@ @@ -190,7 +190,7 @@ From tom_g3x @ users.sourceforge.jp Thu Feb 2 17:40:48 2006 From: tom_g3x @ users.sourceforge.jp (Tom Hayakawa) Date: Thu, 2 Feb 2006 17:40:48 +0900 Subject: [xoops-cvslog 2051] CVS update: xoops2jp/html/modules/base/admin/templates Message-ID: <20060202084048.34F402AC01A@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/templates/comment_edit.html diff -u xoops2jp/html/modules/base/admin/templates/comment_edit.html:1.1.2.2 xoops2jp/html/modules/base/admin/templates/comment_edit.html:1.1.2.3 --- xoops2jp/html/modules/base/admin/templates/comment_edit.html:1.1.2.2 Mon Jan 30 13:35:01 2006 +++ xoops2jp/html/modules/base/admin/templates/comment_edit.html Thu Feb 2 17:40:48 2006 @@ -1,7 +1,7 @@
<{$smarty.const._MI_BASE_NAME}> »» <{$smarty.const._MI_BASE_MENU_COMMENTMANAGE}> - <{if $actionForm->getVar('com_id')}> + <{if $actionform->get('com_id')}> »» <{$smarty.const._AD_BASE_LANG_COMMENT_EDIT}> <{else}> »» <{$smarty.const._AD_BASE_LANG_COMMENT_NEW}> @@ -9,7 +9,7 @@

-<{if $actionForm->getVar('com_id')}> +<{if $actionform->get('com_id')}> <{$smarty.const._AD_BASE_LANG_COMMENT_EDIT}> <{else}> <{$smarty.const._AD_BASE_LANG_COMMENT_NEW}> @@ -26,11 +26,11 @@ <{xoops_token form=$actionForm}> - <{xoops_input type=hidden name=com_id value=$actionForm->getVar('com_id')}> + <{xoops_input type=hidden name=com_id value=$actionform->get('com_id')}>

- <{if $actionForm->getVar('uid')}> + <{if $actionForm->get('uid')}> <{$smarty.const._AD_USER_LANG_USER_EDIT}> <{else}> <{$smarty.const._AD_USER_LANG_USER_NEW}> @@ -39,28 +39,28 @@
<{$smarty.const._AD_USER_LANG_UNAME}> "> - <{xoops_input type=text name=uname value=$actionForm->getVar('uname') size=25 maxlength=25}> + <{xoops_input type=text name=uname value=$actionForm->get('uname') size=25 maxlength=25}>
<{$smarty.const._AD_USER_LANG_NAME}> "> - <{xoops_input type=text name=name value=$actionForm->getVar('name') size=30 maxlength=60}> + <{xoops_input type=text name=name value=$actionForm->get('name') size=30 maxlength=60}>
<{$smarty.const._AD_USER_LANG_EMAIL}> "> - <{xoops_input type=text name=email value=$actionForm->getVar('email') size=30 maxlength=60}> + <{xoops_input type=text name=email value=$actionForm->get('email') size=30 maxlength=60}>
- <{xoops_input type=checkbox name=user_viewemail value=1 default=$actionForm->getVar('user_viewemail')}> + <{xoops_input type=checkbox name=user_viewemail value=1 default=$actionForm->get('user_viewemail')}> <{$smarty.const._AD_USER_LANG_USER_VIEWEMAIL}>
<{$smarty.const._AD_USER_LANG_URL}> "> - <{xoops_input type=text name=url value=$actionForm->getVar('url') size=50 maxlength=100}> + <{xoops_input type=text name=url value=$actionForm->get('url') size=50 maxlength=100}>
">
<{$smarty.const._AD_USER_LANG_USER_ICQ}> "> - <{xoops_input type=text name=user_icq value=$actionForm->getVar('user_icq') size=15 maxlength=15}> + <{xoops_input type=text name=user_icq value=$actionForm->get('user_icq') size=15 maxlength=15}>
<{$smarty.const._AD_USER_LANG_USER_AIM}> "> - <{xoops_input type=text name=user_aim value=$actionForm->getVar('user_aim') size=18 maxlength=18}> + <{xoops_input type=text name=user_aim value=$actionForm->get('user_aim') size=18 maxlength=18}>
<{$smarty.const._AD_USER_LANG_USER_YIM}> "> - <{xoops_input type=text name=user_yim value=$actionForm->getVar('user_yim') size=25 maxlength=25}> + <{xoops_input type=text name=user_yim value=$actionForm->get('user_yim') size=25 maxlength=25}>
<{$smarty.const._AD_USER_LANG_USER_MSNM}> "> - <{xoops_input type=text name=user_msnm value=$actionForm->getVar('user_msnm') size=25 maxlength=100}> + <{xoops_input type=text name=user_msnm value=$actionForm->get('user_msnm') size=25 maxlength=100}>
<{$smarty.const._AD_USER_LANG_USER_FROM}> "> - <{xoops_input type=text name=user_from value=$actionForm->getVar('user_from') size=50 maxlength=100}> + <{xoops_input type=text name=user_from value=$actionForm->get('user_from') size=50 maxlength=100}>
<{$smarty.const._AD_USER_LANG_USER_OCC}> "> - <{xoops_input type=text name=user_occ value=$actionForm->getVar('user_occ') size=50 maxlength=100}> + <{xoops_input type=text name=user_occ value=$actionForm->get('user_occ') size=50 maxlength=100}>
<{$smarty.const._AD_USER_LANG_USER_INTREST}> "> - <{xoops_input type=text name=user_intrest value=$actionForm->getVar('user_intrest') size=50 maxlength=150}> + <{xoops_input type=text name=user_intrest value=$actionForm->get('user_intrest') size=50 maxlength=150}>
<{$smarty.const._AD_USER_LANG_USER_SIG}> "> - <{xoops_dhtmltarea type=text name=user_sig value=$actionForm->getVar('user_sig')}> + <{xoops_dhtmltarea type=text name=user_sig value=$actionForm->get('user_sig')}>
- <{xoops_input type=checkbox name=attachsig value=1 default=$actionForm->getVar('attachsig')}> + <{xoops_input type=checkbox name=attachsig value=1 default=$actionForm->get('attachsig')}> <{$smarty.const._AD_USER_LANG_ATTACHSIG}>
<{$smarty.const._AD_USER_LANG_UMODE}> "> - <{html_options name=umode options=$umodeOptions selected=$actionForm->getVar('umode')}> + <{html_options name=umode options=$umodeOptions selected=$actionForm->get('umode')}>
<{$smarty.const._AD_USER_LANG_UORDER}> "> - <{html_options name=uorder options=$uorderOptions selected=$actionForm->getVar('uorder')}> + <{html_options name=uorder options=$uorderOptions selected=$actionForm->get('uorder')}>
<{$smarty.const._AD_USER_LANG_NOTIFY_METHOD}> "> - <{html_options name=notify_method options=$notify_methodOptions selected=$actionForm->getVar('notify_method')}> + <{html_options name=notify_method options=$notify_methodOptions selected=$actionForm->get('notify_method')}>
<{$smarty.const._AD_USER_LANG_NOTIFY_MODE}> "> - <{html_options name=notify_mode options=$notify_modeOptions selected=$actionForm->getVar('notify_mode')}> + <{html_options name=notify_mode options=$notify_modeOptions selected=$actionForm->get('notify_mode')}>
<{$smarty.const._AD_USER_LANG_BIO}> "> - <{xoops_textarea type=text rows=5 cols=50 name=bio value=$actionForm->getVar('bio')}> + <{xoops_textarea type=text rows=5 cols=50 name=bio value=$actionForm->get('bio')}>
<{$smarty.const._AD_USER_LANG_PASS}> "> - <{xoops_input type=text name=pass value=$actionForm->getVar('pass') size=25 maxlength=32}> + <{xoops_input type=text name=pass value=$actionForm->get('pass') size=25 maxlength=32}>
<{$smarty.const._AD_USER_LANG_VPASS}> "> - <{xoops_input type=text name=pass2 value=$actionForm->getVar('vpass') size=25 maxlength=32}> + <{xoops_input type=text name=pass2 value=$actionForm->get('vpass') size=25 maxlength=32}>
<{$smarty.const._AD_USER_LANG_USER_MAILOK}> "> - <{xoops_input type=radio name=user_mailok value=1 default=$actionForm->getVar('user_mailok')}> + <{xoops_input type=radio name=user_mailok value=1 default=$actionForm->get('user_mailok')}> <{$smarty.const._YES}> - <{xoops_input type=radio name=user_mailok value=0 default=$actionForm->getVar('user_mailok')}> + <{xoops_input type=radio name=user_mailok value=0 default=$actionForm->get('user_mailok')}> <{$smarty.const._NO}>
<{$smarty.const._AD_USER_LANG_GROUP}> ">
Index: xoops2jp/html/modules/base/admin/templates/modulelist_confirm.html diff -u xoops2jp/html/modules/base/admin/templates/modulelist_confirm.html:1.1.2.2 xoops2jp/html/modules/base/admin/templates/modulelist_confirm.html:1.1.2.3 --- xoops2jp/html/modules/base/admin/templates/modulelist_confirm.html:1.1.2.2 Mon Jan 30 23:53:50 2006 +++ xoops2jp/html/modules/base/admin/templates/modulelist_confirm.html Thu Feb 2 17:40:48 2006 @@ -20,21 +20,21 @@ - - - <{if $actionForm->getVar('isactive',$mid)}> + + + <{if $actionform->get('isactive',$mid)}> <{else}> Index: xoops2jp/html/modules/base/admin/templates/legacy_admin_actionsearch_form.html diff -u xoops2jp/html/modules/base/admin/templates/legacy_admin_actionsearch_form.html:1.1.2.4 xoops2jp/html/modules/base/admin/templates/legacy_admin_actionsearch_form.html:1.1.2.5 --- xoops2jp/html/modules/base/admin/templates/legacy_admin_actionsearch_form.html:1.1.2.4 Mon Jan 30 23:53:50 2006 +++ xoops2jp/html/modules/base/admin/templates/legacy_admin_actionsearch_form.html Thu Feb 2 17:40:48 2006 @@ -7,6 +7,6 @@
<{$smarty.const._MB_A_BASE_LANG_ACTIONSEARCH_INFO}>
- value="<{$actionForm->getVar('keywords')|escape}>"<{/if}> /> + value="<{$actionform->get('keywords')|escape}>"<{/if}> /> Index: xoops2jp/html/modules/base/admin/templates/smiles_edit.html diff -u xoops2jp/html/modules/base/admin/templates/smiles_edit.html:1.1.2.2 xoops2jp/html/modules/base/admin/templates/smiles_edit.html:1.1.2.3 --- xoops2jp/html/modules/base/admin/templates/smiles_edit.html:1.1.2.2 Mon Jan 30 12:36:49 2006 +++ xoops2jp/html/modules/base/admin/templates/smiles_edit.html Thu Feb 2 17:40:48 2006 @@ -1,14 +1,14 @@
<{$smarty.const._MI_BASE_NAME}> »» <{$smarty.const._MI_BASE_MENU_SMILES_MANAGE}> - <{if $actionForm->getVar('id')}> + <{if $actionform->get('id')}> »» <{$smarty.const._AD_BASE_LANG_SMILES_EDIT}> <{else}> »» <{$smarty.const._AD_BASE_LANG_SMILES_NEW}> <{/if}>
-<{if $actionForm->getVar('id')}> +<{if $actionform->get('id')}>

<{$smarty.const._AD_BASE_LANG_SMILES_EDIT}>

<{else}>

<{$smarty.const._AD_BASE_LANG_SMILES_NEW}>

@@ -24,27 +24,27 @@ <{xoops_token form=$actionForm}> - <{xoops_input type=hidden name=id value=$actionForm->getVar('id')}> + <{xoops_input type=hidden name=id value=$actionform->get('id')}>
- <{if $actionForm->getVar('com_id')}> + <{if $actionform->get('com_id')}> <{$smarty.const._AD_BASE_LANG_COMMENT_EDIT}> <{else}> <{$smarty.const._AD_BASE_LANG_COMMENT_NEW}> @@ -40,115 +40,115 @@
<{$smarty.const._AD_BASE_LANG_COM_PID}> "> - <{xoops_input type=text name=com_pid value=$actionForm->getVar('com_pid')}> + <{xoops_input type=text name=com_pid value=$actionform->get('com_pid')}>
<{$smarty.const._AD_BASE_LANG_COM_ROOTID}> "> - <{xoops_input type=text name=com_rootid value=$actionForm->getVar('com_rootid')}> + <{xoops_input type=text name=com_rootid value=$actionform->get('com_rootid')}>
<{$smarty.const._AD_BASE_LANG_COM_MODID}> "> - <{xoops_input type=text name=com_modid value=$actionForm->getVar('com_modid')}> + <{xoops_input type=text name=com_modid value=$actionform->get('com_modid')}>
<{$smarty.const._AD_BASE_LANG_COM_ITEMID}> "> - <{xoops_input type=text name=com_itemid value=$actionForm->getVar('com_itemid')}> + <{xoops_input type=text name=com_itemid value=$actionform->get('com_itemid')}>
<{$smarty.const._AD_BASE_LANG_COM_ICON}> "> - <{xoops_input type=text name=com_icon value=$actionForm->getVar('com_icon') size=15 maxlength=25}> + <{xoops_input type=text name=com_icon value=$actionform->get('com_icon') size=15 maxlength=25}>
<{$smarty.const._AD_BASE_LANG_COM_CREATED}> "> - <{xoops_input type=text name=com_created value=$actionForm->getVar('com_created')}> + <{xoops_input type=text name=com_created value=$actionform->get('com_created')}>
<{$smarty.const._AD_BASE_LANG_COM_MODIFIED}> "> - <{xoops_input type=text name=com_modified value=$actionForm->getVar('com_modified')}> + <{xoops_input type=text name=com_modified value=$actionform->get('com_modified')}>
<{$smarty.const._AD_BASE_LANG_COM_UID}> "> - <{xoops_input type=text name=com_uid value=$actionForm->getVar('com_uid')}> + <{xoops_input type=text name=com_uid value=$actionform->get('com_uid')}>
<{$smarty.const._AD_BASE_LANG_COM_IP}> "> - <{xoops_input type=text name=com_ip value=$actionForm->getVar('com_ip') size=15 maxlength=15}> + <{xoops_input type=text name=com_ip value=$actionform->get('com_ip') size=15 maxlength=15}>
<{$smarty.const._AD_BASE_LANG_COM_TITLE}> "> - <{xoops_input type=text name=com_title value=$actionForm->getVar('com_title') size=15 maxlength=255}> + <{xoops_input type=text name=com_title value=$actionform->get('com_title') size=15 maxlength=255}>
<{$smarty.const._AD_BASE_LANG_COM_TEXT}> "> - <{xoops_dhtmltarea type=text name=com_text value=$actionForm->getVar('com_text')}> + <{xoops_dhtmltarea type=text name=com_text value=$actionform->get('com_text')}>
<{$smarty.const._AD_BASE_LANG_COM_SIG}> "> - <{xoops_input type=checkbox name=com_sig value=1 default=$actionForm->getVar('com_sig')}> + <{xoops_input type=checkbox name=com_sig value=1 default=$actionform->get('com_sig')}>
<{$smarty.const._AD_BASE_LANG_COM_STATUS}> "> - <{xoops_input type=checkbox name=com_status value=1 default=$actionForm->getVar('com_status')}> + <{xoops_input type=checkbox name=com_status value=1 default=$actionform->get('com_status')}>
<{$smarty.const._AD_BASE_LANG_COM_EXPARAMS}> "> - <{xoops_input type=text name=com_exparams value=$actionForm->getVar('com_exparams') size=15 maxlength=255}> + <{xoops_input type=text name=com_exparams value=$actionform->get('com_exparams') size=15 maxlength=255}>
<{$smarty.const._AD_BASE_LANG_DOHTML}> "> - <{xoops_input type=checkbox name=dohtml value=1 default=$actionForm->getVar('dohtml')}> + <{xoops_input type=checkbox name=dohtml value=1 default=$actionform->get('dohtml')}>
<{$smarty.const._AD_BASE_LANG_DOSMILEY}> "> - <{xoops_input type=checkbox name=dosmiley value=1 default=$actionForm->getVar('dosmiley')}> + <{xoops_input type=checkbox name=dosmiley value=1 default=$actionform->get('dosmiley')}>
<{$smarty.const._AD_BASE_LANG_DOXCODE}> "> - <{xoops_input type=checkbox name=doxcode value=1 default=$actionForm->getVar('doxcode')}> + <{xoops_input type=checkbox name=doxcode value=1 default=$actionform->get('doxcode')}>
<{$smarty.const._AD_BASE_LANG_DOIMAGE}> "> - <{xoops_input type=checkbox name=doimage value=1 default=$actionForm->getVar('doimage')}> + <{xoops_input type=checkbox name=doimage value=1 default=$actionform->get('doimage')}>
<{$smarty.const._AD_BASE_LANG_DOBR}> "> - <{xoops_input type=checkbox name=dobr value=1 default=$actionForm->getVar('dobr')}> + <{xoops_input type=checkbox name=dobr value=1 default=$actionform->get('dobr')}>
<{$mid}> - <{if $actionForm->getVar('name',$mid) == $moduleObjects[$mid]->getProperty('name')}> - <{$actionForm->getVar('name',$mid)|escape}> + <{if $actionform->get('name',$mid) == $moduleObjects[$mid]->getProperty('name')}> + <{$actionform->get('name',$mid)|escape}> <{else}> - (<{$moduleObjects[$mid]->getVar('name',e)}>) » <{$actionForm->getVar('name',$mid)|escape}> + (<{$moduleObjects[$mid]->getVar('name',e)}>) » <{$actionform->get('name',$mid)|escape}> <{/if}> - <{if $actionForm->getVar('weight',$mid) == $moduleObjects[$mid]->getProperty('weight')}> - <{$actionForm->getVar('weight',$mid)|escape}> + <{if $actionform->get('weight',$mid) == $moduleObjects[$mid]->getProperty('weight')}> + <{$actionform->get('weight',$mid)|escape}> <{else}> - (<{$moduleObjects[$mid]->getVar('weight')}>) » <{$actionForm->getVar('weight',$mid)|escape}> + (<{$moduleObjects[$mid]->getVar('weight')}>) » <{$actionform->get('weight',$mid)|escape}> <{/if}> - <{if $actionForm->getVar('isactive',$mid) == $moduleObjects[$mid]->getProperty('isactive')}> + <{if $actionform->get('isactive',$mid) == $moduleObjects[$mid]->getProperty('isactive')}> <{$smarty.const._MD_A_BASE_LANG_NO_CHANGE}> <{else}> (<{if $moduleObjects[$mid]->getProperty('isactive') == 1 }> @@ -44,7 +44,7 @@ <{/if}>) » - <{if $actionForm->getVar('isactive',$mid) == 1}> + <{if $actionform->get('isactive',$mid) == 1}> <{$smarty.const._MD_A_BASE_LANG_ISACTIVE}> <{else}> <{$smarty.const._MD_A_BASE_LANG_DEACTIVATE}> @@ -52,9 +52,9 @@ <{/if}>
- <{if $actionForm->getVar('id')}> + <{if $actionform->get('id')}> - + <{/if}> @@ -56,14 +56,14 @@ From tom_g3x @ users.sourceforge.jp Thu Feb 2 17:40:48 2006 From: tom_g3x @ users.sourceforge.jp (Tom Hayakawa) Date: Thu, 2 Feb 2006 17:40:48 +0900 Subject: [xoops-cvslog 2052] CVS update: xoops2jp/html/modules/base/templates Message-ID: <20060202084048.5B27D2AC05B@users.sourceforge.jp> Index: xoops2jp/html/modules/base/templates/legacy_search_form.html diff -u xoops2jp/html/modules/base/templates/legacy_search_form.html:1.1.2.1 xoops2jp/html/modules/base/templates/legacy_search_form.html:1.1.2.2 --- xoops2jp/html/modules/base/templates/legacy_search_form.html:1.1.2.1 Mon Dec 26 20:23:37 2005 +++ xoops2jp/html/modules/base/templates/legacy_search_form.html Thu Feb 2 17:40:48 2006 @@ -3,16 +3,16 @@ @@ -20,7 +20,7 @@ Index: xoops2jp/html/modules/base/templates/legacy_comment_edit.html diff -u xoops2jp/html/modules/base/templates/legacy_comment_edit.html:1.1.2.1 xoops2jp/html/modules/base/templates/legacy_comment_edit.html:1.1.2.2 --- xoops2jp/html/modules/base/templates/legacy_comment_edit.html:1.1.2.1 Tue Jan 24 20:23:48 2006 +++ xoops2jp/html/modules/base/templates/legacy_comment_edit.html Thu Feb 2 17:40:48 2006 @@ -37,39 +37,39 @@ <{if $xoops_isadmin}> <{/if}> From tom_g3x @ users.sourceforge.jp Thu Feb 2 17:40:48 2006 From: tom_g3x @ users.sourceforge.jp (Tom Hayakawa) Date: Thu, 2 Feb 2006 17:40:48 +0900 Subject: [xoops-cvslog 2053] CVS update: xoops2jp/html/modules/legacyRender/admin/templates Message-ID: <20060202084048.821402AC01A@users.sourceforge.jp> Index: xoops2jp/html/modules/legacyRender/admin/templates/tplfile_edit.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/tplfile_edit.html:1.1.2.5 xoops2jp/html/modules/legacyRender/admin/templates/tplfile_edit.html:1.1.2.6 --- xoops2jp/html/modules/legacyRender/admin/templates/tplfile_edit.html:1.1.2.5 Tue Jan 31 18:08:25 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/tplfile_edit.html Thu Feb 2 17:40:48 2006 @@ -30,7 +30,7 @@ <{xoops_token form=$actionForm}> - <{xoops_input type=hidden name=tpl_id value=$actionForm->getVar('tpl_id')}> + <{xoops_input type=hidden name=tpl_id value=$actionform->get('tpl_id')}>
- <{if $actionForm->getVar('id')}> + <{if $actionform->get('id')}> <{$smarty.const._AD_BASE_LANG_SMILES_EDIT}> <{else}> <{$smarty.const._AD_BASE_LANG_SMILES_NEW}> <{/if}>
<{$smarty.const._AD_BASE_LANG_ID}>"><{$actionForm->getVar('id')}>"><{$actionform->get('id')}>
<{$smarty.const._AD_BASE_LANG_CODE}> "> - <{xoops_input type=text name=code value=$actionForm->getVar('code') size=15 maxlength=50}> + <{xoops_input type=text name=code value=$actionform->get('code') size=15 maxlength=50}>
<{$smarty.const._AD_BASE_LANG_EMOTION}> "> - <{xoops_input type=text name=emotion value=$actionForm->getVar('emotion') size=30 maxlength=75}> + <{xoops_input type=text name=emotion value=$actionform->get('emotion') size=30 maxlength=75}>
<{$smarty.const._AD_BASE_LANG_DISPLAY}> "> - <{xoops_input type=radio name=display value=1 default=$actionForm->getVar('display')}><{$smarty.const._YES}> - <{xoops_input type=radio name=display value=0 default=$actionForm->getVar('display')}><{$smarty.const._NO}> + <{xoops_input type=radio name=display value=1 default=$actionform->get('display')}><{$smarty.const._YES}> + <{xoops_input type=radio name=display value=0 default=$actionform->get('display')}><{$smarty.const._NO}>
<{$smarty.const._SR_KEYWORDS}> "> - <{xoops_input type=text name=query size=30 maxlength=255 value=$actionForm->getVar('query')}> + <{xoops_input type=text name=query size=30 maxlength=255 value=$actionform->get('query')}>
<{$smarty.const._SR_TYPE}> ">
<{$smarty.const._SR_SEARCHIN}> "> <{foreach item=module from=$moduleList}> - getVar('mid'),$actionForm->getVar('mids'))}>checked<{/if}>><{$module->getVar('name')|escape}> + getVar('mid'),$actionform->get('mids'))}>checked<{/if}>><{$module->getVar('name')|escape}> <{/foreach}>
<{$smarty.const._MD_BASE_LANG_COM_TITLE}> "> - <{xoops_input type=text name=com_title value=$actionForm->getVar('com_title') size=15 maxlength=255}> + <{xoops_input type=text name=com_title value=$actionform->get('com_title') size=15 maxlength=255}>
<{$smarty.const._MD_BASE_LANG_COM_TEXT}> "> - <{xoops_dhtmltarea type=text name=com_text value=$actionForm->getVar('com_text')}> + <{xoops_dhtmltarea type=text name=com_text value=$actionform->get('com_text')}>
<{$smarty.const._MD_BASE_LANG_DOHTML}> "> - <{xoops_input type=checkbox name=dohtml value=1 default=$actionForm->getVar('dohtml')}> + <{xoops_input type=checkbox name=dohtml value=1 default=$actionform->get('dohtml')}>
<{$smarty.const._MD_BASE_LANG_DOSMILEY}> "> - <{xoops_input type=checkbox name=dosmiley value=1 default=$actionForm->getVar('dosmiley')}> + <{xoops_input type=checkbox name=dosmiley value=1 default=$actionform->get('dosmiley')}>
<{$smarty.const._MD_BASE_LANG_DOXCODE}> "> - <{xoops_input type=checkbox name=doxcode value=1 default=$actionForm->getVar('doxcode')}> + <{xoops_input type=checkbox name=doxcode value=1 default=$actionform->get('doxcode')}>
<{$smarty.const._MD_BASE_LANG_DOBR}> "> - <{xoops_input type=checkbox name=dobr value=1 default=$actionForm->getVar('dobr')}> + <{xoops_input type=checkbox name=dobr value=1 default=$actionform->get('dobr')}>
@@ -49,7 +49,7 @@ - + @@ -67,7 +67,7 @@ »» <{$smarty.const._AD_LEGACYRENDER_LANG_MORE_LARGE}> - + Index: xoops2jp/html/modules/legacyRender/admin/templates/tplset_edit.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/tplset_edit.html:1.1.2.4 xoops2jp/html/modules/legacyRender/admin/templates/tplset_edit.html:1.1.2.5 --- xoops2jp/html/modules/legacyRender/admin/templates/tplset_edit.html:1.1.2.4 Tue Jan 31 17:29:38 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/tplset_edit.html Thu Feb 2 17:40:48 2006 @@ -16,7 +16,7 @@ <{xoops_token form=$actionForm}> - <{xoops_input type=hidden name=tplset_id value=$actionForm->getVar('tplset_id')}> + <{xoops_input type=hidden name=tplset_id value=$actionform->get('tplset_id')}>
<{$smarty.const._AD_LEGACYRENDER_LANG_TEMPLATE_FILE_EDIT}>
<{$smarty.const._AD_LEGACYRENDER_LANG_TPL_DESC}>"><{$actionForm->getVar('tpl_desc')}>"><{$actionform->get('tpl_desc')}>
<{$smarty.const._AD_LEGACYRENDER_LANG_TPL_SOURCE}>
@@ -28,13 +28,13 @@ Index: xoops2jp/html/modules/legacyRender/admin/templates/tplset_clone.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/tplset_clone.html:1.1.2.5 xoops2jp/html/modules/legacyRender/admin/templates/tplset_clone.html:1.1.2.6 --- xoops2jp/html/modules/legacyRender/admin/templates/tplset_clone.html:1.1.2.5 Tue Jan 31 17:29:38 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/tplset_clone.html Thu Feb 2 17:40:48 2006 @@ -16,7 +16,7 @@ <{xoops_token form=$actionForm}> - <{xoops_input type=hidden name=tplset_id value=$actionForm->getVar('tplset_id')}> + <{xoops_input type=hidden name=tplset_id value=$actionform->get('tplset_id')}>
<{$smarty.const._AD_LEGACYRENDER_LANG_TEMPLATE_SET_EDIT}>
<{$smarty.const._AD_LEGACYRENDER_LANG_TPLSET_DESC}> "> - <{xoops_input type=text name=tplset_desc value=$actionForm->getVar('tplset_desc') size=50 maxlength=255}> + <{xoops_input type=text name=tplset_desc value=$actionform->get('tplset_desc') size=50 maxlength=255}>
<{$smarty.const._AD_LEGACYRENDER_LANG_TPLSET_CREDITS}> "> - <{xoops_textarea type=text name=tplset_credits rows=5 cols=50 value=$actionForm->getVar('tplset_credits')}> + <{xoops_textarea type=text name=tplset_credits rows=5 cols=50 value=$actionform->get('tplset_credits')}>
From minahito @ users.sourceforge.jp Thu Feb 2 17:45:18 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 17:45:18 +0900 Subject: [xoops-cvslog 2054] CVS update: xoops2jp/html/modules/user/forms Message-ID: <20060202084518.20F9E2AC05B@users.sourceforge.jp> Index: xoops2jp/html/modules/user/forms/MailjobFilterForm.class.php diff -u xoops2jp/html/modules/user/forms/MailjobFilterForm.class.php:1.1.2.1 xoops2jp/html/modules/user/forms/MailjobFilterForm.class.php:removed --- xoops2jp/html/modules/user/forms/MailjobFilterForm.class.php:1.1.2.1 Thu Jan 12 20:26:05 2006 +++ xoops2jp/html/modules/user/forms/MailjobFilterForm.class.php Thu Feb 2 17:45:18 2006 @@ -1,127 +0,0 @@ - 'id', - USER_SORT_KEY_ID => 'id', - USER_SORT_KEY_LASTLOGIN => 'lastlogin', - USER_SORT_KEY_LASTLOGIN_FLAG => 'lastlogin_flag', - USER_SORT_KEY_MAILOK => 'mailok', - USER_SORT_KEY_ACTIVEUSER => 'activeuser', - USER_SORT_KEY_REGISTDATE => 'registdate', - USER_SORT_KEY_REGISTDATE_FLAG => 'registdate_flag', - USER_SORT_KEY_SENDER => 'sender', - USER_SORT_KEY_EMAIL => 'email', - USER_SORT_KEY_SUBJECT => 'subject', - USER_SORT_KEY_BODY => 'body', - USER_SORT_KEY_BY_PM => 'by_pm', - USER_SORT_KEY_BY_EMAIL => 'by_email' - ); - var $_mCriteria = null; - - function User_MailjobFilterForm() - { - $this->_mCriteria =& new CriteriaCompo(); - } - - function fetch() - { - $this->mSort = isset($_REQUEST['sort']) ? intval($_REQUEST['sort']) : 0; - - if ($this->mSort > USER_SORT_KEY_MAXVALUE) { - $this->mSort = USER_SORT_KEY_DEFAULT; - } - - if (isset($_REQUEST['id'])) { - $this->_mCriteria->add(new Criteria('id', array(XOBJ_DTYPE_INT, xoops_getrequest('id')))); - } - - if (isset($_REQUEST['lastlogin'])) { - $this->_mCriteria->add(new Criteria('lastlogin', array(XOBJ_DTYPE_INT, xoops_getrequest('lastlogin')))); - } - - if (isset($_REQUEST['lastlogin_flag'])) { - $this->_mCriteria->add(new Criteria('lastlogin_flag', array(XOBJ_DTYPE_BOOL, xoops_getrequest('lastlogin_flag')))); - } - - if (isset($_REQUEST['mailok'])) { - $this->_mCriteria->add(new Criteria('mailok', array(XOBJ_DTYPE_BOOL, xoops_getrequest('mailok')))); - } - - if (isset($_REQUEST['activeuser'])) { - $this->_mCriteria->add(new Criteria('activeuser', array(XOBJ_DTYPE_BOOL, xoops_getrequest('activeuser')))); - } - - if (isset($_REQUEST['registdate'])) { - $this->_mCriteria->add(new Criteria('registdate', array(XOBJ_DTYPE_INT, xoops_getrequest('registdate')))); - } - - if (isset($_REQUEST['registdate_flag'])) { - $this->_mCriteria->add(new Criteria('registdate_flag', array(XOBJ_DTYPE_BOOL, xoops_getrequest('registdate_flag')))); - } - - if (isset($_REQUEST['sender'])) { - $this->_mCriteria->add(new Criteria('sender', array(XOBJ_DTYPE_STRING, xoops_getrequest('sender')))); - } - - if (isset($_REQUEST['email'])) { - $this->_mCriteria->add(new Criteria('email', array(XOBJ_DTYPE_STRING, xoops_getrequest('email')))); - } - - if (isset($_REQUEST['subject'])) { - $this->_mCriteria->add(new Criteria('subject', array(XOBJ_DTYPE_STRING, xoops_getrequest('subject')))); - } - - if (isset($_REQUEST['by_pm'])) { - $this->_mCriteria->add(new Criteria('by_pm', array(XOBJ_DTYPE_BOOL, xoops_getrequest('by_pm')))); - } - - if (isset($_REQUEST['by_email'])) { - $this->_mCriteria->add(new Criteria('by_email', array(XOBJ_DTYPE_BOOL, xoops_getrequest('by_email')))); - } - } - - function getSort() - { - $sortkey = abs($this->mSort); - return $this->_mSortKeys[$sortkey]; - } - - function getOrder() - { - return ($this->mSort < 0) ? "DESC" : "ASC"; - } - - function getCriteria($start = 0, $limit = 0) - { - $criteria = $this->_mCriteria; - - $criteria->setStart($start); - $criteria->setLimit($limit); - - $criteria->setSort($this->getSort()); - $criteria->setOrder($this->getOrder()); - - return $criteria; - } -} - -?> From minahito @ users.sourceforge.jp Thu Feb 2 17:45:28 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 17:45:28 +0900 Subject: [xoops-cvslog 2055] CVS update: xoops2jp/html/modules/user/forms Message-ID: <20060202084528.E8DE52AC01A@users.sourceforge.jp> Index: xoops2jp/html/modules/user/forms/PageNavigator.class.php diff -u xoops2jp/html/modules/user/forms/PageNavigator.class.php:1.1.2.1 xoops2jp/html/modules/user/forms/PageNavigator.class.php:removed --- xoops2jp/html/modules/user/forms/PageNavigator.class.php:1.1.2.1 Thu Jan 26 20:14:04 2006 +++ xoops2jp/html/modules/user/forms/PageNavigator.class.php Thu Feb 2 17:45:28 2006 @@ -1,35 +0,0 @@ -mExtra as $key => $value) { - } - - if (!isset($mask[$key])) { - $value = htmlspecialchars($value, ENT_QUOTES); - $ret .= ""; - } - - return $ret; - } -} - -?> From minahito @ users.sourceforge.jp Thu Feb 2 17:45:35 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 17:45:35 +0900 Subject: [xoops-cvslog 2056] CVS update: xoops2jp/html/modules/user/forms Message-ID: <20060202084535.8FF622AC05B@users.sourceforge.jp> Index: xoops2jp/html/modules/user/forms/LostpassForm.class.php diff -u xoops2jp/html/modules/user/forms/LostpassForm.class.php:1.1.2.2 xoops2jp/html/modules/user/forms/LostpassForm.class.php:removed --- xoops2jp/html/modules/user/forms/LostpassForm.class.php:1.1.2.2 Wed Jan 18 02:24:51 2006 +++ xoops2jp/html/modules/user/forms/LostpassForm.class.php Thu Feb 2 17:45:35 2006 @@ -1,79 +0,0 @@ - // -// ------------------------------------------------------------------------ // -// 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 // -// ------------------------------------------------------------------------ // - -require_once XOOPS_MODULE_PATH."/user/forms/UserSimpleActionForm.class.php"; - -/** -This class is ported from bxBase. -I must change this to Dynamic ActionForm. -*/ -class LostpassForm extends UserModActionForm -{ - var $mEmailAddress=null; - - function startup(&$master) - { - if($_SERVER['REQUEST_METHOD']=="POST") { - $this->fetch($master); - $this->validate($master); - return $this->hasError() ? UCONTROLLER_ACTIONFORM_ERROR : UCONTROLLER_ACTIONFORM_SUCCESS; - } - else { - $this->load($master); - return UCONTROLLER_ACTIONFORM_INIT; - } - } - - function fetch(&$master) - { - $this->mEmailAddress=isset($_REQUEST['email']) ? trim($_REQUEST['email']) : null; - } - - function validate (&$master) - { - if(!$this->mEmailAddress) { - $this->addErrorMessage("Email not input"); - } - else { - $myts =& MyTextSanitizer::getInstance(); - $memberHandler =& xoops_gethandler('member'); - $user=&$memberHandler->getUsersByEmail($this->mEmailAddress); - if(!$user) - $this->addErrorMessage("Can't fetch user"); - } - } - - function load(&$master) - { - } - - function hasError() - { - return count($this->errors_) ? true : false; - } -} -?> \ No newline at end of file From minahito @ users.sourceforge.jp Thu Feb 2 17:45:41 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 17:45:41 +0900 Subject: [xoops-cvslog 2057] CVS update: xoops2jp/html/modules/user/forms Message-ID: <20060202084541.186432AC01A@users.sourceforge.jp> Index: xoops2jp/html/modules/user/forms/UserSimpleActionForm.class.php diff -u xoops2jp/html/modules/user/forms/UserSimpleActionForm.class.php:1.1.2.2 xoops2jp/html/modules/user/forms/UserSimpleActionForm.class.php:removed --- xoops2jp/html/modules/user/forms/UserSimpleActionForm.class.php:1.1.2.2 Wed Oct 26 01:46:18 2005 +++ xoops2jp/html/modules/user/forms/UserSimpleActionForm.class.php Thu Feb 2 17:45:41 2006 @@ -1,70 +0,0 @@ - // -// ------------------------------------------------------------------------ // -// 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 // -// ------------------------------------------------------------------------ // - -define("UCONTROLLER_ACTIONFORM_INIT",0); -define("UCONTROLLER_ACTIONFORM_SUCCESS",1); -define("UCONTROLLER_ACTIONFORM_ERROR",2); - -class UserModActionForm -{ - var $mErrorMessages = array(); - - function setup(&$master) - { - if($_SERVER['REQUEST_METHOD']=="POST") { - $this->fetch($master); - $this->validate($master); - } - else { - $this->load($master); - } - } - - function load(&$master) - { - } - - function update(&$master) - { - } - - function addErrorMessage($message) - { - $this->mErrorMessages[]=$message; - } - - function getStatus() - { - if($_SERVER['REQUEST_METHOD']=="POST") - return count($this->mErrorMessages) ? UCONTROLLER_ACTION_ERROR : UCONTROLLER_ACTION_SUCCESS; - else - return UCONTROLLER_ACTION_INIT; - } -} - - -?> \ No newline at end of file From minahito @ users.sourceforge.jp Thu Feb 2 17:49:51 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 17:49:51 +0900 Subject: [xoops-cvslog 2058] CVS update: xoops2jp/html/modules/user/forms Message-ID: <20060202084951.B7F172AC013@users.sourceforge.jp> Index: xoops2jp/html/modules/user/forms/AbstractUserEditForm.class.php diff -u xoops2jp/html/modules/user/forms/AbstractUserEditForm.class.php:1.1.2.1 xoops2jp/html/modules/user/forms/AbstractUserEditForm.class.php:1.1.2.2 --- xoops2jp/html/modules/user/forms/AbstractUserEditForm.class.php:1.1.2.1 Wed Jan 18 02:26:01 2006 +++ xoops2jp/html/modules/user/forms/AbstractUserEditForm.class.php Thu Feb 2 17:49:51 2006 @@ -77,8 +77,8 @@ if(strlen($this->getVar('pass'))>0||strlen($this->getVar('vpass'))>0) if($this->getVar('pass')!=$this->getVar('vpass')) { $this->addErrorMessage(_MD_USER_ERROR_PASSWORD); - $this->setVar('pass',null); // reset - $this->setVar('vpass',null); + $this->set('pass',null); // reset + $this->set('vpass',null); } } } From minahito @ users.sourceforge.jp Thu Feb 2 17:50:01 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 17:50:01 +0900 Subject: [xoops-cvslog 2059] CVS update: xoops2jp/html/modules/user/forms Message-ID: <20060202085001.5F58F2AC07D@users.sourceforge.jp> Index: xoops2jp/html/modules/user/forms/AvatarEditForm.class.php diff -u xoops2jp/html/modules/user/forms/AvatarEditForm.class.php:1.1.2.1 xoops2jp/html/modules/user/forms/AvatarEditForm.class.php:1.1.2.2 --- xoops2jp/html/modules/user/forms/AvatarEditForm.class.php:1.1.2.1 Thu Jan 26 20:13:26 2006 +++ xoops2jp/html/modules/user/forms/AvatarEditForm.class.php Thu Feb 2 17:50:01 2006 @@ -55,13 +55,13 @@ function load(&$obj) { - $this->setVar('uid', $obj->get('uid')); + $this->set('uid', $obj->get('uid')); $this->mOldAvatarFilename = $obj->get('user_avatar'); } function update(&$obj) { - $obj->setVar('uid', $this->get('uid')); + $obj->set('uid', $this->get('uid')); $this->mFormFile = $this->get('uploadavatar'); @@ -70,7 +70,7 @@ $filename = $this->mFormFile->getFileName(); $this->mFormFile->setBodyName(substr($filename, 0, 25)); - $obj->setVar('user_avatar', $this->mFormFile->getFileName()); //< TODO + $obj->set('user_avatar', $this->mFormFile->getFileName()); //< TODO } } From minahito @ users.sourceforge.jp Thu Feb 2 17:50:12 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 17:50:12 +0900 Subject: [xoops-cvslog 2060] CVS update: xoops2jp/html/modules/user/forms Message-ID: <20060202085012.E0DE02AC013@users.sourceforge.jp> Index: xoops2jp/html/modules/user/forms/EditUserForm.class.php diff -u xoops2jp/html/modules/user/forms/EditUserForm.class.php:1.1.2.7 xoops2jp/html/modules/user/forms/EditUserForm.class.php:1.1.2.8 --- xoops2jp/html/modules/user/forms/EditUserForm.class.php:1.1.2.7 Sat Jan 28 03:07:44 2006 +++ xoops2jp/html/modules/user/forms/EditUserForm.class.php Thu Feb 2 17:50:12 2006 @@ -96,8 +96,8 @@ if(strlen($this->getVar('pass'))>0||strlen($this->getVar('vpass'))>0) if($this->getVar('pass')!=$this->getVar('vpass')) { $this->addErrorMessage(_MD_USER_ERROR_PASSWORD); - $this->setVar('pass',null); // reset - $this->setVar('vpass',null); + $this->set('pass',null); // reset + $this->set('vpass',null); } } @@ -106,34 +106,34 @@ //Corner-cutting $vars=$user->getProperties(); foreach($vars as $key=>$val) { - $this->setVar($key,$val); + $this->set($key,$val); } - $this->setVar('pass',null); - $this->setVar('vpass',null); + $this->set('pass',null); + $this->set('vpass',null); } function update(&$user) { - $user->setVar('name',$this->getVar('name')); - $user->setVar('email',$this->getVar('email')); - $user->setVar('user_viewemail',$this->getVar('user_viewemail')); - $user->setVar('url',$this->getVar('url')); - $user->setVar('user_icq',$this->getVar('user_icq')); - $user->setVar('user_aim',$this->getVar('user_aim')); - $user->setVar('user_yim',$this->getVar('user_yim')); - $user->setVar('user_msnm',$this->getVar('user_msnm')); - $user->setVar('user_from',$this->getVar('user_from')); - $user->setVar('user_occ',$this->getVar('user_occ')); - $user->setVar('user_intrest',$this->getVar('user_intrest')); - $user->setVar('user_sig',$this->getVar('user_sig')); - $user->setVar('attachsig',$this->getVar('attachsig')); - $user->setVar('user_sig',$this->getVar('user_sig')); - $user->setVar('bio',$this->getVar('bio')); - $user->setVar('user_mailok',$this->getVar('user_mailok')); + $user->set('name',$this->getVar('name')); + $user->set('email',$this->getVar('email')); + $user->set('user_viewemail',$this->getVar('user_viewemail')); + $user->set('url',$this->getVar('url')); + $user->set('user_icq',$this->getVar('user_icq')); + $user->set('user_aim',$this->getVar('user_aim')); + $user->set('user_yim',$this->getVar('user_yim')); + $user->set('user_msnm',$this->getVar('user_msnm')); + $user->set('user_from',$this->getVar('user_from')); + $user->set('user_occ',$this->getVar('user_occ')); + $user->set('user_intrest',$this->getVar('user_intrest')); + $user->set('user_sig',$this->getVar('user_sig')); + $user->set('attachsig',$this->getVar('attachsig')); + $user->set('user_sig',$this->getVar('user_sig')); + $user->set('bio',$this->getVar('bio')); + $user->set('user_mailok',$this->getVar('user_mailok')); if($this->getVar('pass')) - $user->setVar('pass',$this->getVar('pass')); + $user->set('pass',$this->getVar('pass')); } } From minahito @ users.sourceforge.jp Thu Feb 2 17:50:32 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 17:50:32 +0900 Subject: [xoops-cvslog 2061] CVS update: xoops2jp/html/modules/user/forms Message-ID: <20060202085032.482D22AC013@users.sourceforge.jp> Index: xoops2jp/html/modules/user/forms/RegisterUserEditForm.class.php diff -u xoops2jp/html/modules/user/forms/RegisterUserEditForm.class.php:1.1.2.6 xoops2jp/html/modules/user/forms/RegisterUserEditForm.class.php:1.1.2.7 --- xoops2jp/html/modules/user/forms/RegisterUserEditForm.class.php:1.1.2.6 Wed Nov 16 19:13:38 2005 +++ xoops2jp/html/modules/user/forms/RegisterUserEditForm.class.php Thu Feb 2 17:50:32 2006 @@ -8,6 +8,11 @@ { var $mConfig; + function getTokenName() + { + return "module.user.RegisterUserEditForm.TOKEN"; + } + function RegisterUserEditForm() { } @@ -71,8 +76,8 @@ if(strlen($this->getVar('pass'))>0||strlen($this->getVar('vpass'))>0) if($this->getVar('pass')!=$this->getVar('vpass')) { $this->addErrorMessage(_MD_USER_ERROR_PASSWORD); - $this->setVar('pass',null); // reset - $this->setVar('vpass',null); + $this->set('pass',null); // reset + $this->set('vpass',null); } } @@ -151,18 +156,18 @@ function update(&$user) { - $user->setVar('uname',$this->getVar('uname'),true); - $user->setVar('email',$this->getVar('email'),true); - $user->setVar('user_viewemail',$this->getVar('user_viewemail'),true); - $user->setVar('url',$this->getVar('url'),true); - $user->setVar('user_avatar','blank.gif',true); - $user->setVar('pass', md5($this->getVar('pass')), true); - // $user->setVar('timezone_offset',$this->getVar('timezone_offset'),true); - $user->setVar('user_mailok',$this->getVar('user_mailok'),true); + $user->set('uname',$this->getVar('uname'),true); + $user->set('email',$this->getVar('email'),true); + $user->set('user_viewemail',$this->getVar('user_viewemail'),true); + $user->set('url',$this->getVar('url'),true); + $user->set('user_avatar','blank.gif',true); + $user->set('pass', md5($this->getVar('pass')), true); + // $user->set('timezone_offset',$this->getVar('timezone_offset'),true); + $user->set('user_mailok',$this->getVar('user_mailok'),true); $actkey=substr(md5(uniqid(mt_rand(),1)),0,8); - $user->setVar('actkey',$actkey,true); - $user->setVar('user_regdate',time(),true); + $user->set('actkey',$actkey,true); + $user->set('user_regdate',time(),true); } } From minahito @ users.sourceforge.jp Thu Feb 2 17:50:42 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 17:50:42 +0900 Subject: [xoops-cvslog 2062] CVS update: xoops2jp/html/modules/user/forms Message-ID: <20060202085042.3B9C92AC013@users.sourceforge.jp> Index: xoops2jp/html/modules/user/forms/UserConfirmForm.class.php diff -u xoops2jp/html/modules/user/forms/UserConfirmForm.class.php:1.1.2.1 xoops2jp/html/modules/user/forms/UserConfirmForm.class.php:1.1.2.2 --- xoops2jp/html/modules/user/forms/UserConfirmForm.class.php:1.1.2.1 Wed Nov 9 20:50:09 2005 +++ xoops2jp/html/modules/user/forms/UserConfirmForm.class.php Thu Feb 2 17:50:42 2006 @@ -8,6 +8,11 @@ */ class UserConfirmForm extends XCube_ActionForm { + function getTokenName() + { + return "module.user.UserConfirmForm.TOKEN"; + } + function prepare() { } From minahito @ users.sourceforge.jp Thu Feb 2 17:50:53 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 17:50:53 +0900 Subject: [xoops-cvslog 2063] CVS update: xoops2jp/html/modules/user/forms Message-ID: <20060202085053.1A8E52AC07D@users.sourceforge.jp> Index: xoops2jp/html/modules/user/forms/UserRegisterEditForm.class.php diff -u xoops2jp/html/modules/user/forms/UserRegisterEditForm.class.php:1.1.2.1 xoops2jp/html/modules/user/forms/UserRegisterEditForm.class.php:1.1.2.2 --- xoops2jp/html/modules/user/forms/UserRegisterEditForm.class.php:1.1.2.1 Wed Jan 18 02:26:01 2006 +++ xoops2jp/html/modules/user/forms/UserRegisterEditForm.class.php Thu Feb 2 17:50:52 2006 @@ -67,15 +67,15 @@ function update(&$obj) { - $obj->setVar('uname', $this->get('uname')); - $obj->setVar('email', $this->get('email')); - $obj->setVar('user_viewemail', $this->get('user_viewemail')); - $obj->setVar('url', $this->get('url')); - $obj->setVar('timezone_offset', $this->get('timezone_offset')); - $obj->setVar('pass', $this->get('pass')); - $obj->setVar('vpass', $this->get('vpass')); - $obj->setVar('user_mailok', $this->get('user_mailok')); - $obj->setVar('agree', $this->get('agree')); + $obj->set('uname', $this->get('uname')); + $obj->set('email', $this->get('email')); + $obj->set('user_viewemail', $this->get('user_viewemail')); + $obj->set('url', $this->get('url')); + $obj->set('timezone_offset', $this->get('timezone_offset')); + $obj->set('pass', $this->get('pass')); + $obj->set('vpass', $this->get('vpass')); + $obj->set('user_mailok', $this->get('user_mailok')); + $obj->set('agree', $this->get('agree')); } } From minahito @ users.sourceforge.jp Thu Feb 2 17:51:06 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 17:51:06 +0900 Subject: [xoops-cvslog 2064] CVS update: xoops2jp/html/modules/user/templates Message-ID: <20060202085106.BF5F42AC07D@users.sourceforge.jp> Index: xoops2jp/html/modules/user/templates/user_avatar_edit.html diff -u xoops2jp/html/modules/user/templates/user_avatar_edit.html:1.1.2.2 xoops2jp/html/modules/user/templates/user_avatar_edit.html:1.1.2.3 --- xoops2jp/html/modules/user/templates/user_avatar_edit.html:1.1.2.2 Thu Feb 2 14:34:19 2006 +++ xoops2jp/html/modules/user/templates/user_avatar_edit.html Thu Feb 2 17:51:06 2006 @@ -14,7 +14,7 @@ <{xoops_token form=$actionForm}> - <{xoops_input type=hidden name=uid value=$actionForm->getVar('uid')}> + <{xoops_input type=hidden name=uid value=$actionForm->get('uid')}>
<{$smarty.const._AD_LEGACYRENDER_LANG_TEMPLATE_SET_CLONE}>
From minahito @ users.sourceforge.jp Thu Feb 2 17:51:21 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 17:51:21 +0900 Subject: [xoops-cvslog 2065] CVS update: xoops2jp/html/modules/user/templates Message-ID: <20060202085121.D9A152AC08F@users.sourceforge.jp> Index: xoops2jp/html/modules/user/templates/user_edituser.html diff -u xoops2jp/html/modules/user/templates/user_edituser.html:1.1.2.5 xoops2jp/html/modules/user/templates/user_edituser.html:1.1.2.6 --- xoops2jp/html/modules/user/templates/user_edituser.html:1.1.2.5 Thu Feb 2 14:34:19 2006 +++ xoops2jp/html/modules/user/templates/user_edituser.html Thu Feb 2 17:51:21 2006 @@ -25,91 +25,91 @@ From minahito @ users.sourceforge.jp Thu Feb 2 18:05:07 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 18:05:07 +0900 Subject: [xoops-cvslog 2066] CVS update: xoops2jp/html/modules/pm/templates Message-ID: <20060202090507.422AE2AC025@users.sourceforge.jp> Index: xoops2jp/html/modules/pm/templates/pmlite.html diff -u xoops2jp/html/modules/pm/templates/pmlite.html:1.1.2.4 xoops2jp/html/modules/pm/templates/pmlite.html:1.1.2.5 --- xoops2jp/html/modules/pm/templates/pmlite.html:1.1.2.4 Wed Dec 28 23:34:50 2005 +++ xoops2jp/html/modules/pm/templates/pmlite.html Thu Feb 2 18:05:07 2006 @@ -6,6 +6,7 @@ <{/if}> + <{xoops_token form=$actionForm}>
<{$smarty.const._MD_USER_LANG_AVATAR_EDIT}>
<{$smarty.const._US_REALNAME}> "> - <{xoops_input name=name size=30 maxlength=60 value=$actionForm->getVar('name')}> + <{xoops_input name=name size=30 maxlength=60 value=$actionForm->get('name')}>
<{$smarty.const._US_EMAIL}> "> - <{xoops_input name=email size=30 maxlength=60 value=$actionForm->getVar('email')}>
- getVar('user_viewemail')}>checked<{/if}> /><{$smarty.const._US_ALLOWVIEWEMAIL}> + <{xoops_input name=email size=30 maxlength=60 value=$actionForm->get('email')}>
+ get('user_viewemail')}>checked<{/if}> /><{$smarty.const._US_ALLOWVIEWEMAIL}>
<{$smarty.const._US_WEBSITE}> "> - <{xoops_input name=url size=30 maxlength=100 value=$actionForm->getVar('url')}> + <{xoops_input name=url size=30 maxlength=100 value=$actionForm->get('url')}>
<{$smarty.const._US_ICQ}> "> - <{xoops_input name=user_icq size=15 maxlength=15 value=$actionForm->getVar('user_icq')}> + <{xoops_input name=user_icq size=15 maxlength=15 value=$actionForm->get('user_icq')}>
<{$smarty.const._US_AIM}> "> - <{xoops_input name=user_aim size=18 maxlength=18 value=$actionForm->getVar('user_aim')}> + <{xoops_input name=user_aim size=18 maxlength=18 value=$actionForm->get('user_aim')}>
<{$smarty.const._US_YIM}> "> - <{xoops_input name=user_yim size=25 maxlength=25 value=$actionForm->getVar('user_yim')}> + <{xoops_input name=user_yim size=25 maxlength=25 value=$actionForm->get('user_yim')}>
<{$smarty.const._US_MSNM}> "> - <{xoops_input name=user_msnm size=30 maxlength=100 value=$actionForm->getVar('user_msnm')}> + <{xoops_input name=user_msnm size=30 maxlength=100 value=$actionForm->get('user_msnm')}>
<{$smarty.const._US_LOCATION}> "> - <{xoops_input name=user_from size=30 maxlength=100 value=$actionForm->getVar('user_from')}> + <{xoops_input name=user_from size=30 maxlength=100 value=$actionForm->get('user_from')}>
<{$smarty.const._US_OCCUPATION}> "> - <{xoops_input name=user_occ size=30 maxlength=100 value=$actionForm->getVar('user_occ')}> + <{xoops_input name=user_occ size=30 maxlength=100 value=$actionForm->get('user_occ')}>
<{$smarty.const._US_INTEREST}> "> - <{xoops_input name=user_intrest size=30 maxlength=150 value=$actionForm->getVar('user_intrest')}> + <{xoops_input name=user_intrest size=30 maxlength=150 value=$actionForm->get('user_intrest')}>
<{$smarty.const._US_SIGNATURE}> "> - <{xoops_dhtmltarea name=user_sig value=$actionForm->getVar('user_sig')}>
- getVar('attachsig')}>checked<{/if}> /><{$smarty.const._US_SHOWSIG}> + <{xoops_dhtmltarea name=user_sig value=$actionForm->get('user_sig')}>
+ get('attachsig')}>checked<{/if}> /><{$smarty.const._US_SHOWSIG}>
<{$smarty.const._US_EXTRAINFO}> "> - <{xoops_textarea name=bio value=$actionForm->getVar('bio') rows=5 cols=50 id=bio}> + <{xoops_textarea name=bio value=$actionForm->get('bio') rows=5 cols=50 id=bio}>
<{$smarty.const._US_PASSWORD}>
<{$smarty.const._US_TYPEPASSTWICE}>
"> - <{xoops_input type=password name=pass size=10 maxlength=32 value=$actionForm->getVar('pass')}> - <{xoops_input type=password name=vpass size=10 maxlength=32 value=$actionForm->getVar('vpass')}> + <{xoops_input type=password name=pass size=10 maxlength=32 value=$actionForm->get('pass')}> + <{xoops_input type=password name=vpass size=10 maxlength=32 value=$actionForm->get('vpass')}>
<{$smarty.const._US_MAILOK}> "> - getVar('user_mailok')==1}>checked<{/if}> /><{$smarty.const._YES}> - getVar('user_mailok')==0}>checked<{/if}> /><{$smarty.const._NO}> + get('user_mailok')==1}>checked<{/if}> /><{$smarty.const._YES}> + get('user_mailok')==0}>checked<{/if}> /><{$smarty.const._NO}>
From minahito @ users.sourceforge.jp Thu Feb 2 18:06:35 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 18:06:35 +0900 Subject: [xoops-cvslog 2067] CVS update: xoops2jp/html/modules/pm/templates Message-ID: <20060202090635.CE47A2AC025@users.sourceforge.jp> Index: xoops2jp/html/modules/pm/templates/viewpmsg.html diff -u xoops2jp/html/modules/pm/templates/viewpmsg.html:1.1.2.6 xoops2jp/html/modules/pm/templates/viewpmsg.html:1.1.2.7 --- xoops2jp/html/modules/pm/templates/viewpmsg.html:1.1.2.6 Wed Dec 28 23:34:50 2005 +++ xoops2jp/html/modules/pm/templates/viewpmsg.html Thu Feb 2 18:06:35 2006 @@ -1,7 +1,7 @@

<{$xoops_pagetitle}>


-"><{$smarty.const._PM_PROFILE}>  +"><{$smarty.const._PM_PROFILE}>  »» <{$smarty.const._PM_INBOX}>

<{$smarty.const._PM_TO}>
@@ -28,7 +28,7 @@ <{foreach name=viewpm item=pm from=$pmObjects}> "> <{/foreach}> From minahito @ users.sourceforge.jp Thu Feb 2 18:06:47 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 18:06:47 +0900 Subject: [xoops-cvslog 2068] CVS update: xoops2jp/html/modules/pm/forms Message-ID: <20060202090647.C590F2AC025@users.sourceforge.jp> Index: xoops2jp/html/modules/pm/forms/PmliteEditForm.class.php diff -u xoops2jp/html/modules/pm/forms/PmliteEditForm.class.php:1.1.2.4 xoops2jp/html/modules/pm/forms/PmliteEditForm.class.php:1.1.2.5 --- xoops2jp/html/modules/pm/forms/PmliteEditForm.class.php:1.1.2.4 Wed Nov 16 19:12:25 2005 +++ xoops2jp/html/modules/pm/forms/PmliteEditForm.class.php Thu Feb 2 18:06:47 2006 @@ -4,6 +4,9 @@ /** * This class is generated by makeActionForm tool. + * + * This class was generated in the old days. We should to check it. + * * @auchor makeActionForm * @abstract */ @@ -11,6 +14,11 @@ { var $mState=null; + function getTokenName() + { + return "module.user.PmliteEditForm.TOKEN"; + } + function prepare() { $this->mFormProperties['subject']=new XCube_StringProperty('subject'); @@ -64,12 +72,12 @@ */ function validateTo_userid() { - if($this->getVar('to_userid')) { + if($this->get('to_userid')) { $userHandler=&xoops_gethandler('user'); - $user=&$userHandler->get($this->getVar('to_userid')); + $user=&$userHandler->get($this->get('to_userid')); if(!(is_object($user)&&$user->isActive())) { - $this->setVar('to_userid',0); + $this->set('to_userid',0); $this->addErrorMessage(_PM_USERNOEXIST); } } @@ -81,20 +89,20 @@ function update(&$pm) { $userHandler=&xoops_gethandler('user'); - $toUser=&$userHandler->get($this->getVar('to_userid')); + $toUser=&$userHandler->get($this->get('to_userid')); $pm->setToUsers($toUser); - $pm->setSubject($this->getVar("subject")); - $pm->setMessage($this->getVar("message")); + $pm->setSubject($this->get("subject")); + $pm->setMessage($this->get("message")); } function setToUser(&$user) { - $this->setVar('to_userid',$user->getVar('uid')); + $this->set('to_userid',$user->get('uid')); } function resetToUser() { - $this->setVar('to_userid',0); + $this->set('to_userid',0); } } @@ -113,9 +121,9 @@ */ function validateTo_uname() { - if($this->getVar('to_uname')) { + if($this->get('to_uname')) { $userHandler=&xoops_gethandler('user'); - $criteria=new Criteria("uname",$this->getVar("to_uname")); + $criteria=new Criteria("uname",$this->get("to_uname")); $users=&$userHandler->getObjects($criteria); if(!(count($users)>0 && is_object($users[0]) && $users[0]->isActive())) { @@ -132,18 +140,18 @@ function update(&$pm) { $pm->setToUsers($this->mToUser); - $pm->setSubject($this->getVar("subject")); - $pm->setMessage($this->getVar("message")); + $pm->setSubject($this->get("subject")); + $pm->setMessage($this->get("message")); } function setToUser(&$user) { - $this->setVar('to_uname',$user->getVar('uname')); + $this->set('to_uname',$user->get('uname')); } function resetToUser() { - $this->setVar('to_uname',""); + $this->set('to_uname',""); } } @@ -165,26 +173,26 @@ */ function fetch(&$form) { - if($form->getVar('msg_id')) { + if($form->get('msg_id')) { $pmHandler=&xoops_gethandler('privmessage'); - $pm=&$pmHandler->get($form->getVar('msg_id')); + $pm=&$pmHandler->get($form->get('msg_id')); if(is_object($pm)) { $root=XCube_Root::getSingleton(); $currentUser=&$root->mController->getXoopsUser(); - if($pm->getVar('to_userid')==$currentUser->getVar('uid')) { - if(!preg_match("/^Re:/",$pm->getVar('subject'))) - $form->setVar('subject',"Re: ".$pm->getVar('subject')); + if($pm->get('to_userid')==$currentUser->get('uid')) { + if(!preg_match("/^Re:/",$pm->get('subject'))) + $form->set('subject',"Re: ".$pm->get('subject')); // TODO Use Active Check $userHandler=&xoops_gethandler('user'); - $user=&$userHandler->get($pm->getVar('from_userid')); + $user=&$userHandler->get($pm->get('from_userid')); $form->setToUser($user); $message="[quote]\n"; - $message.=sprintf(_PM_USERWROTE,$user->getVar('uname')) . "\n"; + $message.=sprintf(_PM_USERWROTE,$user->get('uname')) . "\n"; $message.=$pm->getProperty("msg_text") . "\n"; $message.="[/quote]\n"; - $form->setVar("message",$message); + $form->set("message",$message); return; } @@ -194,7 +202,7 @@ // // Reset // - $form->setVar('msg_id',0); + $form->set('msg_id',0); $form->resetToUser(); } } From tom_g3x @ users.sourceforge.jp Thu Feb 2 18:18:04 2006 From: tom_g3x @ users.sourceforge.jp (Tom Hayakawa) Date: Thu, 2 Feb 2006 18:18:04 +0900 Subject: [xoops-cvslog 2069] CVS update: xoops2jp/html/modules/base/admin/templates Message-ID: <20060202091804.E7EE72AC025@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/templates/module_uninstall_confirm.html diff -u xoops2jp/html/modules/base/admin/templates/module_uninstall_confirm.html:1.1.2.5 xoops2jp/html/modules/base/admin/templates/module_uninstall_confirm.html:1.1.2.6 --- xoops2jp/html/modules/base/admin/templates/module_uninstall_confirm.html:1.1.2.5 Mon Jan 30 23:53:49 2006 +++ xoops2jp/html/modules/base/admin/templates/module_uninstall_confirm.html Thu Feb 2 18:18:04 2006 @@ -11,6 +11,7 @@ +<{xoops_token form=$actionForm}>
- " /> + " /> <{if $pm->isRead()}> @@ -38,17 +38,17 @@ <{/if}> - + - <{$pm->getVar("from_userid")|xoops_user:"uname"}> + <{$pm->get("from_userid")|xoops_user:"uname"}> - <{$pm->getVar("subject")}> + <{$pm->getVar("subject")}> - <{$pm->getVar("msg_time")|xoops_formattimestamp}> + <{$pm->get("msg_time")|xoops_formattimestamp}>
Index: xoops2jp/html/modules/base/admin/templates/module_list.html diff -u xoops2jp/html/modules/base/admin/templates/module_list.html:1.1.2.2 xoops2jp/html/modules/base/admin/templates/module_list.html:1.1.2.3 --- xoops2jp/html/modules/base/admin/templates/module_list.html:1.1.2.2 Mon Jan 30 23:53:49 2006 +++ xoops2jp/html/modules/base/admin/templates/module_list.html Thu Feb 2 18:18:04 2006 @@ -8,6 +8,7 @@ +<{xoops_token form=$actionForm}>
<{$smarty.const._MD_A_BASE_LANG_MID}>
Index: xoops2jp/html/modules/base/admin/templates/module_installer_licence.html diff -u xoops2jp/html/modules/base/admin/templates/module_installer_licence.html:1.1.2.3 xoops2jp/html/modules/base/admin/templates/module_installer_licence.html:1.1.2.4 --- xoops2jp/html/modules/base/admin/templates/module_installer_licence.html:1.1.2.3 Mon Jan 30 23:53:50 2006 +++ xoops2jp/html/modules/base/admin/templates/module_installer_licence.html Thu Feb 2 18:18:04 2006 @@ -8,6 +8,7 @@

<{$licence|escape}>

+<{xoops_token form=$actionForm}> Index: xoops2jp/html/modules/base/admin/templates/module_install_confirm.html diff -u xoops2jp/html/modules/base/admin/templates/module_install_confirm.html:1.1.2.5 xoops2jp/html/modules/base/admin/templates/module_install_confirm.html:1.1.2.6 --- xoops2jp/html/modules/base/admin/templates/module_install_confirm.html:1.1.2.5 Mon Jan 30 23:53:50 2006 +++ xoops2jp/html/modules/base/admin/templates/module_install_confirm.html Thu Feb 2 18:18:04 2006 @@ -12,6 +12,7 @@ +<{xoops_token form=$actionForm}>
Index: xoops2jp/html/modules/base/admin/templates/legacy_admin_actionsearch_form.html diff -u xoops2jp/html/modules/base/admin/templates/legacy_admin_actionsearch_form.html:1.1.2.5 xoops2jp/html/modules/base/admin/templates/legacy_admin_actionsearch_form.html:1.1.2.6 --- xoops2jp/html/modules/base/admin/templates/legacy_admin_actionsearch_form.html:1.1.2.5 Thu Feb 2 17:40:48 2006 +++ xoops2jp/html/modules/base/admin/templates/legacy_admin_actionsearch_form.html Thu Feb 2 18:18:04 2006 @@ -7,6 +7,7 @@
<{$smarty.const._MB_A_BASE_LANG_ACTIONSEARCH_INFO}>
+ <{xoops_token form=$actionForm}> value="<{$actionform->get('keywords')|escape}>"<{/if}> /> Index: xoops2jp/html/modules/base/admin/templates/module_update_confirm.html diff -u xoops2jp/html/modules/base/admin/templates/module_update_confirm.html:1.1.2.5 xoops2jp/html/modules/base/admin/templates/module_update_confirm.html:1.1.2.6 --- xoops2jp/html/modules/base/admin/templates/module_update_confirm.html:1.1.2.5 Mon Jan 30 23:53:50 2006 +++ xoops2jp/html/modules/base/admin/templates/module_update_confirm.html Thu Feb 2 18:18:04 2006 @@ -11,6 +11,7 @@ +<{xoops_token form=$actionForm}>
Index: xoops2jp/html/modules/base/admin/templates/module_installer.html diff -u xoops2jp/html/modules/base/admin/templates/module_installer.html:1.1.2.3 xoops2jp/html/modules/base/admin/templates/module_installer.html:1.1.2.4 --- xoops2jp/html/modules/base/admin/templates/module_installer.html:1.1.2.3 Mon Jan 30 23:53:50 2006 +++ xoops2jp/html/modules/base/admin/templates/module_installer.html Thu Feb 2 18:18:04 2006 @@ -12,6 +12,7 @@ +<{xoops_token form=$actionForm}>
From tom_g3x @ users.sourceforge.jp Thu Feb 2 18:18:05 2006 From: tom_g3x @ users.sourceforge.jp (Tom Hayakawa) Date: Thu, 2 Feb 2006 18:18:05 +0900 Subject: [xoops-cvslog 2070] CVS update: xoops2jp/html/modules/base/templates Message-ID: <20060202091805.809942AC094@users.sourceforge.jp> Index: xoops2jp/html/modules/base/templates/legacy_misc_avatars.html diff -u xoops2jp/html/modules/base/templates/legacy_misc_avatars.html:1.1.2.2 xoops2jp/html/modules/base/templates/legacy_misc_avatars.html:1.1.2.3 --- xoops2jp/html/modules/base/templates/legacy_misc_avatars.html:1.1.2.2 Thu Feb 2 15:24:23 2006 +++ xoops2jp/html/modules/base/templates/legacy_misc_avatars.html Thu Feb 2 18:18:05 2006 @@ -14,6 +14,7 @@

<{$smarty.const._MSC_AVAVATARS}>

+<{xoops_token form=$actionForm}>
<{foreach key=key item=avatar from=$avatarsList}> Index: xoops2jp/html/modules/base/templates/legacy_comment_navi.html diff -u xoops2jp/html/modules/base/templates/legacy_comment_navi.html:1.1.2.1 xoops2jp/html/modules/base/templates/legacy_comment_navi.html:1.1.2.2 --- xoops2jp/html/modules/base/templates/legacy_comment_navi.html:1.1.2.1 Wed Jan 25 16:13:08 2006 +++ xoops2jp/html/modules/base/templates/legacy_comment_navi.html Thu Feb 2 18:18:05 2006 @@ -1,4 +1,5 @@ + <{xoops_token form=$actionForm}>
- - - - <{if $commnet->getVar('uid')}> - - <{else}> - - <{/if}> - - - - - - - - \ No newline at end of file Index: xoops2jp/html/modules/comment/templates/comment_reply_input.html diff -u xoops2jp/html/modules/comment/templates/comment_reply_input.html:1.1.2.2 xoops2jp/html/modules/comment/templates/comment_reply_input.html:removed --- xoops2jp/html/modules/comment/templates/comment_reply_input.html:1.1.2.2 Thu Nov 24 18:47:27 2005 +++ xoops2jp/html/modules/comment/templates/comment_reply_input.html Thu Feb 2 18:28:59 2006 @@ -1,44 +0,0 @@ -
From minahito @ users.sourceforge.jp Thu Feb 2 18:22:17 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 18:22:17 +0900 Subject: [xoops-cvslog 2071] CVS update: xoops2jp/html/modules/user Message-ID: <20060202092217.AB7072AC025@users.sourceforge.jp> Index: xoops2jp/html/modules/user/register.php diff -u xoops2jp/html/modules/user/register.php:1.1.2.1 xoops2jp/html/modules/user/register.php:removed --- xoops2jp/html/modules/user/register.php:1.1.2.1 Tue Nov 8 21:12:32 2005 +++ xoops2jp/html/modules/user/register.php Thu Feb 2 18:22:17 2006 @@ -1,20 +0,0 @@ -setActionName("register"); - -$root=&XCube_Root::getSingleton(); -$controller=&$root->getController(); -$controller->setActionStrategy($moduleRunner); - -$controller->executeAction(); - -require_once XOOPS_ROOT_PATH."/footer.php"; - -?> \ No newline at end of file Index: xoops2jp/html/modules/user/register_confirm.php diff -u xoops2jp/html/modules/user/register_confirm.php:1.1.2.1 xoops2jp/html/modules/user/register_confirm.php:removed --- xoops2jp/html/modules/user/register_confirm.php:1.1.2.1 Tue Nov 8 21:12:32 2005 +++ xoops2jp/html/modules/user/register_confirm.php Thu Feb 2 18:22:17 2006 @@ -1,22 +0,0 @@ -setActionName("register_confirm"); - -$root=&XCube_Root::getSingleton(); -$controller=&$root->getController(); -$controller->setActionStrategy($moduleRunner); - -$controller->executeAction(); - -require_once XOOPS_ROOT_PATH."/footer.php"; - -?> \ No newline at end of file From minahito @ users.sourceforge.jp Thu Feb 2 18:22:45 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 18:22:45 +0900 Subject: [xoops-cvslog 2072] CVS update: xoops2jp/html/modules/user/kernel Message-ID: <20060202092245.9DC8F2AC025@users.sourceforge.jp> Index: xoops2jp/html/modules/user/kernel/UserEventFunction.class.php diff -u xoops2jp/html/modules/user/kernel/UserEventFunction.class.php:1.1.2.6 xoops2jp/html/modules/user/kernel/UserEventFunction.class.php:1.1.2.7 --- xoops2jp/html/modules/user/kernel/UserEventFunction.class.php:1.1.2.6 Tue Jan 17 19:38:18 2006 +++ xoops2jp/html/modules/user/kernel/UserEventFunction.class.php Thu Feb 2 18:22:45 2006 @@ -18,7 +18,7 @@ else { $xoopsUser=&$controller->getXoopsUser(); if(is_object($xoopsUser)) - $url=XOOPS_MODULE_URL."/user/index.php?action=UserInfo&uid=".$xoopsUser->getVar('uid'); + $url=XOOPS_MODULE_URL."/user/index.php?action=UserInfo&uid=".$xoopsUser->get('uid'); } $controller->executeForward($url); @@ -56,7 +56,7 @@ switch($op) { case "main": - $url=is_object($xoopsUser) ? XOOPS_MODULE_URL."/user/index.php?action=UserInfo&uid=".$xoopsUser->getVar('uid') + $url=is_object($xoopsUser) ? XOOPS_MODULE_URL."/user/index.php?action=UserInfo&uid=".$xoopsUser->get('uid') : XOOPS_MODULE_URL."/user/index.php"; $controller->executeForward($url); break; @@ -79,8 +79,13 @@ */ function AccessToRegister(&$controller,&$eventArgs) { - // TODO user check? - $controller->executeForward(XOOPS_MODULE_URL."/user/register.php"); + $xoopsUser =& $controller->getXoopsUser(); + if (is_object($xoopsUser)) { + $controller->executeForward(XOOPS_URL); + } + else { + $controller->executeForward(XOOPS_MODULE_URL . "/user/index.php?action=RegisterUser"); + } } function CheckLogin(&$controller,&$eventArgs) @@ -99,7 +104,7 @@ return; } - if($user->getVar('level')==0) { + if($user->get('level')==0) { $eventArgs->setRedirectUrl(XOOPS_URL); $eventArgs->setRedirectMessage(_US_NOACTTPADM); return; @@ -107,7 +112,7 @@ // Regist to session $_SESSION = array(); - $_SESSION['xoopsUserId'] = $user->getVar('uid'); + $_SESSION['xoopsUserId'] = $user->get('uid'); $_SESSION['xoopsUserGroups'] = $user->getGroups(); if (!empty($_POST['xoops_redirect']) && !strpos($_POST['xoops_redirect'], 'register')) { @@ -147,7 +152,7 @@ // clear entry from online users table if (is_object($xoopsUser)) { $onlineHandler =& xoops_gethandler('online'); - $onlineHandler->destroy($xoopsUser->getVar('uid')); + $onlineHandler->destroy($xoopsUser->get('uid')); } $eventArgs['successFlag']=true; @@ -164,6 +169,22 @@ $userHandler->insert($eventArgs['xoopsUser']); } } + + /** + * If the current user is registered user, kick out to the top page. + * Else, forward to the lost-pass page. + */ + function AccessToLostpass(&$controller, &$eventArgs) + { + $xoopsUser =& $controller->getXoopsUser(); + if (is_object($xoopsUser)) { + $controller->executeForward(XOOPS_URL); + } + else { + $controller->executeForward(XOOPS_MODULE_URL . "/user/index.php?action=LostPass"); + } + } + } From minahito @ users.sourceforge.jp Thu Feb 2 18:22:59 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 18:22:59 +0900 Subject: [xoops-cvslog 2073] CVS update: xoops2jp/html/modules/user/kernel Message-ID: <20060202092259.DD7BC2AC025@users.sourceforge.jp> Index: xoops2jp/html/modules/user/kernel/UserEventProxyRegister.class.php diff -u xoops2jp/html/modules/user/kernel/UserEventProxyRegister.class.php:1.1.2.5 xoops2jp/html/modules/user/kernel/UserEventProxyRegister.class.php:1.1.2.6 --- xoops2jp/html/modules/user/kernel/UserEventProxyRegister.class.php:1.1.2.5 Thu Nov 17 12:45:14 2005 +++ xoops2jp/html/modules/user/kernel/UserEventProxyRegister.class.php Thu Feb 2 18:22:59 2006 @@ -6,7 +6,8 @@ { var $_mList=array("Legacypage.Userinfo.Access","Legacypage.Edituser.Access", "Legacypage.User.Access", "Site.CheckLogin", "Site.Logout", - "Legacypage.Register.Access","Site.CheckLogin.Success"); + "Legacypage.Register.Access","Site.CheckLogin.Success", + "Legacypage.Lostpass.Access"); function getEventNameList() { @@ -61,6 +62,13 @@ $delegate=new XCube_Delegate("UserEventFunction","CheckLoginSuccess"); return $delegate; } + + function &createLegacypage_Lostpass_AccessDelegate() + { + require_once XOOPS_MODULE_PATH."/user/kernel/UserEventFunction.class.php"; + $delegate=new XCube_Delegate("UserEventFunction","AccessToLostpass"); + return $delegate; + } } class UserCommonEventFunction From minahito @ users.sourceforge.jp Thu Feb 2 18:28:59 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 18:28:59 +0900 Subject: [xoops-cvslog 2074] CVS update: xoops2jp/html/modules/comment/language/english Message-ID: <20060202092859.989882AC094@users.sourceforge.jp> Index: xoops2jp/html/modules/comment/language/english/main.php diff -u xoops2jp/html/modules/comment/language/english/main.php:1.1.2.1 xoops2jp/html/modules/comment/language/english/main.php:removed --- xoops2jp/html/modules/comment/language/english/main.php:1.1.2.1 Thu Nov 24 01:30:07 2005 +++ xoops2jp/html/modules/comment/language/english/main.php Thu Feb 2 18:28:59 2006 @@ -1,40 +0,0 @@ - \ No newline at end of file Index: xoops2jp/html/modules/comment/language/english/modinfo.php diff -u xoops2jp/html/modules/comment/language/english/modinfo.php:1.1.2.1 xoops2jp/html/modules/comment/language/english/modinfo.php:removed --- xoops2jp/html/modules/comment/language/english/modinfo.php:1.1.2.1 Thu Nov 24 18:43:05 2005 +++ xoops2jp/html/modules/comment/language/english/modinfo.php Thu Feb 2 18:28:59 2006 @@ -1,6 +0,0 @@ - \ No newline at end of file From minahito @ users.sourceforge.jp Thu Feb 2 18:28:59 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 18:28:59 +0900 Subject: [xoops-cvslog 2075] CVS update: xoops2jp/html/modules/comment/templates Message-ID: <20060202092859.CF2662AC09B@users.sourceforge.jp> Index: xoops2jp/html/modules/comment/templates/comment_post_input.html diff -u xoops2jp/html/modules/comment/templates/comment_post_input.html:1.1.2.2 xoops2jp/html/modules/comment/templates/comment_post_input.html:removed --- xoops2jp/html/modules/comment/templates/comment_post_input.html:1.1.2.2 Thu Nov 24 18:47:02 2005 +++ xoops2jp/html/modules/comment/templates/comment_post_input.html Thu Feb 2 18:28:59 2006 @@ -1,44 +0,0 @@ -<{if $reply.title && $reply.text}> - - - - - - - -
- <{$reply.title}> -
- <{$reply.text}> -
-<{/if}> - - -<{xoops_input type=hidden name=objId value=$actionForm->getVar('objId')}> - - - - - - - - - - - - - -
- <{$smarty.const._MD_COMMENT_LANG_TITLE}> - "> - <{xoops_input type=text name=title value=$actionForm->getVar('title')}> -
- <{$smarty.const._MD_COMMENT_LANG_MESSAGE}> - "> - <{xoops_dhtmltarea name=text value=$actionForm->getVar('text')}> -
- <{$smarty.const._MD_COMMENT_LANG_CONTROL}> - "> - -
- \ No newline at end of file Index: xoops2jp/html/modules/comment/templates/comment_comment.html diff -u xoops2jp/html/modules/comment/templates/comment_comment.html:1.1.2.1 xoops2jp/html/modules/comment/templates/comment_comment.html:removed --- xoops2jp/html/modules/comment/templates/comment_comment.html:1.1.2.1 Thu Nov 24 18:46:19 2005 +++ xoops2jp/html/modules/comment/templates/comment_comment.html Thu Feb 2 18:28:59 2006 @@ -1,38 +0,0 @@ - -
- <{$comment.uid|xoops_user:uname}> - -
- <{$lang_posted}>: <{$comment.created_time|xoops_formattimestamp:l}>   - <{$lang_updated}>: <{$comment.modified_time|xoops_formattimestamp:l}> -
-
- USER INFORMATION - - GUEST INFORMATION - -
- ICON<{$comment->getVar('title')}> -
-
- <{$comment->getVar('message')}> -
-
- RES -
- - - - - - -
- <{$comment->getVar('title')}> -
- <{$smarty.const._CM_POSTER}> : <{$comment->getVar('uid')|xoops_user:uname}> - <{$smarty.const._CM_POSTED}> : <{$comment->getVar('created_time')|xoops_formattimestamp:l}>
- <{$comment->getVar('message')}> -
- -
-<{xoops_input type=hidden name=pid value=$actionForm->getVar('pid')}> - - - - - - - - - - - - - -
- <{$smarty.const._MD_COMMENT_LANG_TITLE}> - "> - <{xoops_input type=text name=title value=$actionForm->getVar('title')}> -
- <{$smarty.const._MD_COMMENT_LANG_MESSAGE}> - "> - <{xoops_dhtmltarea name=message value=$actionForm->getVar('message')}> -
- <{$smarty.const._MD_COMMENT_LANG_CONTROL}> - "> - -
-
\ No newline at end of file Index: xoops2jp/html/modules/comment/templates/comment_delete_input.html diff -u xoops2jp/html/modules/comment/templates/comment_delete_input.html:1.1.2.1 xoops2jp/html/modules/comment/templates/comment_delete_input.html:removed --- xoops2jp/html/modules/comment/templates/comment_delete_input.html:1.1.2.1 Thu Nov 24 01:30:40 2005 +++ xoops2jp/html/modules/comment/templates/comment_delete_input.html Thu Feb 2 18:28:59 2006 @@ -1,11 +0,0 @@ - -

<{$smarty.const._CM_DELETESELECT}>

- -
- - - <{$smarty.const._CM_DELETEONE}>
- <{$smarty.const._CM_DELETEALL}> - - -
From minahito @ users.sourceforge.jp Thu Feb 2 18:29:00 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 18:29:00 +0900 Subject: [xoops-cvslog 2076] CVS update: xoops2jp/html/modules/comment/actions Message-ID: <20060202092900.0DB542AC094@users.sourceforge.jp> Index: xoops2jp/html/modules/comment/actions/CommentPostAction.class.php diff -u xoops2jp/html/modules/comment/actions/CommentPostAction.class.php:1.1.2.5 xoops2jp/html/modules/comment/actions/CommentPostAction.class.php:removed --- xoops2jp/html/modules/comment/actions/CommentPostAction.class.php:1.1.2.5 Sat Nov 26 14:12:56 2005 +++ xoops2jp/html/modules/comment/actions/CommentPostAction.class.php Thu Feb 2 18:28:59 2006 @@ -1,112 +0,0 @@ -mRoot->mLanguageManager->loadModuleLanguage("comment"); - $this->_processActionForm($controller); - } - - /** - * @param $controller Base_Controller - * @param $xoopsUser XoopsUserObject - */ - function getDefaultView(&$controller,&$xoopsUser) - { - // - // We cannot but depend on global variable here for compatibility with 2.0.x. - // The cause is that a includer use global variable for parameters. - // - global $com_replytitle, $com_replytext; - if(isset($_REQUEST['com_replytitle']) || isset($_REQUEST['com_replytext'])) { - die("Wrong parameter"); - } - - if(!empty($com_replytitle)) - $this->mReplyAttribte['title']=$com_replytitle; - - if(!empty($com_replytext)) - $this->mReplyAttribte['text']=$com_replytext; - - // - // Get object ID - // - $xoopsModule=&$controller->mModuleController->getXoopsModule(); - $commentConfig=$xoopsModule->getInfo('comments'); - - $mid=$xoopsModule->getVar('mid'); - $className=$commentConfig['pageName']; - $object=$controller->mRoot->ContentManager->fetchContent($mid,$className,intval($_REQUEST['com_itemid'])); - - $this->mActionForm->load($object,$this->mReplyAttribte); - - return COMMENT_FRAME_VIEW_INPUT; - } - - function execute(&$controller,&$xoopsUser) - { - $this->mActionForm->fetch(); - $this->mActionForm->validate(); - - if($this->mActionForm->hasError()){ - // TODO Add code - return COMMENT_FRAME_VIEW_INPUT; - } - - // - // Set up parameters - // - $this->_processService($controller); - - $parameters=array(); - - $parameters['Title']=$this->mActionForm->getVar('title'); - $parameters['Message']=$this->mActionForm->getVar('text'); - $parameters['ObjectId']=$this->mActionForm->getVar('objId'); - $parameters['User']=new Legacy_UserAccountAdapter($xoopsUser); - $parameters['User']=&$xoopsUser; - - $result=&$this->mClient->call("post",$parameters); - - return $result!==false ? COMMENT_FRAME_VIEW_SUCCESS : COMMENT_FRAME_VIEW_ERROR; - } - - function _processActionForm($controoler) - { - $this->mActionForm=new CommentPostForm(); - $this->mActionForm->prepare(); - } - - function executeViewSuccess(&$controller,&$xoopsUser,&$renderSystem) - { - XCube_Utils::redirectHeader(XOOPS_URL,1,"insert!"); - } - - function executeViewError(&$controller,&$xoopsUser,&$renderSystem) - { - // - // TODO - // - die(); - } - - function executeViewInput(&$controller,&$xoopsUser,&$renderSystem) - { - $renderSystem->setTemplateName("comment_post_input.html"); - $renderSystem->setAttribute("actionForm",$this->mActionForm); - $renderSystem->setAttribute("reply",$this->mReplyAttribte); - } -} - -?> \ No newline at end of file Index: xoops2jp/html/modules/comment/actions/CommentReplyAction.class.php diff -u xoops2jp/html/modules/comment/actions/CommentReplyAction.class.php:1.1.2.4 xoops2jp/html/modules/comment/actions/CommentReplyAction.class.php:removed --- xoops2jp/html/modules/comment/actions/CommentReplyAction.class.php:1.1.2.4 Fri Nov 25 00:17:48 2005 +++ xoops2jp/html/modules/comment/actions/CommentReplyAction.class.php Thu Feb 2 18:28:59 2006 @@ -1,82 +0,0 @@ -_processActionForm($controller); - } - - /** - * @param $controller Base_Controller - * @param $xoopsUser XoopsUserObject - */ - function getDefaultView(&$controller,&$xoopsUser) - { - $pid=isset($_REQUEST['pid']) ? intval($_REQUEST['pid']) : 0; - - $parameters=array('Id'=>$pid); - $comment=&$this->mClient->call("getComment",$parameters); - - if(!is_object($comment)) - return COMMENT_FRAME_VIEW_ERROR; - - $this->mActionForm->load($comment); - - if(is_object($comment)) { - $this->mComment=&$comment; - return COMMENT_FRAME_VIEW_INPUT; - } - - return COMMENT_FRAME_VIEW_ERROR; - } - - function execute(&$controller,&$xoopsUser) - { - $this->mActionForm->fetch(); - $this->mActionForm->validate(); - - if($this->mActionForm->hasError()){ - // TODO Add code - return COMMENT_FRAME_VIEW_INPUT; - } - - $parameters=array(); - $parameters['ParentId']=$this->mActionForm->getVar('pid'); - $parameters['User']=new Legacy_UserAccountAdapter($xoopsUser); - $parameters['User']=$xoopsUser; - $parameters['Title']=$this->mActionForm->getVar('title'); - $parameters['Message']=$this->mActionForm->getVar('message'); - - $result=&$this->mClient->call("postResponse",$parameters); - - return COMMENT_FRAME_VIEW_SUCCESS; - } - - function _processActionForm($controoler) - { - $this->mActionForm=new CommentReplyForm(); - $this->mActionForm->prepare(); - } - - function executeViewSuccess(&$controller,&$xoopsUser,&$renderSystem) - { - XCube_Utils::redirectHeader(XOOPS_URL,1,"responce!"); - } - - function executeViewInput(&$controller,&$xoopsUser,&$renderSystem) - { - $renderSystem->setTemplateName("comment_reply_input.html"); - $renderSystem->setAttribute("comment",$this->mComment); - $renderSystem->setAttribute("actionForm",$this->mActionForm); - } -} - -?> \ No newline at end of file Index: xoops2jp/html/modules/comment/actions/CommentDeleteAction.class.php diff -u xoops2jp/html/modules/comment/actions/CommentDeleteAction.class.php:1.1.2.3 xoops2jp/html/modules/comment/actions/CommentDeleteAction.class.php:removed --- xoops2jp/html/modules/comment/actions/CommentDeleteAction.class.php:1.1.2.3 Fri Nov 25 00:18:25 2005 +++ xoops2jp/html/modules/comment/actions/CommentDeleteAction.class.php Thu Feb 2 18:28:59 2006 @@ -1,58 +0,0 @@ -$id); - $comment=&$this->mClient->call("getComment",$pamaraters); - - if(is_object($comment)) { - $this->mComment=&$comment; - return COMMENT_FRAME_VIEW_INPUT; - } - - return COMMENT_FRAME_VIEW_ERROR; - } - - function execute() - { - $id = intval($_REQUEST["id"]); - $deleteAllFlag = intval($_REQUEST["DeleteAll"])==1 ? true : false; - - // - // TODO We check a permission that user can delete this comment. - // - - $parameters=array('Id'=>$id); - if($deleteAllFlag) { - $result=&$this->mClient->call("Delete",$parameters); - } - else { - $result=&$this->mClient->call("DeleteAll",$parameters); - } - - return COMMENT_FRAME_VIEW_SUCCESS; - } - - function executeViewSuccess(&$controller,&$xoopsUser,&$renderSystem) - { - XCube_Utils::redirectHeader(XOOPS_URL,1,"delete!"); - } - - function executeViewInput(&$controller,&$xoopsUser,&$renderSystem) - { - $renderSystem->setTemplateName("comment_delete_input.html"); - $renderSystem->setAttribute("comment",$this->mComment); - } -} - -?> \ No newline at end of file From minahito @ users.sourceforge.jp Thu Feb 2 18:29:00 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 18:29:00 +0900 Subject: [xoops-cvslog 2077] CVS update: xoops2jp/html/modules/comment/images Message-ID: <20060202092900.352492AC09B@users.sourceforge.jp> Index: xoops2jp/html/modules/comment/images/comment.gif From minahito @ users.sourceforge.jp Thu Feb 2 18:29:00 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 18:29:00 +0900 Subject: [xoops-cvslog 2078] CVS update: xoops2jp/html/modules/comment/language/japanese Message-ID: <20060202092900.629B22AC094@users.sourceforge.jp> Index: xoops2jp/html/modules/comment/language/japanese/modinfo.php diff -u xoops2jp/html/modules/comment/language/japanese/modinfo.php:1.1.2.1 xoops2jp/html/modules/comment/language/japanese/modinfo.php:removed --- xoops2jp/html/modules/comment/language/japanese/modinfo.php:1.1.2.1 Thu Nov 24 18:43:15 2005 +++ xoops2jp/html/modules/comment/language/japanese/modinfo.php Thu Feb 2 18:29:00 2006 @@ -1,6 +0,0 @@ - \ No newline at end of file Index: xoops2jp/html/modules/comment/language/japanese/main.php diff -u xoops2jp/html/modules/comment/language/japanese/main.php:1.1.2.1 xoops2jp/html/modules/comment/language/japanese/main.php:removed --- xoops2jp/html/modules/comment/language/japanese/main.php:1.1.2.1 Thu Nov 24 01:30:18 2005 +++ xoops2jp/html/modules/comment/language/japanese/main.php Thu Feb 2 18:29:00 2006 @@ -1,48 +0,0 @@ - \ No newline at end of file From minahito @ users.sourceforge.jp Thu Feb 2 18:29:00 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 18:29:00 +0900 Subject: [xoops-cvslog 2079] CVS update: xoops2jp/html/modules/comment/class Message-ID: <20060202092900.8D4352AC09B@users.sourceforge.jp> Index: xoops2jp/html/modules/comment/class/comments.php diff -u xoops2jp/html/modules/comment/class/comments.php:1.1.2.1 xoops2jp/html/modules/comment/class/comments.php:removed --- xoops2jp/html/modules/comment/class/comments.php:1.1.2.1 Thu Nov 24 18:40:01 2005 +++ xoops2jp/html/modules/comment/class/comments.php Thu Feb 2 18:29:00 2006 @@ -1,268 +0,0 @@ -initVar('id', XOBJ_DTYPE_INT, 0, false); - $this->initVar('pid', XOBJ_DTYPE_INT, 0, false); - $this->initVar('root_id', XOBJ_DTYPE_INT, 0, false); - $this->initVar('obj_id', XOBJ_DTYPE_INT, 0, false); - $this->initVar('icon', XOBJ_DTYPE_TXTBOX, null, false); - $this->initVar('created_time', XOBJ_DTYPE_INT, time(), false); - $this->initVar('modified_time', XOBJ_DTYPE_INT, time(), false); - $this->initVar('uid', XOBJ_DTYPE_INT, 0, true); - $this->initVar('title', XOBJ_DTYPE_TXTBOX, null, true, 255, true); - $this->initVar('message', XOBJ_DTYPE_TXTAREA, null, true, null, true); - $this->initVar('status', XOBJ_DTYPE_INT, 0, false); - - // - // Compatibility flags. - // - $this->initVar('ip', XOBJ_DTYPE_TXTBOX, null, false); - - $this->initVar('sig', XOBJ_DTYPE_INT, 0, false); - $this->initVar('exparams', XOBJ_DTYPE_OTHER, null, false, 255); - - $this->initVar('dohtml', XOBJ_DTYPE_INT, 0, false); - $this->initVar('dosmiley', XOBJ_DTYPE_INT, 1, false); - $this->initVar('doxcode', XOBJ_DTYPE_INT, 1, false); - $this->initVar('doimage', XOBJ_DTYPE_INT, 0, false); - $this->initVar('dobr', XOBJ_DTYPE_INT, 1, false); - } - - /** - * Create a responce comment object, and return it. - * @return XoopsComment - */ - function createChild() - { - $ret=new CommentCommentsObject(); - $ret->setNew(); - $ret->setVar('pid',$this->getVar('id')); - $ret->setVar('root_id',$this->getVar('root_id')); - $ret->setVar('obj_id',$this->getVar('obj_id')); - $ret->setVar('exparams',$this->getVar('exparams')); - - return $ret; - } -} - -class CommentCommentsHandler extends XoopsObjectHandler -{ - function &create($isNew=true) - { - $ret=new CommentCommentsObject(); - if($isNew) - $ret->setNew(); - - return $ret; - } - - function &get($id) - { - $ret=false; - - $sql="SELECT * FROM ".$this->db->prefix("comment_comments")." WHERE id=".intval($id); - $result=$this->db->query($sql); - if(!$result) - return $ret; - - if($this->db->getRowsNum($result)==1) { - $ret = new CommentCommentsObject(); - $ret->assignVars($this->db->fetchArray($result)); - return $ret; - } - - return $ret; - } - - function insert(&$comment,$force=false) - { - if(!is_a($comment,"CommentCommentsObject")) - return false; - - if(!$comment->isDirty()) - return true; - - if(!$comment->cleanVars()) - return false; - - $fields=array( - "id" => $comment->getProperty('id'), - "pid" => $comment->getProperty('pid'), - "root_id" => $comment->getProperty('root_id'), - "obj_id" => $comment->getProperty('obj_id'), - "icon" => $this->db->quoteString($comment->getProperty('icon')), - "created_time" => $comment->getProperty('created_time'), - "modified_time" => $comment->getProperty('modified_time'), - "uid" => $comment->getProperty('uid'), - "title" => $this->db->quoteString($comment->getProperty('title')), - "message" => $this->db->quoteString($comment->getProperty('message')), - "status" => $comment->getProperty('status'), - "ip" => $this->db->quoteString($comment->getProperty('ip')), - "sig" => $comment->getProperty('sig'), - "exparams" => $this->db->quoteString($comment->getProperty('exparams')), - "dohtml" => $comment->getProperty('dohtml'), - "dosmiley" => $comment->getProperty('dosmiley'), - "doxcode" => $comment->getProperty('doxcode'), - "doimage" => $comment->getProperty('doimage'), - "dobr" => $comment->getProperty('dobr') - ); - - // - // Generate SQL - // Because XoopsObject Handler is deprecated, we keep this helper to base class. - // - $sql=null; - $isNewFlag=$comment->isNew(); - if($isNewFlag) { - $sql="INSERT INTO ".$this->db->prefix("comment_comments"). - " ( ".implode(",",array_keys($fields))." ) ". - " VALUES ( ".implode(",",array_values($fields))." )"; - } - else { - $set=array(); - foreach($fields as $key=>$value) { - $set[]= $key . "=" . $value; - } - $sql="UPDATE ".$this->db->prefix("comment_comments"). - " SET ".implode(",",$set)." WHERE id=".$fields['id']; - } - - if($force) { - $result=$this->db->queryF($sql); - } - else { - $result=$this->db->query($sql); - } - if(!$result) - return false; - - if($isNewFlag) { - $comment->setVar('id',$this->db->getInsertId()); - $comment->unsetNew(); - } - - return true; - } - - function delete(&$comment) - { - if(!is_a($comment,"CommentCommentsObject")) - return false; - - $sql="DELETE FORM ".$this->db->prefix("comment_comments")." WHERE id=".$comment->getVar('id'); - $result=$this->db->query($sql); - - return $result ? true : false; - } - - /** - * This function does not impletement about 'is_as_key'. - */ - function &getObjects($criteria=null,$id_as_key=false) - { - $ret=array(); - $start = 0; - $limit = 0; - - $sql="SELECT * FROM ".$this->db->prefix("comment_comments"); - if(isset($criteria)&&is_a($criteria,"CriteriaElemenet")) { - $sql.=" ".$$criteria->renderWhere(); - $sort = ($criteria->getSort() != null) ? $criteria->getSort() : "id"; - $sql.=" ORDER BY ".$sort." ".$criteria->getOrder(); - $start=$criteria->getStart(); - $limit=$criteria->getLimit(); - } - - $result=$this->db->query($sql,$limit,$start); - if(!$result) - return $ret; - - while($row=$this->db->fetchArray($result)) { - $comment=new CommentCommentsObject(); - $comment->assignVars($row); - $ret[]=&$comment; - unset($comment); - } - - return $ret; - } - - /** - * Returns comment objects by object id. - * @param $objectId int - * @param $start int - * @param $limit int - */ - function getObjectsByObjId($objectId,$start=0,$limit=0) - { - $ret=array(); - - // TODO SORT!! - $sql="SELECT * FROM ".$this->db->prefix("comment_comments")." WHERE obj_id=".intval($objectId); - - $result=$this->db->query($sql,$limit,$start); - if(!$result) - return $ret; - - while($row=$this->db->fetchArray($result)) { - $comment=new CommentCommentsObject(); - $comment->assignVars($row); - $ret[]=&$comment; - unset($comment); - } - - return $ret; - } - - function getCount($criteria=null) - { - $sql="SELECT COUNT(*) FROM ".$this->db->prefix("comment_comments"); - if(isset($criteria)&&is_a($criteria,"CriteriaElement")) { - $sql.=" ".$criteria->renderWhere(); - } - - $result=$this->db->query($sql); - if(!$result) - return 0; - - list($count)=$this->db->fetchRow($result); - return $count; - } - - function getChildObjects(&$comment) - { - $ret=array(); - - $table=$this->db->prefix("comment_comments"); - $sql="SELECT * FROM ${table} WHERE pid=" . $comment->getVar("id") . - " AND id<>".$comment->getVar("id"); - $result=$this->db->query($sql); - while($row=$this->db->fetchArray($result)) { - $comment=new CommentCommentsObject(); - $comment->assignVars($row); - $ret[]=&$comment; - unset($comment); - } - - return $ret; - } - - function deleteWithChild(&$comment) - { - foreach($this->getChildObjects($comment) as $child) { - $this->deleteWithChild($child); - } - $this->delete($comment); - - return true; // TODO - } -} - -?> \ No newline at end of file Index: xoops2jp/html/modules/comment/class/CommentActionFrame.class.php diff -u xoops2jp/html/modules/comment/class/CommentActionFrame.class.php:1.1.2.2 xoops2jp/html/modules/comment/class/CommentActionFrame.class.php:removed --- xoops2jp/html/modules/comment/class/CommentActionFrame.class.php:1.1.2.2 Fri Nov 25 00:19:50 2005 +++ xoops2jp/html/modules/comment/class/CommentActionFrame.class.php Thu Feb 2 18:29:00 2006 @@ -1,173 +0,0 @@ - // -// ------------------------------------------------------------------------ // -// 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 // -// ------------------------------------------------------------------------ // - -require_once XOOPS_ROOT_PATH."/class/XCube_ActionStrategy.class.php"; - -define ("COMMENT_FRAME_PERFORM_SUCCESS",1); -define ("COMMENT_FRAME_PERFORM_FAIL",2); -define ("COMMENT_FRAME_INIT_SUCCESS",3); - -define ("COMMENT_FRAME_VIEW_NONE",1); -define ("COMMENT_FRAME_VIEW_SUCCESS",1); -define ("COMMENT_FRAME_VIEW_ERROR",2); -define ("COMMENT_FRAME_VIEW_INDEX",3); -define ("COMMENT_FRAME_VIEW_INPUT",4); - -/** - * This is simple frame work for misc page controller. - * @package user - */ -class CommentActionFrame extends XCube_ActionStrategy -{ - var $mActionName=""; - var $mAction; - - var $mAdminFlag=false; - - function CommentActionFrame($admin=false) - { - $this->mAdminFlag=$admin; - } - - function setActionName($name) - { - $this->mActionName=$name; - } - - function execute(&$controller) - { - if(!preg_match("/^\w+$/",$this->mActionName)) - die(); - - // - // Create action object by mActionName - // - $className="Comment".ucfirst($this->mActionName)."Action"; - $fileName=null; - if($this->mAdminFlag) { - $fileName=XOOPS_MODULE_PATH."/comment/admin/actions/${className}.class.php"; - } - else { - $fileName=XOOPS_MODULE_PATH."/comment/actions/${className}.class.php"; - } - if(!file_exists($fileName)) - die(); // TODO - - require_once $fileName; - if(class_exists($className)) - $this->mAction=new $className(); - - if(!is_object($this->mAction)) - die(); // TODO - - $this->mAction->prepare($controller,$controller->getXoopsUser()); - - if(xoops_getenv("REQUEST_METHOD")=="POST") { - $viewStatus=$this->mAction->execute($controller,$controller->getXoopsUser()); - } - else { - $viewStatus=$this->mAction->getDefaultView($controller,$controller->getXoopsUser()); - } - - switch($viewStatus) { - case COMMENT_FRAME_VIEW_SUCCESS: - $this->mAction->executeViewSuccess($controller,$controller->getXoopsUser(),$controller->mRenderSystem); - break; - - case COMMENT_FRAME_VIEW_ERROR: - $this->mAction->executeViewError($controller,$controller->getXoopsUser(),$controller->mRenderSystem); - break; - - case COMMENT_FRAME_VIEW_INDEX: - $this->mAction->executeViewIndex($controller,$controller->getXoopsUser(),$controller->mRenderSystem); - break; - - case COMMENT_FRAME_VIEW_INPUT: - $this->mAction->executeViewInput($controller,$controller->getXoopsUser(),$controller->mRenderSystem); - break; - } - } -} - -class CommentAction -{ - var $mClient; - - function CommentAction() - { - } - - function prepare(&$controller,&$xoopsUser) - { - $controller->mRoot->mLanguageManager->loadModuleLanguage("comment"); - $this->_processService($controller); - } - - /** - * @param $controller Base_Controller - * @param $xoopsUser XoopsUserObject - */ - function getDefaultView(&$controller,&$xoopsUser) - { - return COMMENT_FRAME_VIEW_NONE; - } - - function execute() - { - return COMMENT_FRAME_VIEW_NONE; - } - - function _processService($controller) - { - $service=&$controller->mRoot->mServiceManager->searchXCubeService('Comment'); - if($service==null) { - die(); // FIXME - } - - $this->mClient=new XCube_ServiceClient($service); - $parameters=array('rule'=>$controller->mModuleController->getConfig('com_rule')); - $result=&$this->mClient->call("setConfig",$parameters); - } - - function executeViewSuccess(&$controller,&$xoopsUser,&$renderSystem) - { - } - - function executeViewError(&$controller,&$xoopsUser,&$renderSystem) - { - } - - function executeViewIndex(&$controller,&$xoopsUser,&$renderSystem) - { - } - - function executeViewInput(&$controller,&$xoopsUser,&$renderSystem) - { - } -} - -?> \ No newline at end of file From minahito @ users.sourceforge.jp Thu Feb 2 18:29:00 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 18:29:00 +0900 Subject: [xoops-cvslog 2080] CVS update: xoops2jp/html/modules/comment/forms Message-ID: <20060202092900.B2A5D2AC094@users.sourceforge.jp> Index: xoops2jp/html/modules/comment/forms/CommentPostForm.class.php diff -u xoops2jp/html/modules/comment/forms/CommentPostForm.class.php:1.1.2.3 xoops2jp/html/modules/comment/forms/CommentPostForm.class.php:removed --- xoops2jp/html/modules/comment/forms/CommentPostForm.class.php:1.1.2.3 Fri Nov 25 03:13:06 2005 +++ xoops2jp/html/modules/comment/forms/CommentPostForm.class.php Thu Feb 2 18:29:00 2006 @@ -1,31 +0,0 @@ -mFormProperties['objId']=new XCube_IntProperty('objId'); - $this->mFormProperties['title']=new XCube_StringProperty('title'); - $this->mFormProperties['text']=new XCube_TextProperty('text'); - } - - function load(&$master,$replyAttr) - { - // - // If replytitle is set, set it to title. - // - if(isset($replyAttr['title']) && !$this->getVar('title')) - $this->setVar('title',"Re:" . $replyAttr['title']); - - $this->setVar('objId',$master->getId()); - } -} - -?> Index: xoops2jp/html/modules/comment/forms/CommentReplyForm.class.php diff -u xoops2jp/html/modules/comment/forms/CommentReplyForm.class.php:1.1.2.3 xoops2jp/html/modules/comment/forms/CommentReplyForm.class.php:removed --- xoops2jp/html/modules/comment/forms/CommentReplyForm.class.php:1.1.2.3 Fri Nov 25 03:13:17 2005 +++ xoops2jp/html/modules/comment/forms/CommentReplyForm.class.php Thu Feb 2 18:29:00 2006 @@ -1,45 +0,0 @@ -mFormProperties['pid']=new XCube_IntProperty('pid'); - $this->mFormProperties['title']=new XCube_StringProperty('title'); - $this->mFormProperties['message']=new XCube_TextProperty('message'); - - // set fields - } - - function load(&$master) - { - $this->setVar('pid',$master->getVar('id')); - - // - // Initialize own title by the com_title of the master. - // - $title=$master->getVar('title'); - if(preg_match("/re\[(\d+)\]:(.+)$/i",$title,$matches)) { - $this->setVar('title', "Re[" . ($matches[1]+1) . "]:" . $matches[2]); - } - elseif(preg_match("/re:(.+)$/i",$title,$matches)) { - $this->setVar('title',"Re[2]:".$matches[1]); - } - else { - $this->setVar('title',"Re:".$title); - } - } - - function update(&$master) - { - } -} - -?> From minahito @ users.sourceforge.jp Thu Feb 2 18:29:00 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 18:29:00 +0900 Subject: [xoops-cvslog 2081] CVS update: xoops2jp/html/modules/comment/sql Message-ID: <20060202092900.D5F182AC09B@users.sourceforge.jp> Index: xoops2jp/html/modules/comment/sql/mysql.sql diff -u xoops2jp/html/modules/comment/sql/mysql.sql:1.1.2.1 xoops2jp/html/modules/comment/sql/mysql.sql:removed --- xoops2jp/html/modules/comment/sql/mysql.sql:1.1.2.1 Thu Nov 24 18:46:05 2005 +++ xoops2jp/html/modules/comment/sql/mysql.sql Thu Feb 2 18:29:00 2006 @@ -1,26 +0,0 @@ -CREATE TABLE comment_comments ( - id mediumint(8) unsigned NOT NULL auto_increment, - pid mediumint(8) unsigned NOT NULL default '0', - root_id mediumint(8) unsigned NOT NULL default '0', - obj_id int(10) unsigned NOT NULL default '0', - icon varchar(25) NOT NULL default '', - created_time int(10) unsigned NOT NULL default '0', - modified_time int(10) unsigned NOT NULL default '0', - uid mediumint(8) unsigned NOT NULL default '0', - ip varchar(15) NOT NULL default '', - title varchar(255) NOT NULL default '', - message text NOT NULL, - status tinyint(1) unsigned NOT NULL default '0', - - sig tinyint(1) unsigned NOT NULL default '0', - exparams varchar(255) NOT NULL default '', - - dohtml tinyint(1) unsigned NOT NULL default '0', - dosmiley tinyint(1) unsigned NOT NULL default '0', - doxcode tinyint(1) unsigned NOT NULL default '0', - doimage tinyint(1) unsigned NOT NULL default '0', - dobr tinyint(1) unsigned NOT NULL default '0', - - PRIMARY KEY(id), - KEY(obj_id) -) TYPE=MyISAM; From minahito @ users.sourceforge.jp Thu Feb 2 18:29:01 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 18:29:01 +0900 Subject: [xoops-cvslog 2082] CVS update: xoops2jp/html/modules/comment/event Message-ID: <20060202092901.070182AC094@users.sourceforge.jp> Index: xoops2jp/html/modules/comment/event/CommentEventFunction.class.php diff -u xoops2jp/html/modules/comment/event/CommentEventFunction.class.php:1.1.2.3 xoops2jp/html/modules/comment/event/CommentEventFunction.class.php:removed --- xoops2jp/html/modules/comment/event/CommentEventFunction.class.php:1.1.2.3 Fri Nov 25 13:26:00 2005 +++ xoops2jp/html/modules/comment/event/CommentEventFunction.class.php Thu Feb 2 18:29:00 2006 @@ -1,48 +0,0 @@ -prepare(); - - $controller->mRenderSystem->setAttribute("comment_ComentPostForm",$form); - }*/ - - /** - * TEST - */ - function PostFormAccess(&$controller,&$envetArgs) - { - $controller->mRoot->mLanguageManager->loadModuleLanguage("comment"); - - require_once XOOPS_ROOT_PATH."/modules/comment/forms/CommentPostForm.class.php"; - $form=new CommentPostForm(); - $form->prepare(); - - $renderTarget=new CommentRenderTarget(); - $renderTarget->setAttribute("actionForm",$form); - $renderTarget->setTemplateName("comment_post_input.html"); - - $controller->mRenderSystem->renderWithTarget($renderTarget); - - $controller->mRenderSystem->setAttribute("comment_post_form",$renderTarget->getResult()); - } -} - -class CommentRenderTarget extends XCube_RenderTarget -{ - function CommentRenderTarget() - { - parent::XCube_RenderTarget(); - } - - function isTheme() - { - return false; - } -} - -?> \ No newline at end of file Index: xoops2jp/html/modules/comment/event/CommentEventProxyRegister.class.php diff -u xoops2jp/html/modules/comment/event/CommentEventProxyRegister.class.php:1.1.2.2 xoops2jp/html/modules/comment/event/CommentEventProxyRegister.class.php:removed --- xoops2jp/html/modules/comment/event/CommentEventProxyRegister.class.php:1.1.2.2 Fri Nov 25 03:11:01 2005 +++ xoops2jp/html/modules/comment/event/CommentEventProxyRegister.class.php Thu Feb 2 18:29:00 2006 @@ -1,29 +0,0 @@ -_mList; - } - - function &createModule_Comment_PostForm_AccessDelegate() - { - require_once XOOPS_ROOT_PATH."/modules/comment/event/CommentEventFunction.class.php"; - $delegate=new XCube_Delegate("CommentEventFunction","PostFormAccess"); - return $delegate; - } -} - -?> \ No newline at end of file From minahito @ users.sourceforge.jp Thu Feb 2 18:29:01 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 18:29:01 +0900 Subject: [xoops-cvslog 2083] CVS update: xoops2jp/html/modules/comment Message-ID: <20060202092901.2FC852AC09B@users.sourceforge.jp> Index: xoops2jp/html/modules/comment/xoops_version.php diff -u xoops2jp/html/modules/comment/xoops_version.php:1.1.2.3 xoops2jp/html/modules/comment/xoops_version.php:removed --- xoops2jp/html/modules/comment/xoops_version.php:1.1.2.3 Fri Nov 25 00:04:24 2005 +++ xoops2jp/html/modules/comment/xoops_version.php Thu Feb 2 18:29:01 2006 @@ -1,58 +0,0 @@ - // -// ------------------------------------------------------------------------ // -// 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_COMMENT_NAME; -$modversion['version'] = 1.00; -$modversion['description'] = _MI_COMMENT_NAME_DESC; -$modversion['author'] = ""; -$modversion['credits'] = "The XOOPS Cube Project"; -$modversion['license'] = "GPL see LICENSE"; -$modversion['official'] = 1; -$modversion['image'] = "images/comment.gif"; -$modversion['dirname'] = "comment"; - -// -// Database Setting -// -$modversion['sqlfile']['mysql'] = "sql/mysql.sql"; -$modversion['tables'][0] = "comment_comments"; - -// Admin things -$modversion['hasAdmin'] = 1; -$modversion['adminindex'] = "admin/index.php"; -$modversion['adminmenu'] = "admin/menu.php"; - -// Templates -$modversion['templates'][1]['file'] = "comment_delete_input.html"; -$modversion['templates'][2]['file'] = "comment_reply_input.html"; -$modversion['templates'][3]['file'] = "comment_post_input.html"; -$modversion['templates'][4]['file'] = "comment_comment.html"; - -// Menu -$modversion['hasMain'] = 0; - -?> From minahito @ users.sourceforge.jp Thu Feb 2 18:29:01 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 18:29:01 +0900 Subject: [xoops-cvslog 2084] CVS update: xoops2jp/html/modules/comment/service Message-ID: <20060202092901.542252AC09D@users.sourceforge.jp> Index: xoops2jp/html/modules/comment/service/LegacyCommentService.class.php diff -u xoops2jp/html/modules/comment/service/LegacyCommentService.class.php:1.1.2.2 xoops2jp/html/modules/comment/service/LegacyCommentService.class.php:removed --- xoops2jp/html/modules/comment/service/LegacyCommentService.class.php:1.1.2.2 Thu Nov 24 18:45:07 2005 +++ xoops2jp/html/modules/comment/service/LegacyCommentService.class.php Thu Feb 2 18:29:01 2006 @@ -1,173 +0,0 @@ -mRule=$parameters['rule']; - - $dmy=null; - return $dmy; - } - - function doGetComment(&$parameters) - { - $commentHandler=&xoops_getmodulehandler('comments','comment'); - $comment=&$commentHandler->get($parameters['Id']); - - return $comment; - } - - function doGetComments(&$parameters) - { - $commentHandler=&xoops_getmodulehandler('comments','comment'); - $comments=&$commentHandler->getObjectsByObjId($parameters['ObjectId']); - - return $comments; - } - - function doPost(&$parameters) - { - $ret=false; - - /* TODO START */ - $commentHandler=&xoops_getmodulehandler('comments','comment'); - $comment=&$commentHandler->create(); - - $comment->setVar('obj_id',$parameters['ObjectId']); - - if(isset($parameters['Icon'])) { - $comment->setVar('icon',$parameters['Icon']); - } - else { - $comment->setVar('icon','blank.gif'); - } - - $comment->setVar('title',$parameters['Title']); - $comment->setVar('message',$parameters['Message']); - $comment->setVar('uid',$parameters['User']->getId()); - - $comment->setVar("status",XOOPS_COMMENT_PENDING); - - if(isset($parameters['Ip'])) - $comment->setVar("ip",$parameters['Ip']); - - if(!$commentHandler->insert($comment)) - return $ret; - - // - // If this is a top comment, set own id as root id. - // - $comment->setVar('root_id',$comment->getVar('id')); - if($commentHandler->insert($comment)) { - $ret=&$comment; - } - else { - $commentHandler->delete($comment); - } - - return $ret; - } - - function doPostResponse(&$parameters) - { - $ret=false; - - // - // TODO We must remove 'CODE CLONE' - // - - - /* TODO START */ - $commentHandler=&xoops_getmodulehandler('comments','comment'); - $parentComment=&$commentHandler->get($parameters['ParentId']); - if(!is_object($parentComment)) - return $ret; - - $comment=&$parentComment->createChild(); - - if(isset($parameters['Icon'])) { - $comment->setVar('icon',$parameters['Icon']); - } - else { - $comment->setVar('icon','blank.gif'); - } - - $comment->setVar('title',$parameters['Title']); - $comment->setVar('message',$parameters['Message']); - $comment->setVar('uid',$parameters['User']->getId()); - - $comment->setVar("status",XOOPS_COMMENT_PENDING); - - if(isset($parameters['Ip'])) - $comment->setVar("ip",$parameters['Ip']); - - if(!$commentHandler->insert($comment)) - return $ret; - - /* TODO END */ - - if($commentHandler->insert($comment)) - $ret=&$comment; - - return $ret; - } - - function doGetTotalComments(&$parameters) - { - $ret=0; - - $commentHandler=&xoops_gethandler('comment'); - - $criteria=new CriteriaCompo(new Criteria('com_modid',$parameters['mid'])); - $criteria->add(new Criteria('com_itemid',$parameters['itemId'])); - $criteria->add(new Criteria("com_status",XOOPS_COMMENT_ACTIVE)); - $ret=$commentHandler->getCount($criteria); - - return $ret; - } - - function doDelete(&$parameters) - { - $commentHandler=&xoops_gethandler('comment'); - $id=$parameters['Id']; - $comment=&$commentHandler->get($id); - - // - // Check - // - - $ret = $commentHandler->delete($comment); - - return $ret; - } - - function doDeleteAll(&$parameters) - { - $ret=true; //< TODO - - $commentHandler=&xoops_gethandler('comment'); - $id=$parameters['Id']; - $comment=&$commentHandler->get($id); - - // - // Check - // - - $commentHandler->deleteWithChild($comment); - - return $ret; - } -} - -?> \ No newline at end of file From minahito @ users.sourceforge.jp Thu Feb 2 18:36:33 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 18:36:33 +0900 Subject: [xoops-cvslog 2085] CVS update: xoops2jp/html/modules/user/language/english Message-ID: <20060202093633.42BDB2AC025@users.sourceforge.jp> Index: xoops2jp/html/modules/user/language/english/modinfo.php diff -u xoops2jp/html/modules/user/language/english/modinfo.php:1.1.2.4 xoops2jp/html/modules/user/language/english/modinfo.php:1.1.2.5 --- xoops2jp/html/modules/user/language/english/modinfo.php:1.1.2.4 Thu Jan 19 21:09:31 2006 +++ xoops2jp/html/modules/user/language/english/modinfo.php Thu Feb 2 18:36:33 2006 @@ -1,7 +1,45 @@ Index: xoops2jp/html/class/XCube_ActionForm.class.php diff -u xoops2jp/html/class/XCube_ActionForm.class.php:1.1.2.26 xoops2jp/html/class/XCube_ActionForm.class.php:1.1.2.27 --- xoops2jp/html/class/XCube_ActionForm.class.php:1.1.2.26 Sat Jan 28 23:50:29 2006 +++ xoops2jp/html/class/XCube_ActionForm.class.php Thu Feb 2 20:49:23 2006 @@ -63,6 +63,16 @@ return $this->_mToken; } + /** + * Return message when the validation of token is fail. + * + * @return string + */ + function getTokenErrorMessage() + { + return _TOKEN_ERROR; + } + function set() { if(isset($this->mFormProperties[func_get_arg(0)])) { @@ -128,12 +138,24 @@ if ($this->getTokenName() != null) { $token = xoops_getrequest(strtr($this->getTokenName(), '.', '_')); + $flag = true; + if (!isset($_SESSION['XCUBE_TOKEN'][$this->getTokenName()])) { - $this->addErrorMessage(_TOKEN_ERROR); + $flag = false; } elseif ($_SESSION['XCUBE_TOKEN'][$this->getTokenName()] != $token) { unset($_SESSION['XCUBE_TOKEN'][$this->getTokenName()]); - $this->addErrorMessage(_TOKEN_ERROR); + $flag = false; + } + + if (!$flag) { + $message = $this->getTokenErrorMessage(); + if ($message == null) { + $this->mErrorFlag = true; + } + else { + $this->addErrorMessage($message); + } } // @@ -167,9 +189,14 @@ } } + /** + * If the action form keeps error messages or the error flag, return true. + * + * @return bool + */ function hasError() { - return count($this->mErrorMessages)>0; + return (count($this->mErrorMessages) > 0 || $this->mErrorFlag); } function addErrorMessage($message) From minahito @ users.sourceforge.jp Thu Feb 2 20:57:17 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 20:57:17 +0900 Subject: [xoops-cvslog 2087] CVS update: xoops2jp/html/modules/base/admin/templates Message-ID: <20060202115717.2C82D2AC00E@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/templates/modulelist_confirm.html diff -u xoops2jp/html/modules/base/admin/templates/modulelist_confirm.html:1.1.2.3 xoops2jp/html/modules/base/admin/templates/modulelist_confirm.html:removed --- xoops2jp/html/modules/base/admin/templates/modulelist_confirm.html:1.1.2.3 Thu Feb 2 17:40:48 2006 +++ xoops2jp/html/modules/base/admin/templates/modulelist_confirm.html Thu Feb 2 20:57:17 2006 @@ -1,69 +0,0 @@ -
- <{$smarty.const._MI_BASE_NAME}> - »» <{$smarty.const._MI_BASE_MENU_MODULELIST}> - »» <{$smarty.const._MD_A_BASE_LANG_MODUPDATE_CONF}> -
- -

<{$smarty.const._MD_A_BASE_LANG_MODUPDATE_CONF}>

- -
- - - - - - - - - -<{foreach item=mid from=$mids}> - - - - - - - - - <{if $actionform->get('isactive',$mid)}> - - <{else}> - - <{/if}> -<{/foreach}> - - - -
<{$smarty.const._MD_A_BASE_LANG_MID}><{$smarty.const._MD_A_BASE_LANG_NAME}><{$smarty.const._MD_A_BASE_LANG_WEIGHT}><{$smarty.const._MD_A_BASE_LANG_ISACTIVE}>
<{$mid}> - <{if $actionform->get('name',$mid) == $moduleObjects[$mid]->getProperty('name')}> - <{$actionform->get('name',$mid)|escape}> - <{else}> - (<{$moduleObjects[$mid]->getVar('name',e)}>) » <{$actionform->get('name',$mid)|escape}> - <{/if}> - - <{if $actionform->get('weight',$mid) == $moduleObjects[$mid]->getProperty('weight')}> - <{$actionform->get('weight',$mid)|escape}> - <{else}> - (<{$moduleObjects[$mid]->getVar('weight')}>) » <{$actionform->get('weight',$mid)|escape}> - <{/if}> - - <{if $actionform->get('isactive',$mid) == $moduleObjects[$mid]->getProperty('isactive')}> - <{$smarty.const._MD_A_BASE_LANG_NO_CHANGE}> - <{else}> - (<{if $moduleObjects[$mid]->getProperty('isactive') == 1 }> - <{$smarty.const._MD_A_BASE_LANG_ISACTIVE}> - <{else}> - <{$smarty.const._MD_A_BASE_LANG_DEACTIVATE}> - <{/if}>) - » - - <{if $actionform->get('isactive',$mid) == 1}> - <{$smarty.const._MD_A_BASE_LANG_ISACTIVE}> - <{else}> - <{$smarty.const._MD_A_BASE_LANG_DEACTIVATE}> - <{/if}> - <{/if}> -
- -
-
From minahito @ users.sourceforge.jp Thu Feb 2 20:57:55 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 20:57:55 +0900 Subject: [xoops-cvslog 2088] CVS update: xoops2jp/html/modules/base/admin/templates Message-ID: <20060202115755.12A992AC025@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/templates/module_list_confirm.html diff -u /dev/null xoops2jp/html/modules/base/admin/templates/module_list_confirm.html:1.1.2.1 --- /dev/null Thu Feb 2 20:57:55 2006 +++ xoops2jp/html/modules/base/admin/templates/module_list_confirm.html Thu Feb 2 20:57:54 2006 @@ -0,0 +1,78 @@ +
+ <{$smarty.const._MI_BASE_NAME}> + »» <{$smarty.const._MI_BASE_MENU_MODULELIST}> + »» <{$smarty.const._MD_A_BASE_LANG_MODUPDATE_CONF}> +
+ +

<{$smarty.const._MD_A_BASE_LANG_MODUPDATE_CONF}>

+ +<{if $actionForm->hasError()}> +
    + <{foreach item=message from=$actionForm->getErrorMessages()}> +
  • <{$message|escape}>
  • + <{/foreach}> +
+<{/if}> + +
+ <{xoops_token form=$actionForm}> + <{xoops_input type=hidden name=confirm value=1}> + + + + + + + + +<{foreach item=mid from=$mids}> + + + + + + + + + <{if $actionForm->get('isactive',$mid)}> + + <{else}> + + <{/if}> +<{/foreach}> + + + +
<{$smarty.const._MD_A_BASE_LANG_MID}><{$smarty.const._MD_A_BASE_LANG_NAME}><{$smarty.const._MD_A_BASE_LANG_WEIGHT}><{$smarty.const._MD_A_BASE_LANG_ISACTIVE}>
<{$mid}> + <{if $actionForm->get('name',$mid) == $moduleObjects[$mid]->getProperty('name')}> + <{$actionForm->get('name',$mid)|escape}> + <{else}> + (<{$moduleObjects[$mid]->getVar('name',e)}>) » <{$actionForm->get('name',$mid)|escape}> + <{/if}> + + <{if $actionForm->get('weight',$mid) == $moduleObjects[$mid]->getProperty('weight')}> + <{$actionForm->get('weight',$mid)|escape}> + <{else}> + (<{$moduleObjects[$mid]->getVar('weight')}>) » <{$actionForm->get('weight',$mid)|escape}> + <{/if}> + + <{if $actionForm->get('isactive',$mid) == $moduleObjects[$mid]->getProperty('isactive')}> + <{$smarty.const._MD_A_BASE_LANG_NO_CHANGE}> + <{else}> + (<{if $moduleObjects[$mid]->getProperty('isactive') == 1 }> + <{$smarty.const._MD_A_BASE_LANG_ISACTIVE}> + <{else}> + <{$smarty.const._MD_A_BASE_LANG_DEACTIVATE}> + <{/if}>) + » + + <{if $actionForm->get('isactive',$mid) == 1}> + <{$smarty.const._MD_A_BASE_LANG_ISACTIVE}> + <{else}> + <{$smarty.const._MD_A_BASE_LANG_DEACTIVATE}> + <{/if}> + <{/if}> +
+ +
+
From minahito @ users.sourceforge.jp Thu Feb 2 20:58:19 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 20:58:19 +0900 Subject: [xoops-cvslog 2089] CVS update: xoops2jp/html/modules/base/admin/templates Message-ID: <20060202115819.F060E2AC00E@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/templates/module_list.html diff -u xoops2jp/html/modules/base/admin/templates/module_list.html:1.1.2.3 xoops2jp/html/modules/base/admin/templates/module_list.html:1.1.2.4 --- xoops2jp/html/modules/base/admin/templates/module_list.html:1.1.2.3 Thu Feb 2 18:18:04 2006 +++ xoops2jp/html/modules/base/admin/templates/module_list.html Thu Feb 2 20:58:19 2006 @@ -7,6 +7,14 @@ +<{if $actionForm->hasError()}> +
    + <{foreach item=message from=$actionForm->getErrorMessages()}> +
  • <{$message|escape}>
  • + <{/foreach}> +
+<{/if}> +
<{xoops_token form=$actionForm}> From minahito @ users.sourceforge.jp Thu Feb 2 20:58:40 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 20:58:40 +0900 Subject: [xoops-cvslog 2090] CVS update: xoops2jp/html/modules/base/admin/forms Message-ID: <20060202115840.10E292AC00E@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/forms/ModuleSettingsForm.class.php diff -u xoops2jp/html/modules/base/admin/forms/ModuleSettingsForm.class.php:1.1.2.1 xoops2jp/html/modules/base/admin/forms/ModuleSettingsForm.class.php:removed --- xoops2jp/html/modules/base/admin/forms/ModuleSettingsForm.class.php:1.1.2.1 Thu Dec 1 14:17:19 2005 +++ xoops2jp/html/modules/base/admin/forms/ModuleSettingsForm.class.php Thu Feb 2 20:58:40 2006 @@ -1,39 +0,0 @@ -mFormProperties['name']=new XCube_StringArrayProperty('name'); - $this->mFormProperties['weight']=new XCube_IntArrayProperty('weight'); - $this->mFormProperties['isactive']=new XCube_IntArrayProperty('isactive'); - - // set fields - $this->mFieldProperties['name']=new XCube_FieldProperty($this); - $this->mFieldProperties['name']->setDependsByArray(array('required','maxlength')); - $this->mFieldProperties['name']->addMessage("required",_MD_A_BASE_ERROR_REQUIRED,_MD_A_BASE_LANG_NAME,"140"); - $this->mFieldProperties['name']->addMessage("maxlength",_MD_A_BASE_ERROR_MAXLENGTH,_MD_A_BASE_LANG_NAME,"140"); - $this->mFieldProperties['name']->addVar("maxlength",140); - - $this->mFieldProperties['weight']=new XCube_FieldProperty($this); - $this->mFieldProperties['weight']->setDependsByArray(array('required','min')); - $this->mFieldProperties['weight']->addMessage("min",_MD_A_BASE_ERROR_MIN,_MD_A_BASE_LANG_WEIGHT,"0"); - $this->mFieldProperties['weight']->addVar("min",0); - - $this->mFieldProperties['isactive']=new XCube_FieldProperty($this); - $this->mFieldProperties['isactive']->setDependsByArray(array('required','intRange')); - $this->mFieldProperties['isactive']->addMessage("min",_MD_A_BASE_ERROR_ABOUT_ISACTIVE); - $this->mFieldProperties['isactive']->addVar("min",0); - $this->mFieldProperties['isactive']->addVar("max",1); - - } -} - -?> From minahito @ users.sourceforge.jp Thu Feb 2 20:59:31 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 20:59:31 +0900 Subject: [xoops-cvslog 2091] CVS update: xoops2jp/html/modules/base/admin/forms Message-ID: <20060202115931.8EA662AC00E@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/forms/ModuleListForm.class.php diff -u /dev/null xoops2jp/html/modules/base/admin/forms/ModuleListForm.class.php:1.1.2.1 --- /dev/null Thu Feb 2 20:59:31 2006 +++ xoops2jp/html/modules/base/admin/forms/ModuleListForm.class.php Thu Feb 2 20:59:31 2006 @@ -0,0 +1,57 @@ +mFormProperties['name']=new XCube_StringArrayProperty('name'); + $this->mFormProperties['weight']=new XCube_IntArrayProperty('weight'); + $this->mFormProperties['isactive']=new XCube_BoolArrayProperty('isactive'); + + // set fields + $this->mFieldProperties['name']=new XCube_FieldProperty($this); + $this->mFieldProperties['name']->setDependsByArray(array('required','maxlength')); + $this->mFieldProperties['name']->addMessage("required",_MD_A_BASE_ERROR_REQUIRED,_MD_A_BASE_LANG_NAME,"140"); + $this->mFieldProperties['name']->addMessage("maxlength",_MD_A_BASE_ERROR_MAXLENGTH,_MD_A_BASE_LANG_NAME,"140"); + $this->mFieldProperties['name']->addVar("maxlength",140); + + $this->mFieldProperties['weight']=new XCube_FieldProperty($this); + $this->mFieldProperties['weight']->setDependsByArray(array('required','min')); + $this->mFieldProperties['weight']->addMessage("min",_MD_A_BASE_ERROR_MIN,_MD_A_BASE_LANG_WEIGHT,"0"); + $this->mFieldProperties['weight']->addVar("min",0); + } +} + +?> From minahito @ users.sourceforge.jp Thu Feb 2 21:00:43 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 21:00:43 +0900 Subject: [xoops-cvslog 2092] CVS update: xoops2jp/html/modules/base/admin/actions Message-ID: <20060202120043.0BD5B2AC025@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/actions/ModuleListAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/ModuleListAction.class.php:1.1.2.1 xoops2jp/html/modules/base/admin/actions/ModuleListAction.class.php:1.1.2.2 --- xoops2jp/html/modules/base/admin/actions/ModuleListAction.class.php:1.1.2.1 Thu Jan 26 01:18:51 2006 +++ xoops2jp/html/modules/base/admin/actions/ModuleListAction.class.php Thu Feb 2 21:00:42 2006 @@ -1,92 +1,90 @@ mDB=&$controller->getDB(); + $this->mDB =& $controller->getDB(); + + $this->mActionForm =& new Legacy_ModuleSettingsForm(); + $this->mActionForm->prepare(); } + - function getDefaultView(&$controller,&$xoopsUser) + function getDefaultView(&$controller, &$xoopsUser) { - $this->mFilter=new ModuleListFilterForm(); + $this->mFilter =& new ModuleListFilterForm(); $this->mFilter->fetch(); - $moduleHandler=&xoops_gethandler('module'); + $moduleHandler =& xoops_gethandler('module'); // dmy - $criteria=new Criteria('mid',0,'>'); + $criteria =& new Criteria('mid',0,'>'); $criteria->setSort($this->mFilter->getSort()); $criteria->setOrder($this->mFilter->getOrder()); - $this->mModuleObjects=&$moduleHandler->getObjects($criteria); + $this->mModuleObjects =& $moduleHandler->getObjects($criteria); return LEGACY_FRAME_VIEW_INDEX; } - function execute(&$controller,&$xoopsUser) + function execute(&$controller, &$xoopsUser) { - $moduleHandler=&xoops_gethandler('module'); - $objests=$moduleHandler->getObjects(); - - $this->mForm=new ModuleSettingsForm(); - $this->mForm->prepare(); - - $this->mForm->fetch(); - $this->mForm->validate(); + $this->mActionForm->fetch(); + $this->mActionForm->validate(); - if($this->mForm->hasError() || !isset($_POST['dummy_ticket'])) { - return $this->_processConfirm($controller,$xoopsUser); + if ($this->mActionForm->hasError()) { + return $this->_processConfirm($controller, $xoopsUser); } else { - return $this->_processSave($controller,$xoopsUser); + return $this->_processSave($controller, $xoopsUser); } - } function _processConfirm(&$controller,&$xoopsUser) { - $moduleHandler=&xoops_gethandler('module'); - $objests=$moduleHandler->getObjects(); + $moduleHandler =& xoops_gethandler('module'); + $objects =& $moduleHandler->getObjects(); // // Do mapping. // - foreach($objests as $modObject) { - $this->mModuleObjects[$modObject->getVar('mid')]=&$modObject; + foreach ($objects as $modObject) { + $this->mModuleObjects[$modObject->get('mid')] =& $modObject; unset($modObject); } return LEGACY_FRAME_VIEW_INPUT; } - function _processSave(&$controller,&$xoopsUser) + function _processSave(&$controller, &$xoopsUser) { - $moduleHandler=&xoops_gethandler('module'); - $objects=$moduleHandler->getObjects(); + $moduleHandler =& xoops_gethandler('module'); + $objects =& $moduleHandler->getObjects(); - $successFlag=true; + $successFlag = true; foreach($objects as $modObject) { - $mid=$modObject->getVar('mid'); - $modObject->setVar('name',$this->mForm->getVar('name',$mid)); - $modObject->setVar('weight',$this->mForm->getVar('weight',$mid)); - $modObject->setVar('isactive',$this->mForm->getVar('isactive',$mid)); + $mid = $modObject->get('mid'); + $modObject->set('name', $this->mActionForm->get('name', $mid)); + $modObject->set('weight', $this->mActionForm->get('weight', $mid)); + $modObject->set('isactive', $this->mActionForm->get('isactive', $mid)); // // Store. // - $successFlag&=$moduleHandler->insert($modObject); + $successFlag &= $moduleHandler->insert($modObject); } return $successFlag ? LEGACY_FRAME_VIEW_SUCCESS : LEGACY_FRAME_VIEW_ERROR; @@ -95,43 +93,46 @@ /** * To support a template writer, this send the list of mid that actionForm kept. */ - function executeViewInput(&$controller,&$xoopsUser,&$renderer) + function executeViewInput(&$controller, &$xoopsUser, &$render) { - $renderer->setTemplateName("modulelist_confirm.html"); - $renderer->setAttribute('moduleObjects',$this->mModuleObjects); - $renderer->setAttribute('actionForm',$this->mForm); + $render->setTemplateName("module_list_confirm.html"); + $render->setAttribute('moduleObjects', $this->mModuleObjects); + $render->setAttribute('actionForm', $this->mActionForm); // // To support a template writer, this send the list of mid that // actionForm kept. // - $tarray=&$this->mForm->getVar('name'); - $renderer->setAttribute('mids',array_keys($tarray)); + $tarray=&$this->mActionForm->get('name'); + $render->setAttribute('mids', array_keys($tarray)); } - function executeViewIndex(&$controller,&$xoopsUser,&$renderer) + function executeViewIndex(&$controller, &$xoopsUser, &$render) { - $renderer->setTemplateName("module_list.html"); + $render->setTemplateName("module_list.html"); + $render->setAttribute('actionForm', $this->mActionForm); // // Load adminmenu before we assign these to template. // foreach(array_keys($this->mModuleObjects) as $key) { $this->mModuleObjects[$key]->loadAdminMenu(); - $this->mModuleObjects[$key]->loadInfo($this->mModuleObjects[$key]->getVar('dirname')); + $this->mModuleObjects[$key]->loadInfo($this->mModuleObjects[$key]->get('dirname')); } - - $renderer->setAttribute('moduleObjects',$this->mModuleObjects); + $render->setAttribute('moduleObjects', $this->mModuleObjects); } function executeViewSuccess(&$controller,&$xoopsUser,&$renderer) { - XCube_Utils::redirectHeader('./index.php?action=ModuleList',1,"*SUCCESS*"); + $controller->executeForward('./index.php?action=ModuleList'); } - function executeViewError(&$controller,&$xoopsUser,&$renderer) + function executeViewError(&$controller, &$xoopsUser, &$renderer) { - XCube_Utils::redirectHeader('./index.php?action=ModuleList',1,"*ERROR*"); + // + // TODO removed + // + XCube_Utils::redirectHeader('./index.php?action=ModuleList', 1, "*ERROR*"); } } From minahito @ users.sourceforge.jp Thu Feb 2 21:00:58 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 21:00:58 +0900 Subject: [xoops-cvslog 2093] CVS update: xoops2jp/html/modules/base/admin/.xml Message-ID: <20060202120058.7FADB2AC025@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/.xml/module_update.xml diff -u /dev/null xoops2jp/html/modules/base/admin/.xml/module_update.xml:1.1.2.1 --- /dev/null Thu Feb 2 21:00:58 2006 +++ xoops2jp/html/modules/base/admin/.xml/module_update.xml Thu Feb 2 21:00:58 2006 @@ -0,0 +1,8 @@ + + + + + + + + From minahito @ users.sourceforge.jp Thu Feb 2 21:01:27 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 21:01:27 +0900 Subject: [xoops-cvslog 2094] CVS update: xoops2jp/html/modules/base/admin/actions Message-ID: <20060202120127.778CE2AC025@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/actions/ModuleUpdateAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/ModuleUpdateAction.class.php:1.1.2.1 xoops2jp/html/modules/base/admin/actions/ModuleUpdateAction.class.php:1.1.2.2 --- xoops2jp/html/modules/base/admin/actions/ModuleUpdateAction.class.php:1.1.2.1 Thu Jan 26 01:18:51 2006 +++ xoops2jp/html/modules/base/admin/actions/ModuleUpdateAction.class.php Thu Feb 2 21:01:27 2006 @@ -1,10 +1,11 @@ mActionForm =& new Legacy_ModuleUpdateForm(); + $this->mActionForm->prepare(); + } + function executeViewSuccess(&$controller,&$xoopsUser,&$renderer) { $renderer->setTemplateName("module_update_success.html"); @@ -24,6 +31,7 @@ { $renderer->setTemplateName("module_update_confirm.html"); $renderer->setAttribute('module',$this->mModuleObject); + $renderer->setAttribute('actionForm',$this->mActionForm); } } From minahito @ users.sourceforge.jp Thu Feb 2 21:01:40 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 21:01:40 +0900 Subject: [xoops-cvslog 2095] CVS update: xoops2jp/html/modules/base/admin/forms Message-ID: <20060202120140.2EF372AC025@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/forms/ModuleUpdateForm.class.php diff -u /dev/null xoops2jp/html/modules/base/admin/forms/ModuleUpdateForm.class.php:1.1.2.1 --- /dev/null Thu Feb 2 21:01:40 2006 +++ xoops2jp/html/modules/base/admin/forms/ModuleUpdateForm.class.php Thu Feb 2 21:01:40 2006 @@ -0,0 +1,37 @@ +get('dirname'); + } + + function prepare() + { + // + // Set form properties + // + $this->mFormProperties['dirname'] =& new XCube_StringProperty('dirname'); + $this->mFormProperties['agree'] =& new XCube_BoolProperty('agree'); + $this->mFormProperties['force'] =& new XCube_BoolProperty('force'); + + // + // Set field properties + // + } + + function load(&$obj) + { + $this->set('dirname', $obj->get('dirname')); + } + + function update(&$obj) + { + $obj->set('dirname', $this->get('dirname')); + } +} + +?> From minahito @ users.sourceforge.jp Thu Feb 2 21:03:15 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 21:03:15 +0900 Subject: [xoops-cvslog 2096] CVS update: xoops2jp/html/modules/base/admin/actions Message-ID: <20060202120315.F39FA2AC025@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/actions/ModuleListAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/ModuleListAction.class.php:1.1.2.2 xoops2jp/html/modules/base/admin/actions/ModuleListAction.class.php:1.1.2.3 --- xoops2jp/html/modules/base/admin/actions/ModuleListAction.class.php:1.1.2.2 Thu Feb 2 21:00:42 2006 +++ xoops2jp/html/modules/base/admin/actions/ModuleListAction.class.php Thu Feb 2 21:03:15 2006 @@ -1,6 +1,6 @@ mDB =& $controller->getDB(); - $this->mActionForm =& new Legacy_ModuleSettingsForm(); + $this->mActionForm =& new Legacy_ModuleListForm(); $this->mActionForm->prepare(); } From minahito @ users.sourceforge.jp Thu Feb 2 21:03:50 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 21:03:50 +0900 Subject: [xoops-cvslog 2097] CVS update: xoops2jp/html/modules/base/admin/actions Message-ID: <20060202120350.2CDF92AC025@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/actions/ModuleListAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/ModuleListAction.class.php:1.1.2.3 xoops2jp/html/modules/base/admin/actions/ModuleListAction.class.php:1.1.2.4 --- xoops2jp/html/modules/base/admin/actions/ModuleListAction.class.php:1.1.2.3 Thu Feb 2 21:03:15 2006 +++ xoops2jp/html/modules/base/admin/actions/ModuleListAction.class.php Thu Feb 2 21:03:50 2006 @@ -1,10 +1,10 @@ Index: xoops2jp/html/modules/base/admin/forms/ModuleUninstallForm.class.php diff -u /dev/null xoops2jp/html/modules/base/admin/forms/ModuleUninstallForm.class.php:1.1.2.1 --- /dev/null Thu Feb 2 21:04:34 2006 +++ xoops2jp/html/modules/base/admin/forms/ModuleUninstallForm.class.php Thu Feb 2 21:04:34 2006 @@ -0,0 +1,35 @@ +get('dirname'); + } + + function prepare() + { + // + // Set form properties + // + $this->mFormProperties['dirname'] =& new XCube_StringProperty('dirname'); + + // + // Set field properties + // + } + + function load(&$obj) + { + $this->set('dirname', $obj->get('dirname')); + } + + function update(&$obj) + { + $obj->set('dirname', $this->get('dirname')); + } +} + +?> From minahito @ users.sourceforge.jp Thu Feb 2 21:04:46 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 21:04:46 +0900 Subject: [xoops-cvslog 2099] CVS update: xoops2jp/html/modules/base/admin/.xml Message-ID: <20060202120446.C9F9A2AC025@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/.xml/module_uninstall.xml diff -u /dev/null xoops2jp/html/modules/base/admin/.xml/module_uninstall.xml:1.1.2.1 --- /dev/null Thu Feb 2 21:04:46 2006 +++ xoops2jp/html/modules/base/admin/.xml/module_uninstall.xml Thu Feb 2 21:04:46 2006 @@ -0,0 +1,6 @@ + + + + + + From minahito @ users.sourceforge.jp Thu Feb 2 21:05:15 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 21:05:15 +0900 Subject: [xoops-cvslog 2100] CVS update: xoops2jp/html/modules/base/admin/actions Message-ID: <20060202120515.6DB962AC025@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/actions/ModuleUninstallAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/ModuleUninstallAction.class.php:1.1.2.1 xoops2jp/html/modules/base/admin/actions/ModuleUninstallAction.class.php:1.1.2.2 --- xoops2jp/html/modules/base/admin/actions/ModuleUninstallAction.class.php:1.1.2.1 Thu Jan 26 01:18:51 2006 +++ xoops2jp/html/modules/base/admin/actions/ModuleUninstallAction.class.php Thu Feb 2 21:05:15 2006 @@ -1,10 +1,11 @@ mActionForm =& new Legacy_ModuleUninstallForm(); + $this->mActionForm->prepare(); + } function executeViewSuccess(&$controller,&$xoopsUser,&$renderer) { @@ -26,6 +33,7 @@ function executeViewIndex(&$controller,&$xoopsUser,&$renderer) { $renderer->setTemplateName("module_uninstall_confirm.html"); + $renderer->setAttribute('actionForm',$this->mActionForm); $renderer->setAttribute('module',$this->mModuleObject); } } From minahito @ users.sourceforge.jp Thu Feb 2 21:05:26 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 21:05:26 +0900 Subject: [xoops-cvslog 2101] CVS update: xoops2jp/html/modules/base/admin/actions Message-ID: <20060202120526.EE09E2AC025@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/actions/AbstractModuleInstallAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/AbstractModuleInstallAction.class.php:1.1.2.4 xoops2jp/html/modules/base/admin/actions/AbstractModuleInstallAction.class.php:1.1.2.5 --- xoops2jp/html/modules/base/admin/actions/AbstractModuleInstallAction.class.php:1.1.2.4 Thu Jan 26 01:18:51 2006 +++ xoops2jp/html/modules/base/admin/actions/AbstractModuleInstallAction.class.php Thu Feb 2 21:05:26 2006 @@ -14,6 +14,17 @@ var $mModuleObject = null; var $mLog = null; + var $mActionForm = null; + + function prepare(&$controller, &$xoopsUser) + { + $this->_setupActionForm(); + } + + function _setupActionForm() + { + } + function getDefaultView(&$controller, &$xoopsUser) { $dirname = trim($_GET['dirname']); @@ -27,6 +38,8 @@ return LEGACY_FRAME_VIEW_ERROR; } + $this->mActionForm->load($this->mModuleObject); + $this->mModuleObject->loadAdminMenu(); $this->mModuleObject->loadInfo($dirname); @@ -35,30 +48,27 @@ function execute(&$controller, &$xoopsUser) { - $dirname = trim($_POST['dirname']); - $agree = false; - if (isset($_POST['agree'])) { - $agree = intval($_POST['agree']) > 0 ? true : false; + $this->mActionForm->fetch(); + $this->mActionForm->validate(); + + if ($this->mActionForm->hasError()) { + return LEGACY_FRAME_VIEW_INPUT; } - - $force=false; - if(isset($_POST['force'])) - $force=intval($_POST['force'])>0 ? true : false; - - $installer =& $this->_getInstaller($dirname); - $this->mModuleObject =& $installer->loadModuleObject($dirname); + + $installer =& $this->_getInstaller($this->mActionForm->get('dirname')); + $this->mModuleObject =& $installer->loadModuleObject($this->mActionForm->get('dirname')); if (!is_object($this->mModuleObject)) { return LEGACY_FRAME_VIEW_ERROR; } - if ($installer->hasAgree() && !$agree) { + if ($installer->hasAgree() && !$this->mActionForm->get('agree')) { $this->_loadAgreement(); return LEGACY_FRAME_VIEW_INPUT; } - $installer->setForceMode($force); - $installer->execute($dirname); + $installer->setForceMode($this->mActionForm->get('force')); + $installer->execute($this->mActionForm->get('dirname')); $this->mLog =& $installer->getLog(); From minahito @ users.sourceforge.jp Thu Feb 2 21:06:45 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 21:06:45 +0900 Subject: [xoops-cvslog 2102] CVS update: xoops2jp/html/modules/base/admin/.xml Message-ID: <20060202120645.947E72AC08F@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/.xml/module_install.xml diff -u /dev/null xoops2jp/html/modules/base/admin/.xml/module_install.xml:1.1.2.1 --- /dev/null Thu Feb 2 21:06:45 2006 +++ xoops2jp/html/modules/base/admin/.xml/module_install.xml Thu Feb 2 21:06:45 2006 @@ -0,0 +1,8 @@ + + + + + + + + From minahito @ users.sourceforge.jp Thu Feb 2 21:10:42 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 21:10:42 +0900 Subject: [xoops-cvslog 2103] CVS update: xoops2jp/html/modules/base/admin/class Message-ID: <20060202121042.D70442AC025@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/class/ModuleUtils.class.php diff -u xoops2jp/html/modules/base/admin/class/ModuleUtils.class.php:1.1.2.9 xoops2jp/html/modules/base/admin/class/ModuleUtils.class.php:1.1.2.10 --- xoops2jp/html/modules/base/admin/class/ModuleUtils.class.php:1.1.2.9 Wed Jan 25 17:02:36 2006 +++ xoops2jp/html/modules/base/admin/class/ModuleUtils.class.php Thu Feb 2 21:10:42 2006 @@ -323,34 +323,36 @@ $configHandler =& xoops_gethandler('config'); $count = 0; - foreach ($configInfos as $configInfo) { - $config =& $configHandler->createConfig(); - - $config->setVar('conf_modid', $module->getVar('mid')); - $config->setVar('conf_catid', 0); - $config->setVar('conf_name', $configInfo['name']); - $config->setVar('conf_title', $configInfo['title'], true); - $config->setVar('conf_desc', $configInfo['description'], true); - $config->setVar('conf_formtype', $configInfo['formtype'], true); - $config->setVar('conf_valuetype', $configInfo['valuetype'], true); - $config->setConfValueForInput($configInfo['default'], true); - $config->setVar('conf_order', $count++); - - if (isset($configInfo['options']) && is_array($configInfo['options'])) { - foreach ($configInfo['options'] as $key => $value) { - $configOption =& $configHandler->createConfigOption(); - $configOption->setVar('confop_name', $key, true); - $configOption->setVar('confop_value', $value, true); - $config->setConfOptions($configOption); - unset($configOption); + if (is_array($configInfos)) { + foreach ($configInfos as $configInfo) { + $config =& $configHandler->createConfig(); + + $config->setVar('conf_modid', $module->getVar('mid')); + $config->setVar('conf_catid', 0); + $config->setVar('conf_name', $configInfo['name']); + $config->setVar('conf_title', $configInfo['title'], true); + $config->setVar('conf_desc', $configInfo['description'], true); + $config->setVar('conf_formtype', $configInfo['formtype'], true); + $config->setVar('conf_valuetype', $configInfo['valuetype'], true); + $config->setConfValueForInput($configInfo['default'], true); + $config->setVar('conf_order', $count++); + + if (isset($configInfo['options']) && is_array($configInfo['options'])) { + foreach ($configInfo['options'] as $key => $value) { + $configOption =& $configHandler->createConfigOption(); + $configOption->setVar('confop_name', $key, true); + $configOption->setVar('confop_value', $value, true); + $config->setConfOptions($configOption); + unset($configOption); + } } + + if (!$configHandler->insertConfig($config)) { + $log->addError("ERROR: Could not insert config " . $configInfo['name']); + } + + unset($config); } - - if (!$configHandler->insertConfig($config)) { - $log->addError("ERROR: Could not insert config " . $configInfo['name']); - } - - unset($config); } } From minahito @ users.sourceforge.jp Thu Feb 2 21:11:01 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 21:11:01 +0900 Subject: [xoops-cvslog 2104] CVS update: xoops2jp/html/modules/base/admin/actions Message-ID: <20060202121101.D2CDE2AC025@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/actions/ModuleInstallAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/ModuleInstallAction.class.php:1.1.2.1 xoops2jp/html/modules/base/admin/actions/ModuleInstallAction.class.php:1.1.2.2 --- xoops2jp/html/modules/base/admin/actions/ModuleInstallAction.class.php:1.1.2.1 Thu Jan 26 01:18:51 2006 +++ xoops2jp/html/modules/base/admin/actions/ModuleInstallAction.class.php Thu Feb 2 21:11:01 2006 @@ -1,10 +1,11 @@ mActionForm =& new Legacy_ModuleInstallForm(); + $this->mActionForm->prepare(); + } function _loadAgreement() { @@ -49,6 +56,7 @@ function executeViewIndex(&$controller,&$xoopsUser,&$renderer) { $renderer->setAttribute('module', $this->mModuleObject); + $renderer->setAttribute('actionForm', $this->mActionForm); if (isset($this->mModuleObject->modinfo['installer'])) { $renderer->setAttribute('image', $this->mModuleObject->modinfo['installer']['image']); From minahito @ users.sourceforge.jp Thu Feb 2 21:11:18 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 21:11:18 +0900 Subject: [xoops-cvslog 2105] CVS update: xoops2jp/html/modules/base/admin/forms Message-ID: <20060202121118.AA23A2AC025@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/forms/ModuleInstallForm.class.php diff -u /dev/null xoops2jp/html/modules/base/admin/forms/ModuleInstallForm.class.php:1.1.2.1 --- /dev/null Thu Feb 2 21:11:18 2006 +++ xoops2jp/html/modules/base/admin/forms/ModuleInstallForm.class.php Thu Feb 2 21:11:18 2006 @@ -0,0 +1,37 @@ +get('dirname'); + } + + function prepare() + { + // + // Set form properties + // + $this->mFormProperties['dirname'] =& new XCube_StringProperty('dirname'); + $this->mFormProperties['agree'] =& new XCube_BoolProperty('agree'); + $this->mFormProperties['force'] =& new XCube_BoolProperty('force'); + + // + // Set field properties + // + } + + function load(&$obj) + { + $this->set('dirname', $obj->get('dirname')); + } + + function update(&$obj) + { + $obj->set('dirname', $this->get('dirname')); + } +} + +?> From minahito @ users.sourceforge.jp Thu Feb 2 21:22:17 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 21:22:17 +0900 Subject: [xoops-cvslog 2106] CVS update: xoops2jp/html/modules/base/admin Message-ID: <20060202122217.89B502AC03C@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/menu.php diff -u xoops2jp/html/modules/base/admin/menu.php:1.1.2.5 xoops2jp/html/modules/base/admin/menu.php:1.1.2.6 --- xoops2jp/html/modules/base/admin/menu.php:1.1.2.5 Sun Jan 29 00:51:42 2006 +++ xoops2jp/html/modules/base/admin/menu.php Thu Feb 2 21:22:17 2006 @@ -1,6 +1,6 @@ Index: xoops2jp/html/modules/base/admin/templates/install_list.html diff -u /dev/null xoops2jp/html/modules/base/admin/templates/install_list.html:1.1.2.1 --- /dev/null Thu Feb 2 21:22:44 2006 +++ xoops2jp/html/modules/base/admin/templates/install_list.html Thu Feb 2 21:22:44 2006 @@ -0,0 +1,30 @@ + + +

<{$smarty.const._MD_A_BASE_LANG_MODINSTALL}>

+ +
<{$smarty.const._MD_A_BASE_LANG_MODINSTALL_LIST_ADVICE}>
+ +
+ + + + + + <{foreach item=module from=$moduleObjects}> + + + + + + <{/foreach}> +
<{$smarty.const._MD_A_BASE_LANG_NAME}><{$smarty.const._MD_A_BASE_LANG_VERSION}><{$smarty.const._MD_A_BASE_LANG_CONTROL}>
+ <{$module->getVar('name','e')}>
+ <{$module->getVar('name')}> +
<{$module->getRenderedVersion()}> + " alt="<{$smarty.const._MD_A_BASE_LANG_INSTALL}>" /> + " alt="<{$smarty.const._MD_A_BASE_LANG_INFORMATION}>" /> +
Index: xoops2jp/html/modules/base/admin/templates/deactive_module_list.html diff -u xoops2jp/html/modules/base/admin/templates/deactive_module_list.html:1.1.2.4 xoops2jp/html/modules/base/admin/templates/deactive_module_list.html:removed --- xoops2jp/html/modules/base/admin/templates/deactive_module_list.html:1.1.2.4 Mon Jan 30 23:53:50 2006 +++ xoops2jp/html/modules/base/admin/templates/deactive_module_list.html Thu Feb 2 21:22:44 2006 @@ -1,30 +0,0 @@ - - -

<{$smarty.const._MD_A_BASE_LANG_MODINSTALL}>

- -
<{$smarty.const._MD_A_BASE_LANG_MODINSTALL_LIST_ADVICE}>
- - - - - - - - <{foreach item=module from=$moduleObjects}> - - - - - - <{/foreach}> -
<{$smarty.const._MD_A_BASE_LANG_NAME}><{$smarty.const._MD_A_BASE_LANG_VERSION}><{$smarty.const._MD_A_BASE_LANG_CONTROL}>
- <{$module->getVar('name','e')}>
- <{$module->getVar('name')}> -
<{$module->getRenderedVersion()}> - " alt="<{$smarty.const._MD_A_BASE_LANG_INSTALL}>" /> - " alt="<{$smarty.const._MD_A_BASE_LANG_INFORMATION}>" /> -
From minahito @ users.sourceforge.jp Thu Feb 2 21:22:44 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 21:22:44 +0900 Subject: [xoops-cvslog 2108] CVS update: xoops2jp/html/modules/base/admin/actions Message-ID: <20060202122244.EBAE92AC03C@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/actions/InstallListAction.class.php diff -u /dev/null xoops2jp/html/modules/base/admin/actions/InstallListAction.class.php:1.1.2.1 --- /dev/null Thu Feb 2 21:22:44 2006 +++ xoops2jp/html/modules/base/admin/actions/InstallListAction.class.php Thu Feb 2 21:22:44 2006 @@ -0,0 +1,36 @@ +getDB(); + $handler = new Legacy_DeactiveModuleHandler($db); + + $this->mModuleObjects =& $handler->getObjects(); + + return LEGACY_FRAME_VIEW_INDEX; + } + + function executeViewIndex(&$controller, &$xoopsUser, &$renderer) + { + $renderer->setTemplateName("install_list.html"); + $renderer->setAttribute('moduleObjects',$this->mModuleObjects); + } +} + +?> \ No newline at end of file Index: xoops2jp/html/modules/base/admin/actions/ModuleDeactiveListAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/ModuleDeactiveListAction.class.php:1.1.2.1 xoops2jp/html/modules/base/admin/actions/ModuleDeactiveListAction.class.php:removed --- xoops2jp/html/modules/base/admin/actions/ModuleDeactiveListAction.class.php:1.1.2.1 Thu Jan 26 01:18:51 2006 +++ xoops2jp/html/modules/base/admin/actions/ModuleDeactiveListAction.class.php Thu Feb 2 21:22:44 2006 @@ -1,34 +0,0 @@ -getDB(); - $handler = new Legacy_DeactiveModuleHandler($db); - - $this->mModuleObjects =& $handler->getObjects(); - - return LEGACY_FRAME_VIEW_INDEX; - } - - function executeViewIndex(&$controller, &$xoopsUser, &$renderer) - { - $renderer->setTemplateName("deactive_module_list.html"); - $renderer->setAttribute('moduleObjects',$this->mModuleObjects); - } -} - -?> \ No newline at end of file From minahito @ users.sourceforge.jp Thu Feb 2 21:27:06 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 21:27:06 +0900 Subject: [xoops-cvslog 2109] CVS update: xoops2jp/html/modules/base/admin/templates Message-ID: <20060202122706.B4F692AC013@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/templates/module_installers_error.html diff -u xoops2jp/html/modules/base/admin/templates/module_installers_error.html:1.1.2.4 xoops2jp/html/modules/base/admin/templates/module_installers_error.html:removed --- xoops2jp/html/modules/base/admin/templates/module_installers_error.html:1.1.2.4 Mon Jan 30 23:53:50 2006 +++ xoops2jp/html/modules/base/admin/templates/module_installers_error.html Thu Feb 2 21:27:06 2006 @@ -1,13 +0,0 @@ -

<{$smarty.const._ERROR}>

- -
    -<{foreach item=msg from=$log}> - <{if $msg.type=="error"}> -
  • <{$msg.message}>
  • - <{elseif $msg.type=="warning"}> -
  • <{$msg.message}>
  • - <{else}> -
  • <{$msg.message}>
  • - <{/if}> -<{/foreach}> -
Index: xoops2jp/html/modules/base/admin/templates/module_installer_error.html diff -u /dev/null xoops2jp/html/modules/base/admin/templates/module_installer_error.html:1.1.2.1 --- /dev/null Thu Feb 2 21:27:06 2006 +++ xoops2jp/html/modules/base/admin/templates/module_installer_error.html Thu Feb 2 21:27:06 2006 @@ -0,0 +1,13 @@ +

<{$smarty.const._ERROR}>

+ +
    +<{foreach item=msg from=$log}> + <{if $msg.type=="error"}> +
  • <{$msg.message}>
  • + <{elseif $msg.type=="warning"}> +
  • <{$msg.message}>
  • + <{else}> +
  • <{$msg.message}>
  • + <{/if}> +<{/foreach}> +
Index: xoops2jp/html/modules/base/admin/templates/module_update.html diff -u /dev/null xoops2jp/html/modules/base/admin/templates/module_update.html:1.1.2.1 --- /dev/null Thu Feb 2 21:27:06 2006 +++ xoops2jp/html/modules/base/admin/templates/module_update.html Thu Feb 2 21:27:06 2006 @@ -0,0 +1,70 @@ +
+ <{$smarty.const._MI_BASE_NAME}> + »» <{$smarty.const._MI_BASE_MENU_MODULELIST}> + »» <{$smarty.const._MD_A_BASE_LANG_MODUPDATE_CONF}> +
+ +

<{$smarty.const._MD_A_BASE_LANG_MODUPDATE_CONF}>

+ +
    +
  • <{$smarty.const._MD_A_BASE_LANG_MODUPDATE_ADVICE|replace:"_%s_":$module->getVar('name','e')}> +
+ + +<{xoops_token form=$actionForm}> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
<{$smarty.const._MD_A_BASE_LANG_MODUPDATE_CONF}>
+ +
<{$module->modinfo.name|escape}>
+
<{$smarty.const._MD_A_BASE_LANG_NAME}><{$module->getVar('name',e)}>
<{$smarty.const._MD_A_BASE_LANG_MOD_DIR_NAME}><{$module->getVar('dirname',e)}>
<{$smarty.const._MD_A_BASE_LANG_VERSION}><{math equation="v/100" v=$module->getVar('version') format="%.2f"}> + <{if $module->getVar('version') != $module->modinfo.version * 100 }> + » <{math equation=$module->modinfo.version format="%.2f"}> + <{/if}> +
<{$smarty.const._MD_A_BASE_LANG_MID}> + <{if $module->getVar('mid')}> + <{$module->getVar('mid')}> + <{else}> + -- + <{/if}> +
<{$smarty.const._MD_A_BASE_LANG_LASTUPDATE}> + <{if $module->getVar('last_update')}> + <{$module->getVar('last_update')|xoops_formattimestamp:l}> + <{else}> + -- + <{/if}> +
<{$smarty.const._MD_A_BASE_LANG_MOD_DESC}><{$module->modinfo.description|escape}>
+ +
+
Index: xoops2jp/html/modules/base/admin/templates/module_uninstall.html diff -u /dev/null xoops2jp/html/modules/base/admin/templates/module_uninstall.html:1.1.2.1 --- /dev/null Thu Feb 2 21:27:06 2006 +++ xoops2jp/html/modules/base/admin/templates/module_uninstall.html Thu Feb 2 21:27:06 2006 @@ -0,0 +1,76 @@ +
+ <{$smarty.const._MI_BASE_NAME}> + »» <{$smarty.const._MI_BASE_MENU_MODULELIST}> + »» <{$smarty.const._MD_A_BASE_LANG_MODUNINSTALL_CONF}> +
+ +

<{$smarty.const._MD_A_BASE_LANG_MODUNINSTALL_CONF}>

+ +
    +
  • <{$smarty.const._MD_A_BASE_LANG_MODUNINSTALL_ADVICE|replace:"_%s_":$module->getVar('name','e')}> +
+ +
+<{xoops_token form=$actionForm}> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
<{$smarty.const._MD_A_BASE_LANG_MODUNINSTALL_CONF}>
+ +
<{$module->modinfo.name|escape}>
+
<{$smarty.const._MD_A_BASE_LANG_NAME}><{$module->getVar('name',e)}>
<{$smarty.const._MD_A_BASE_LANG_MOD_DIR_NAME}><{$module->getVar('dirname',e)}>
<{$smarty.const._MD_A_BASE_LANG_VERSION}> + <{math equation="v/100" v=$module->getVar('version') format="%.2f"}> + <{if $module->getVar('version') != $module->modinfo.version * 100 }> + » <{math equation=$module->modinfo.version format="%.2f"}> + <{/if}> +
<{$smarty.const._MD_A_BASE_LANG_MID}> + <{if $module->getVar('mid')}> + <{$module->getVar('mid')}> + <{else}> + -- + <{/if}> +
<{$smarty.const._MD_A_BASE_LANG_LASTUPDATE}> + <{if $module->getVar('last_update')}> + <{$module->getVar('last_update')|xoops_formattimestamp:l}> + <{else}> + -- + <{/if}> +
<{$smarty.const._MD_A_BASE_LANG_MOD_DESC}><{$module->modinfo.description|escape}>
+ <{$smarty.const._MD_A_BASE_LANG_FORCE_MODE}> +
+ +
+
Index: xoops2jp/html/modules/base/admin/templates/module_uninstall_confirm.html diff -u xoops2jp/html/modules/base/admin/templates/module_uninstall_confirm.html:1.1.2.6 xoops2jp/html/modules/base/admin/templates/module_uninstall_confirm.html:removed --- xoops2jp/html/modules/base/admin/templates/module_uninstall_confirm.html:1.1.2.6 Thu Feb 2 18:18:04 2006 +++ xoops2jp/html/modules/base/admin/templates/module_uninstall_confirm.html Thu Feb 2 21:27:06 2006 @@ -1,76 +0,0 @@ -
- <{$smarty.const._MI_BASE_NAME}> - »» <{$smarty.const._MI_BASE_MENU_MODULELIST}> - »» <{$smarty.const._MD_A_BASE_LANG_MODUNINSTALL_CONF}> -
- -

<{$smarty.const._MD_A_BASE_LANG_MODUNINSTALL_CONF}>

- -
    -
  • <{$smarty.const._MD_A_BASE_LANG_MODUNINSTALL_ADVICE|replace:"_%s_":$module->getVar('name','e')}> -
- -
-<{xoops_token form=$actionForm}> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<{$smarty.const._MD_A_BASE_LANG_MODUNINSTALL_CONF}>
- -
<{$module->modinfo.name|escape}>
-
<{$smarty.const._MD_A_BASE_LANG_NAME}><{$module->getVar('name',e)}>
<{$smarty.const._MD_A_BASE_LANG_MOD_DIR_NAME}><{$module->getVar('dirname',e)}>
<{$smarty.const._MD_A_BASE_LANG_VERSION}> - <{math equation="v/100" v=$module->getVar('version') format="%.2f"}> - <{if $module->getVar('version') != $module->modinfo.version * 100 }> - » <{math equation=$module->modinfo.version format="%.2f"}> - <{/if}> -
<{$smarty.const._MD_A_BASE_LANG_MID}> - <{if $module->getVar('mid')}> - <{$module->getVar('mid')}> - <{else}> - -- - <{/if}> -
<{$smarty.const._MD_A_BASE_LANG_LASTUPDATE}> - <{if $module->getVar('last_update')}> - <{$module->getVar('last_update')|xoops_formattimestamp:l}> - <{else}> - -- - <{/if}> -
<{$smarty.const._MD_A_BASE_LANG_MOD_DESC}><{$module->modinfo.description|escape}>
- <{$smarty.const._MD_A_BASE_LANG_FORCE_MODE}> -
- -
-
Index: xoops2jp/html/modules/base/admin/templates/module_install.html diff -u /dev/null xoops2jp/html/modules/base/admin/templates/module_install.html:1.1.2.1 --- /dev/null Thu Feb 2 21:27:06 2006 +++ xoops2jp/html/modules/base/admin/templates/module_install.html Thu Feb 2 21:27:06 2006 @@ -0,0 +1,71 @@ +
+ <{$smarty.const._MI_BASE_NAME}> + »» <{$smarty.const._MI_BASE_MENU_MODULELIST}> + »» <{$smarty.const._MD_A_BASE_LANG_MODINSTALL}> + »» <{$smarty.const._MD_A_BASE_LANG_MODINSTALL_CONF}> +
+ +

<{$smarty.const._MD_A_BASE_LANG_MODINSTALL_CONF}>

+ +
    +
  • <{$smarty.const._MD_A_BASE_LANG_MODINSTALL_ADVICE|replace:"_%s_":$module->getVar('name','e')}> +
+ +
+<{xoops_token form=$actionForm}> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
<{$smarty.const._MD_A_BASE_LANG_MODINSTALL_CONF}>
+ +
<{$module->modinfo.name|escape}>
+
<{$smarty.const._MD_A_BASE_LANG_NAME}><{$module->getVar('name',e)}>
<{$smarty.const._MD_A_BASE_LANG_MOD_DIR_NAME}><{$module->getVar('dirname',e)}>
<{$smarty.const._MD_A_BASE_LANG_VERSION}><{math equation="v/100" v=$module->getVar('version') format="%.2f"}> + <{if $module->getVar('version') != $module->modinfo.version * 100 }> + » <{math equation=$module->modinfo.version format="%.2f"}> + <{/if}> +
<{$smarty.const._MD_A_BASE_LANG_MID}> + <{if $module->getVar('mid')}> + <{$module->getVar('mid')}> + <{else}> + -- + <{/if}> +
<{$smarty.const._MD_A_BASE_LANG_LASTUPDATE}> + <{if $module->getVar('last_update')}> + <{$module->getVar('last_update')|xoops_formattimestamp:l}> + <{else}> + -- + <{/if}> +
<{$smarty.const._MD_A_BASE_LANG_MOD_DESC}><{$module->modinfo.description|escape}>
+ +
+
Index: xoops2jp/html/modules/base/admin/templates/module_update_confirm.html diff -u xoops2jp/html/modules/base/admin/templates/module_update_confirm.html:1.1.2.6 xoops2jp/html/modules/base/admin/templates/module_update_confirm.html:removed --- xoops2jp/html/modules/base/admin/templates/module_update_confirm.html:1.1.2.6 Thu Feb 2 18:18:04 2006 +++ xoops2jp/html/modules/base/admin/templates/module_update_confirm.html Thu Feb 2 21:27:06 2006 @@ -1,70 +0,0 @@ -
- <{$smarty.const._MI_BASE_NAME}> - »» <{$smarty.const._MI_BASE_MENU_MODULELIST}> - »» <{$smarty.const._MD_A_BASE_LANG_MODUPDATE_CONF}> -
- -

<{$smarty.const._MD_A_BASE_LANG_MODUPDATE_CONF}>

- -
    -
  • <{$smarty.const._MD_A_BASE_LANG_MODUPDATE_ADVICE|replace:"_%s_":$module->getVar('name','e')}> -
- -
-<{xoops_token form=$actionForm}> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<{$smarty.const._MD_A_BASE_LANG_MODUPDATE_CONF}>
- -
<{$module->modinfo.name|escape}>
-
<{$smarty.const._MD_A_BASE_LANG_NAME}><{$module->getVar('name',e)}>
<{$smarty.const._MD_A_BASE_LANG_MOD_DIR_NAME}><{$module->getVar('dirname',e)}>
<{$smarty.const._MD_A_BASE_LANG_VERSION}><{math equation="v/100" v=$module->getVar('version') format="%.2f"}> - <{if $module->getVar('version') != $module->modinfo.version * 100 }> - » <{math equation=$module->modinfo.version format="%.2f"}> - <{/if}> -
<{$smarty.const._MD_A_BASE_LANG_MID}> - <{if $module->getVar('mid')}> - <{$module->getVar('mid')}> - <{else}> - -- - <{/if}> -
<{$smarty.const._MD_A_BASE_LANG_LASTUPDATE}> - <{if $module->getVar('last_update')}> - <{$module->getVar('last_update')|xoops_formattimestamp:l}> - <{else}> - -- - <{/if}> -
<{$smarty.const._MD_A_BASE_LANG_MOD_DESC}><{$module->modinfo.description|escape}>
- -
-
Index: xoops2jp/html/modules/base/admin/templates/module_install_confirm.html diff -u xoops2jp/html/modules/base/admin/templates/module_install_confirm.html:1.1.2.6 xoops2jp/html/modules/base/admin/templates/module_install_confirm.html:removed --- xoops2jp/html/modules/base/admin/templates/module_install_confirm.html:1.1.2.6 Thu Feb 2 18:18:04 2006 +++ xoops2jp/html/modules/base/admin/templates/module_install_confirm.html Thu Feb 2 21:27:06 2006 @@ -1,71 +0,0 @@ -
- <{$smarty.const._MI_BASE_NAME}> - »» <{$smarty.const._MI_BASE_MENU_MODULELIST}> - »» <{$smarty.const._MD_A_BASE_LANG_MODINSTALL}> - »» <{$smarty.const._MD_A_BASE_LANG_MODINSTALL_CONF}> -
- -

<{$smarty.const._MD_A_BASE_LANG_MODINSTALL_CONF}>

- -
    -
  • <{$smarty.const._MD_A_BASE_LANG_MODINSTALL_ADVICE|replace:"_%s_":$module->getVar('name','e')}> -
- -
-<{xoops_token form=$actionForm}> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<{$smarty.const._MD_A_BASE_LANG_MODINSTALL_CONF}>
- -
<{$module->modinfo.name|escape}>
-
<{$smarty.const._MD_A_BASE_LANG_NAME}><{$module->getVar('name',e)}>
<{$smarty.const._MD_A_BASE_LANG_MOD_DIR_NAME}><{$module->getVar('dirname',e)}>
<{$smarty.const._MD_A_BASE_LANG_VERSION}><{math equation="v/100" v=$module->getVar('version') format="%.2f"}> - <{if $module->getVar('version') != $module->modinfo.version * 100 }> - » <{math equation=$module->modinfo.version format="%.2f"}> - <{/if}> -
<{$smarty.const._MD_A_BASE_LANG_MID}> - <{if $module->getVar('mid')}> - <{$module->getVar('mid')}> - <{else}> - -- - <{/if}> -
<{$smarty.const._MD_A_BASE_LANG_LASTUPDATE}> - <{if $module->getVar('last_update')}> - <{$module->getVar('last_update')|xoops_formattimestamp:l}> - <{else}> - -- - <{/if}> -
<{$smarty.const._MD_A_BASE_LANG_MOD_DESC}><{$module->modinfo.description|escape}>
- -
-
From minahito @ users.sourceforge.jp Thu Feb 2 21:27:20 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 21:27:20 +0900 Subject: [xoops-cvslog 2110] CVS update: xoops2jp/html/modules/base/admin/actions Message-ID: <20060202122720.1BD152AC013@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/actions/ModuleUninstallAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/ModuleUninstallAction.class.php:1.1.2.2 xoops2jp/html/modules/base/admin/actions/ModuleUninstallAction.class.php:1.1.2.3 --- xoops2jp/html/modules/base/admin/actions/ModuleUninstallAction.class.php:1.1.2.2 Thu Feb 2 21:05:15 2006 +++ xoops2jp/html/modules/base/admin/actions/ModuleUninstallAction.class.php Thu Feb 2 21:27:19 2006 @@ -1,6 +1,6 @@ setTemplateName("module_uninstall_confirm.html"); + $renderer->setTemplateName("module_uninstall.html"); $renderer->setAttribute('actionForm',$this->mActionForm); $renderer->setAttribute('module',$this->mModuleObject); } Index: xoops2jp/html/modules/base/admin/actions/ModuleInstallAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/ModuleInstallAction.class.php:1.1.2.2 xoops2jp/html/modules/base/admin/actions/ModuleInstallAction.class.php:1.1.2.3 --- xoops2jp/html/modules/base/admin/actions/ModuleInstallAction.class.php:1.1.2.2 Thu Feb 2 21:11:01 2006 +++ xoops2jp/html/modules/base/admin/actions/ModuleInstallAction.class.php Thu Feb 2 21:27:19 2006 @@ -1,6 +1,6 @@ setTemplateName("module_installer.html"); } else { - $renderer->setTemplateName("module_install_confirm.html"); + $renderer->setTemplateName("module_install.html"); } } Index: xoops2jp/html/modules/base/admin/actions/ModuleUpdateAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/ModuleUpdateAction.class.php:1.1.2.2 xoops2jp/html/modules/base/admin/actions/ModuleUpdateAction.class.php:1.1.2.3 --- xoops2jp/html/modules/base/admin/actions/ModuleUpdateAction.class.php:1.1.2.2 Thu Feb 2 21:01:27 2006 +++ xoops2jp/html/modules/base/admin/actions/ModuleUpdateAction.class.php Thu Feb 2 21:27:19 2006 @@ -1,6 +1,6 @@ setTemplateName("module_update_confirm.html"); + $renderer->setTemplateName("module_update.html"); $renderer->setAttribute('module',$this->mModuleObject); $renderer->setAttribute('actionForm',$this->mActionForm); } From minahito @ users.sourceforge.jp Thu Feb 2 21:27:31 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 2 Feb 2006 21:27:31 +0900 Subject: [xoops-cvslog 2111] CVS update: xoops2jp/html/modules/base/admin/templates Message-ID: <20060202122731.C0D562AC013@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/templates/module_list.html diff -u xoops2jp/html/modules/base/admin/templates/module_list.html:1.1.2.4 xoops2jp/html/modules/base/admin/templates/module_list.html:1.1.2.5 --- xoops2jp/html/modules/base/admin/templates/module_list.html:1.1.2.4 Thu Feb 2 20:58:19 2006 +++ xoops2jp/html/modules/base/admin/templates/module_list.html Thu Feb 2 21:27:31 2006 @@ -5,7 +5,7 @@

<{$smarty.const._MI_BASE_MENU_MODULELIST}>

- + <{if $actionForm->hasError()}>
    From tom_g3x @ users.sourceforge.jp Thu Feb 2 22:28:23 2006 From: tom_g3x @ users.sourceforge.jp (Tom Hayakawa) Date: Thu, 2 Feb 2006 22:28:23 +0900 Subject: [xoops-cvslog 2112] CVS update: xoops2jp/html/modules/legacyRender/admin/templates Message-ID: <20060202132823.69DF52AC03C@users.sourceforge.jp> Index: xoops2jp/html/modules/legacyRender/admin/templates/tplset_edit.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/tplset_edit.html:1.1.2.5 xoops2jp/html/modules/legacyRender/admin/templates/tplset_edit.html:1.1.2.6 --- xoops2jp/html/modules/legacyRender/admin/templates/tplset_edit.html:1.1.2.5 Thu Feb 2 17:40:48 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/tplset_edit.html Thu Feb 2 22:28:23 2006 @@ -16,7 +16,7 @@
    <{xoops_token form=$actionForm}> - <{xoops_input type=hidden name=tplset_id value=$actionform->get('tplset_id')}> + <{xoops_input type=hidden name=tplset_id value=$actionForm->get('tplset_id')}> @@ -28,13 +28,13 @@ From tom_g3x @ users.sourceforge.jp Thu Feb 2 22:50:45 2006 From: tom_g3x @ users.sourceforge.jp (Tom Hayakawa) Date: Thu, 2 Feb 2006 22:50:45 +0900 Subject: [xoops-cvslog 2113] CVS update: xoops2jp/html/modules/base/admin/templates Message-ID: <20060202135045.E8E312AC010@users.sourceforge.jp> Index: xoops2jp/html/modules/base/admin/templates/module_update.html diff -u xoops2jp/html/modules/base/admin/templates/module_update.html:1.1.2.1 xoops2jp/html/modules/base/admin/templates/module_update.html:1.1.2.2 --- xoops2jp/html/modules/base/admin/templates/module_update.html:1.1.2.1 Thu Feb 2 21:27:06 2006 +++ xoops2jp/html/modules/base/admin/templates/module_update.html Thu Feb 2 22:50:45 2006 @@ -64,6 +64,7 @@
    <{$smarty.const._AD_LEGACYRENDER_LANG_TEMPLATE_SET_EDIT}>
    <{$smarty.const._AD_LEGACYRENDER_LANG_TPLSET_DESC}> "> - <{xoops_input type=text name=tplset_desc value=$actionform->get('tplset_desc') size=50 maxlength=255}> + <{xoops_input type=text name=tplset_desc value=$actionForm->get('tplset_desc') size=50 maxlength=255}>
    <{$smarty.const._AD_LEGACYRENDER_LANG_TPLSET_CREDITS}> "> - <{xoops_textarea type=text name=tplset_credits rows=5 cols=50 value=$actionform->get('tplset_credits')}> + <{xoops_textarea type=text name=tplset_credits rows=5 cols=50 value=$actionForm->get('tplset_credits')}>
    +
    Index: xoops2jp/html/modules/base/admin/templates/comment_edit.html diff -u xoops2jp/html/modules/base/admin/templates/comment_edit.html:1.1.2.3 xoops2jp/html/modules/base/admin/templates/comment_edit.html:1.1.2.4 --- xoops2jp/html/modules/base/admin/templates/comment_edit.html:1.1.2.3 Thu Feb 2 17:40:48 2006 +++ xoops2jp/html/modules/base/admin/templates/comment_edit.html Thu Feb 2 22:50:45 2006 @@ -1,7 +1,7 @@
    <{$smarty.const._MI_BASE_NAME}> »» <{$smarty.const._MI_BASE_MENU_COMMENTMANAGE}> - <{if $actionform->get('com_id')}> + <{if $actionForm->get('com_id')}> »» <{$smarty.const._AD_BASE_LANG_COMMENT_EDIT}> <{else}> »» <{$smarty.const._AD_BASE_LANG_COMMENT_NEW}> @@ -9,7 +9,7 @@

    -<{if $actionform->get('com_id')}> +<{if $actionForm->get('com_id')}> <{$smarty.const._AD_BASE_LANG_COMMENT_EDIT}> <{else}> <{$smarty.const._AD_BASE_LANG_COMMENT_NEW}> @@ -26,11 +26,11 @@ <{xoops_token form=$actionForm}> - <{xoops_input type=hidden name=com_id value=$actionform->get('com_id')}> + <{xoops_input type=hidden name=com_id value=$actionForm->get('com_id')}>
    - <{if $actionform->get('com_id')}> + <{if $actionForm->get('com_id')}> <{$smarty.const._AD_BASE_LANG_COMMENT_EDIT}> <{else}> <{$smarty.const._AD_BASE_LANG_COMMENT_NEW}> @@ -40,120 +40,121 @@
    <{$smarty.const._AD_BASE_LANG_COM_PID}> "> - <{xoops_input type=text name=com_pid value=$actionform->get('com_pid')}> + <{xoops_input type=text name=com_pid value=$actionForm->get('com_pid')}>
    <{$smarty.const._AD_BASE_LANG_COM_ROOTID}> "> - <{xoops_input type=text name=com_rootid value=$actionform->get('com_rootid')}> + <{xoops_input type=text name=com_rootid value=$actionForm->get('com_rootid')}>
    <{$smarty.const._AD_BASE_LANG_COM_MODID}> "> - <{xoops_input type=text name=com_modid value=$actionform->get('com_modid')}> + <{xoops_input type=text name=com_modid value=$actionForm->get('com_modid')}>
    <{$smarty.const._AD_BASE_LANG_COM_ITEMID}> "> - <{xoops_input type=text name=com_itemid value=$actionform->get('com_itemid')}> + <{xoops_input type=text name=com_itemid value=$actionForm->get('com_itemid')}>
    <{$smarty.const._AD_BASE_LANG_COM_ICON}> "> - <{xoops_input type=text name=com_icon value=$actionform->get('com_icon') size=15 maxlength=25}> + <{xoops_input type=text name=com_icon value=$actionForm->get('com_icon') size=15 maxlength=25}>
    <{$smarty.const._AD_BASE_LANG_COM_CREATED}> "> - <{xoops_input type=text name=com_created value=$actionform->get('com_created')}> + <{xoops_input type=text name=com_created value=$actionForm->get('com_created')}>
    <{$smarty.const._AD_BASE_LANG_COM_MODIFIED}> "> - <{xoops_input type=text name=com_modified value=$actionform->get('com_modified')}> + <{xoops_input type=text name=com_modified value=$actionForm->get('com_modified')}>
    <{$smarty.const._AD_BASE_LANG_COM_UID}> "> - <{xoops_input type=text name=com_uid value=$actionform->get('com_uid')}> + <{xoops_input type=text name=com_uid value=$actionForm->get('com_uid')}>
    <{$smarty.const._AD_BASE_LANG_COM_IP}> "> - <{xoops_input type=text name=com_ip value=$actionform->get('com_ip') size=15 maxlength=15}> + <{xoops_input type=text name=com_ip value=$actionForm->get('com_ip') size=15 maxlength=15}>
    <{$smarty.const._AD_BASE_LANG_COM_TITLE}> "> - <{xoops_input type=text name=com_title value=$actionform->get('com_title') size=15 maxlength=255}> + <{xoops_input type=text name=com_title value=$actionForm->get('com_title') size=15 maxlength=255}>
    <{$smarty.const._AD_BASE_LANG_COM_TEXT}> "> - <{xoops_dhtmltarea type=text name=com_text value=$actionform->get('com_text')}> + <{xoops_dhtmltarea type=text name=com_text value=$actionForm->get('com_text')}>
    <{$smarty.const._AD_BASE_LANG_COM_SIG}> "> - <{xoops_input type=checkbox name=com_sig value=1 default=$actionform->get('com_sig')}> + <{xoops_input type=checkbox name=com_sig value=1 default=$actionForm->get('com_sig')}>
    <{$smarty.const._AD_BASE_LANG_COM_STATUS}> "> - <{xoops_input type=checkbox name=com_status value=1 default=$actionform->get('com_status')}> + <{xoops_input type=checkbox name=com_status value=1 default=$actionForm->get('com_status')}>
    <{$smarty.const._AD_BASE_LANG_COM_EXPARAMS}> "> - <{xoops_input type=text name=com_exparams value=$actionform->get('com_exparams') size=15 maxlength=255}> + <{xoops_input type=text name=com_exparams value=$actionForm->get('com_exparams') size=15 maxlength=255}>
    <{$smarty.const._AD_BASE_LANG_DOHTML}> "> - <{xoops_input type=checkbox name=dohtml value=1 default=$actionform->get('dohtml')}> + <{xoops_input type=checkbox name=dohtml value=1 default=$actionForm->get('dohtml')}>
    <{$smarty.const._AD_BASE_LANG_DOSMILEY}> "> - <{xoops_input type=checkbox name=dosmiley value=1 default=$actionform->get('dosmiley')}> + <{xoops_input type=checkbox name=dosmiley value=1 default=$actionForm->get('dosmiley')}>
    <{$smarty.const._AD_BASE_LANG_DOXCODE}> "> - <{xoops_input type=checkbox name=doxcode value=1 default=$actionform->get('doxcode')}> + <{xoops_input type=checkbox name=doxcode value=1 default=$actionForm->get('doxcode')}>
    <{$smarty.const._AD_BASE_LANG_DOIMAGE}> "> - <{xoops_input type=checkbox name=doimage value=1 default=$actionform->get('doimage')}> + <{xoops_input type=checkbox name=doimage value=1 default=$actionForm->get('doimage')}>
    <{$smarty.const._AD_BASE_LANG_DOBR}> "> - <{xoops_input type=checkbox name=dobr value=1 default=$actionform->get('dobr')}> + <{xoops_input type=checkbox name=dobr value=1 default=$actionForm->get('dobr')}>
    +
    Index: xoops2jp/html/modules/base/admin/templates/module_install.html diff -u xoops2jp/html/modules/base/admin/templates/module_install.html:1.1.2.1 xoops2jp/html/modules/base/admin/templates/module_install.html:1.1.2.2 --- xoops2jp/html/modules/base/admin/templates/module_install.html:1.1.2.1 Thu Feb 2 21:27:06 2006 +++ xoops2jp/html/modules/base/admin/templates/module_install.html Thu Feb 2 22:50:45 2006 @@ -65,6 +65,7 @@

+
Index: xoops2jp/html/modules/base/admin/templates/module_list_confirm.html diff -u xoops2jp/html/modules/base/admin/templates/module_list_confirm.html:1.1.2.1 xoops2jp/html/modules/base/admin/templates/module_list_confirm.html:1.1.2.2 --- xoops2jp/html/modules/base/admin/templates/module_list_confirm.html:1.1.2.1 Thu Feb 2 20:57:54 2006 +++ xoops2jp/html/modules/base/admin/templates/module_list_confirm.html Thu Feb 2 22:50:45 2006 @@ -72,6 +72,7 @@
+
Index: xoops2jp/html/modules/base/admin/templates/smiles_delete.html diff -u xoops2jp/html/modules/base/admin/templates/smiles_delete.html:1.1.2.2 xoops2jp/html/modules/base/admin/templates/smiles_delete.html:1.1.2.3 --- xoops2jp/html/modules/base/admin/templates/smiles_delete.html:1.1.2.2 Mon Jan 30 12:36:49 2006 +++ xoops2jp/html/modules/base/admin/templates/smiles_delete.html Thu Feb 2 22:50:45 2006 @@ -46,6 +46,7 @@
+
Index: xoops2jp/html/modules/base/admin/templates/comment_delete.html diff -u xoops2jp/html/modules/base/admin/templates/comment_delete.html:1.1.2.2 xoops2jp/html/modules/base/admin/templates/comment_delete.html:1.1.2.3 --- xoops2jp/html/modules/base/admin/templates/comment_delete.html:1.1.2.2 Mon Jan 30 13:35:01 2006 +++ xoops2jp/html/modules/base/admin/templates/comment_delete.html Thu Feb 2 22:50:45 2006 @@ -97,6 +97,7 @@ + Index: xoops2jp/html/modules/base/admin/templates/smiles_edit.html diff -u xoops2jp/html/modules/base/admin/templates/smiles_edit.html:1.1.2.3 xoops2jp/html/modules/base/admin/templates/smiles_edit.html:1.1.2.4 --- xoops2jp/html/modules/base/admin/templates/smiles_edit.html:1.1.2.3 Thu Feb 2 17:40:48 2006 +++ xoops2jp/html/modules/base/admin/templates/smiles_edit.html Thu Feb 2 22:50:45 2006 @@ -1,14 +1,14 @@
<{$smarty.const._MI_BASE_NAME}> »» <{$smarty.const._MI_BASE_MENU_SMILES_MANAGE}> - <{if $actionform->get('id')}> + <{if $actionForm->get('id')}> »» <{$smarty.const._AD_BASE_LANG_SMILES_EDIT}> <{else}> »» <{$smarty.const._AD_BASE_LANG_SMILES_NEW}> <{/if}>
-<{if $actionform->get('id')}> +<{if $actionForm->get('id')}>

<{$smarty.const._AD_BASE_LANG_SMILES_EDIT}>

<{else}>

<{$smarty.const._AD_BASE_LANG_SMILES_NEW}>

@@ -24,27 +24,27 @@ <{xoops_token form=$actionForm}> - <{xoops_input type=hidden name=id value=$actionform->get('id')}> + <{xoops_input type=hidden name=id value=$actionForm->get('id')}> - <{if $actionform->get('id')}> + <{if $actionForm->get('id')}> - + <{/if}> @@ -56,19 +56,20 @@
- <{if $actionform->get('id')}> + <{if $actionForm->get('id')}> <{$smarty.const._AD_BASE_LANG_SMILES_EDIT}> <{else}> <{$smarty.const._AD_BASE_LANG_SMILES_NEW}> <{/if}>
<{$smarty.const._AD_BASE_LANG_ID}>"><{$actionform->get('id')}>"><{$actionForm->get('id')}>
<{$smarty.const._AD_BASE_LANG_CODE}> "> - <{xoops_input type=text name=code value=$actionform->get('code') size=15 maxlength=50}> + <{xoops_input type=text name=code value=$actionForm->get('code') size=15 maxlength=50}>
<{$smarty.const._AD_BASE_LANG_EMOTION}> "> - <{xoops_input type=text name=emotion value=$actionform->get('emotion') size=30 maxlength=75}> + <{xoops_input type=text name=emotion value=$actionForm->get('emotion') size=30 maxlength=75}>
<{$smarty.const._AD_BASE_LANG_DISPLAY}> "> - <{xoops_input type=radio name=display value=1 default=$actionform->get('display')}><{$smarty.const._YES}> - <{xoops_input type=radio name=display value=0 default=$actionform->get('display')}><{$smarty.const._NO}> + <{xoops_input type=radio name=display value=1 default=$actionForm->get('display')}><{$smarty.const._YES}> + <{xoops_input type=radio name=display value=0 default=$actionForm->get('display')}><{$smarty.const._NO}>
+
From tom_g3x @ users.sourceforge.jp Thu Feb 2 22:59:52 2006 From: tom_g3x @ users.sourceforge.jp (Tom Hayakawa) Date: Thu, 2 Feb 2006 22:59:52 +0900 Subject: [xoops-cvslog 2114] CVS update: xoops2jp/html/modules/legacyRender/admin/templates Message-ID: <20060202135952.454B22AC013@users.sourceforge.jp> Index: xoops2jp/html/modules/legacyRender/admin/templates/tplset_delete.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/tplset_delete.html:1.1.2.4 xoops2jp/html/modules/legacyRender/admin/templates/tplset_delete.html:1.1.2.5 --- xoops2jp/html/modules/legacyRender/admin/templates/tplset_delete.html:1.1.2.4 Tue Jan 31 17:29:38 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/tplset_delete.html Thu Feb 2 22:59:52 2006 @@ -40,6 +40,7 @@ + Index: xoops2jp/html/modules/legacyRender/admin/templates/tplfile_view.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/tplfile_view.html:1.1.2.3 xoops2jp/html/modules/legacyRender/admin/templates/tplfile_view.html:1.1.2.4 --- xoops2jp/html/modules/legacyRender/admin/templates/tplfile_view.html:1.1.2.3 Tue Jan 31 17:29:38 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/tplfile_view.html Thu Feb 2 22:59:52 2006 @@ -58,4 +58,9 @@ + + + + + Index: xoops2jp/html/modules/legacyRender/admin/templates/tplfile_edit.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/tplfile_edit.html:1.1.2.6 xoops2jp/html/modules/legacyRender/admin/templates/tplfile_edit.html:1.1.2.7 --- xoops2jp/html/modules/legacyRender/admin/templates/tplfile_edit.html:1.1.2.6 Thu Feb 2 17:40:48 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/tplfile_edit.html Thu Feb 2 22:59:52 2006 @@ -30,7 +30,7 @@ <{xoops_token form=$actionForm}> - <{xoops_input type=hidden name=tpl_id value=$actionform->get('tpl_id')}> + <{xoops_input type=hidden name=tpl_id value=$actionForm->get('tpl_id')}> @@ -49,7 +49,7 @@ - + @@ -67,7 +67,7 @@ »» <{$smarty.const._AD_LEGACYRENDER_LANG_MORE_LARGE}> - + Index: xoops2jp/html/modules/legacyRender/admin/templates/tplset_edit.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/tplset_edit.html:1.1.2.6 xoops2jp/html/modules/legacyRender/admin/templates/tplset_edit.html:1.1.2.7 --- xoops2jp/html/modules/legacyRender/admin/templates/tplset_edit.html:1.1.2.6 Thu Feb 2 22:28:23 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/tplset_edit.html Thu Feb 2 22:59:52 2006 @@ -40,6 +40,7 @@
<{$smarty.const._AD_LEGACYRENDER_LANG_TEMPLATE_FILE_EDIT}>
<{$smarty.const._AD_LEGACYRENDER_LANG_TPL_DESC}>"><{$actionform->get('tpl_desc')}>"><{$actionForm->get('tpl_desc')}>
<{$smarty.const._AD_LEGACYRENDER_LANG_TPL_SOURCE}>
+
Index: xoops2jp/html/modules/legacyRender/admin/templates/tplset_clone.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/tplset_clone.html:1.1.2.6 xoops2jp/html/modules/legacyRender/admin/templates/tplset_clone.html:1.1.2.7 --- xoops2jp/html/modules/legacyRender/admin/templates/tplset_clone.html:1.1.2.6 Thu Feb 2 17:40:48 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/tplset_clone.html Thu Feb 2 22:59:52 2006 @@ -16,7 +16,7 @@ <{xoops_token form=$actionForm}> - <{xoops_input type=hidden name=tplset_id value=$actionform->get('tplset_id')}> + <{xoops_input type=hidden name=tplset_id value=$actionForm->get('tplset_id')}> @@ -43,6 +43,7 @@
<{$smarty.const._AD_LEGACYRENDER_LANG_TEMPLATE_SET_CLONE}>
+
From tom_g3x @ users.sourceforge.jp Thu Feb 2 23:09:17 2006 From: tom_g3x @ users.sourceforge.jp (Tom Hayakawa) Date: Thu, 2 Feb 2006 23:09:17 +0900 Subject: [xoops-cvslog 2115] CVS update: xoops2jp/html/modules/user/admin/templates Message-ID: <20060202140917.78B4C2AC00E@users.sourceforge.jp> Index: xoops2jp/html/modules/user/admin/templates/group_member.html diff -u xoops2jp/html/modules/user/admin/templates/group_member.html:1.1.2.4 xoops2jp/html/modules/user/admin/templates/group_member.html:1.1.2.5 --- xoops2jp/html/modules/user/admin/templates/group_member.html:1.1.2.4 Tue Jan 31 14:32:07 2006 +++ xoops2jp/html/modules/user/admin/templates/group_member.html Thu Feb 2 23:09:17 2006 @@ -68,7 +68,7 @@ <{$user->getVar('posts')}> <{$user->getVar('level')}> - " alt="<{$smarty.const._EDIT}>" /> + " alt="<{$smarty.const._EDIT}>" /> <{if $user->getVar('uid') != 1 }> " alt="<{$smarty.const._DELETE}>" /> <{/if}> Index: xoops2jp/html/modules/user/admin/templates/ranks_edit.html diff -u xoops2jp/html/modules/user/admin/templates/ranks_edit.html:1.1.2.3 xoops2jp/html/modules/user/admin/templates/ranks_edit.html:1.1.2.4 --- xoops2jp/html/modules/user/admin/templates/ranks_edit.html:1.1.2.3 Thu Feb 2 17:35:43 2006 +++ xoops2jp/html/modules/user/admin/templates/ranks_edit.html Thu Feb 2 23:09:17 2006 @@ -69,6 +69,7 @@ + Index: xoops2jp/html/modules/user/admin/templates/group_delete.html diff -u xoops2jp/html/modules/user/admin/templates/group_delete.html:1.1.2.2 xoops2jp/html/modules/user/admin/templates/group_delete.html:1.1.2.3 --- xoops2jp/html/modules/user/admin/templates/group_delete.html:1.1.2.2 Tue Jan 31 14:32:07 2006 +++ xoops2jp/html/modules/user/admin/templates/group_delete.html Thu Feb 2 23:09:17 2006 @@ -49,7 +49,7 @@ - + Index: xoops2jp/html/modules/user/admin/templates/user_edit.html diff -u xoops2jp/html/modules/user/admin/templates/user_edit.html:1.1.2.7 xoops2jp/html/modules/user/admin/templates/user_edit.html:1.1.2.8 --- xoops2jp/html/modules/user/admin/templates/user_edit.html:1.1.2.7 Thu Feb 2 17:35:43 2006 +++ xoops2jp/html/modules/user/admin/templates/user_edit.html Thu Feb 2 23:09:17 2006 @@ -209,6 +209,7 @@ + Index: xoops2jp/html/modules/user/admin/templates/ranks_delete.html diff -u xoops2jp/html/modules/user/admin/templates/ranks_delete.html:1.1.2.2 xoops2jp/html/modules/user/admin/templates/ranks_delete.html:1.1.2.3 --- xoops2jp/html/modules/user/admin/templates/ranks_delete.html:1.1.2.2 Tue Jan 31 14:32:07 2006 +++ xoops2jp/html/modules/user/admin/templates/ranks_delete.html Thu Feb 2 23:09:17 2006 @@ -46,7 +46,7 @@ - + Index: xoops2jp/html/modules/user/admin/templates/user_delete.html diff -u xoops2jp/html/modules/user/admin/templates/user_delete.html:1.1.2.2 xoops2jp/html/modules/user/admin/templates/user_delete.html:1.1.2.3 --- xoops2jp/html/modules/user/admin/templates/user_delete.html:1.1.2.2 Tue Jan 31 14:32:07 2006 +++ xoops2jp/html/modules/user/admin/templates/user_delete.html Thu Feb 2 23:09:17 2006 @@ -56,7 +56,7 @@ - + Index: xoops2jp/html/modules/user/admin/templates/group_edit.html diff -u xoops2jp/html/modules/user/admin/templates/group_edit.html:1.1.2.5 xoops2jp/html/modules/user/admin/templates/group_edit.html:1.1.2.6 --- xoops2jp/html/modules/user/admin/templates/group_edit.html:1.1.2.5 Thu Feb 2 17:35:43 2006 +++ xoops2jp/html/modules/user/admin/templates/group_edit.html Thu Feb 2 23:09:17 2006 @@ -51,6 +51,7 @@ + From tom_g3x @ users.sourceforge.jp Thu Feb 2 23:13:38 2006 From: tom_g3x @ users.sourceforge.jp (Tom Hayakawa) Date: Thu, 2 Feb 2006 23:13:38 +0900 Subject: [xoops-cvslog 2116] CVS update: xoops2jp/html/modules/pm/language/english Message-ID: <20060202141338.818A12AC013@users.sourceforge.jp> Index: xoops2jp/html/modules/pm/language/english/help.html diff -u xoops2jp/html/modules/pm/language/english/help.html:1.1.2.1 xoops2jp/html/modules/pm/language/english/help.html:1.1.2.2 --- xoops2jp/html/modules/pm/language/english/help.html:1.1.2.1 Sun Jan 29 16:10:49 2006 +++ xoops2jp/html/modules/pm/language/english/help.html Thu Feb 2 23:13:38 2006 @@ -1,5 +1,5 @@ -

Private message module

-

Outline

+

Private message module

+

Outline

-

Preferences

+

Preferences

-

TODO

+

TODO