1
0
mirror of https://github.com/Daichimarukana/uwuzu.git synced 2026-06-05 03:24:41 +00:00

uwuzu v1.3.0 new_planet

This commit is contained in:
Daichimarukana
2024-02-24 19:17:08 +09:00
parent 29c46fcc4e
commit 1597041471
115 changed files with 5655 additions and 2252 deletions
+3 -3
View File
@@ -9,15 +9,15 @@ $serversettings = parse_ini_file($serversettings_file, true);
<html lang="ja">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="../css/style.css?<?php echo date('Ymd-Hi'); ?>">
<script src="../js/unsupported.js?<?php echo date('Ymd-Hi'); ?>"></script>
<link rel="stylesheet" href="../css/style.css">
<script src="../js/unsupported.js"></script>
<link rel="apple-touch-icon" type="image/png" href="../favicon/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" href="../favicon/icon-192x192.png">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>残念なお知らせ - <?php echo htmlspecialchars($serversettings["serverinfo"]["server_name"], ENT_QUOTES, 'UTF-8');?></title>
</head>
<script src="back.js"></script>
<script src="../back.js"></script>
<body>
+3 -3
View File
@@ -9,15 +9,15 @@ $serversettings = parse_ini_file($serversettings_file, true);
<html lang="ja">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="../css/style.css?<?php echo date('Ymd-Hi'); ?>">
<script src="../js/unsupported.js?<?php echo date('Ymd-Hi'); ?>"></script>
<link rel="stylesheet" href="../css/style.css">
<script src="../js/unsupported.js"></script>
<link rel="apple-touch-icon" type="image/png" href="../favicon/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" href="../favicon/icon-192x192.png">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>パスワード変更完了 - <?php echo htmlspecialchars($serversettings["serverinfo"]["server_name"], ENT_QUOTES, 'UTF-8');?></title>
</head>
<script src="back.js"></script>
<script src="../back.js"></script>
<body>
+8 -8
View File
@@ -79,11 +79,11 @@ if( !empty($_POST['btn_submit']) ) {
// ... (前略)
// IDの入力チェック
if( empty($userid) ) {
$error_message[] = 'ユーザーIDを入力してください。';
$error_message[] = 'ユーザーIDを入力してください。(USERID_INPUT_PLEASE)';
} else {
if( empty($mailadds) ) {
$error_message[] = 'メールアドレスを入力してください。';
$error_message[] = 'メールアドレスを入力してください。(INPUT_PLEASE)';
} else {
if($result->rowCount() > 0) {
@@ -109,14 +109,14 @@ if( !empty($_POST['btn_submit']) ) {
}
}
else{
$error_message[] = 'IDまたはメールアドレスが違います';
$error_message[] = 'IDまたはメールアドレスが違います(ID_OR_MAILADDS_CHIGAUYANKE)';
}
}else{
$error_message[] = 'IDまたはメールアドレスが違います';
$error_message[] = 'IDまたはメールアドレスが違います(ID_OR_MAILADDS_CHIGAUYANKE)';
}
}
else {
$error_message[] = 'IDまたはメールアドレスが違います';
$error_message[] = 'IDまたはメールアドレスが違います(ID_OR_MAILADDS_CHIGAUYANKE)';
}
}
@@ -136,15 +136,15 @@ $pdo = null;
<html lang="ja">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="../css/style.css?<?php echo date('Ymd-Hi'); ?>">
<script src="../js/unsupported.js?<?php echo date('Ymd-Hi'); ?>"></script>
<link rel="stylesheet" href="../css/style.css">
<script src="../js/unsupported.js"></script>
<link rel="apple-touch-icon" type="image/png" href="../favicon/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" href="../favicon/icon-192x192.png">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>パスワードの復元 - <?php echo htmlspecialchars($serversettings["serverinfo"]["server_name"], ENT_QUOTES, 'UTF-8');?></title>
</head>
<script src="back.js"></script>
<script src="../back.js"></script>
<body>
<div class="leftbox">
+10 -10
View File
@@ -77,7 +77,7 @@ if( !empty($_POST['btn_submit']) ) {
$password = $_POST['password'];
if(empty($userauthcode)){
$error_message[] = "コードを入力してください。";
$error_message[] = "コードを入力してください。(AUTHCODE_INPUT_PLEASE)";
}else{
$discrepancy = 2;
@@ -87,7 +87,7 @@ if( !empty($_POST['btn_submit']) ) {
// パスワードの入力チェック
if( empty($password) ) {
$error_message[] = 'パスワードを入力してください。';
$error_message[] = 'パスワードを入力してください。(PASSWORD_INPUT_PLEASE)';
} else {
$weakPasswords = array(
@@ -160,18 +160,18 @@ if( !empty($_POST['btn_submit']) ) {
// テスト用のパスワード(実際にはユーザー入力などから取得することになります。
if (isWeakPassword($password)) {
$error_message[] = "パスワードが弱いです。セキュリティ上変更してください。";
$error_message[] = "パスワードが弱いです。セキュリティ上変更してください。(PASSWORD_ZEIJAKU)";
} else {
}
if( 4 > mb_strlen($password, 'UTF-8') ) {
$error_message[] = 'パスワードは4文字以上である必要があります。';
$error_message[] = 'パスワードは4文字以上である必要があります。(PASSWORD_TODOITENAI_MIN_COUNT)';
}
// 文字数を確認
if( 100 < mb_strlen($password, 'UTF-8') ) {
$error_message[] = 'パスワードは100文字以内で入力してください。';
$error_message[] = 'パスワードは100文字以内で入力してください。(PASSWORD_OVER_MAX_COUNT)';
}
}
@@ -211,12 +211,12 @@ if( !empty($_POST['btn_submit']) ) {
// すべての出力を終了
exit;
} else {
$error_message[] = 'パスワードの更新に失敗しました。';
$error_message[] = 'パスワードの更新に失敗しました。(REGISTERED_DAME)';
}
}
}else {
$error_message[] = '二段階認証が出来ませんでした。再度お試しください。';
$error_message[] = '二段階認証が出来ませんでした。再度お試しください。(AUTHCODE_CHECK_DAME)';
}
// プリペアドステートメントを削除
@@ -233,15 +233,15 @@ $pdo = null;
<html lang="ja">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="../css/style.css?<?php echo date('Ymd-Hi'); ?>">
<script src="../js/unsupported.js?<?php echo date('Ymd-Hi'); ?>"></script>
<link rel="stylesheet" href="../css/style.css">
<script src="../js/unsupported.js"></script>
<link rel="apple-touch-icon" type="image/png" href="../favicon/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" href="../favicon/icon-192x192.png">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>ログイン - <?php echo htmlspecialchars($serversettings["serverinfo"]["server_name"], ENT_QUOTES, 'UTF-8');?></title>
</head>
<script src="back.js"></script>
<script src="../back.js"></script>
<body>
<div class="leftbox">