mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-05 22:10:11 +00:00
Empty commit
This commit is contained in:
parent
723c05be06
commit
186c5ca897
@ -28,14 +28,13 @@
|
|||||||
} else {
|
} else {
|
||||||
$Subject = 'You have received a verbal warning';
|
$Subject = 'You have received a verbal warning';
|
||||||
$PrivateMessage = "You have received a verbal warning for [url=$URL]this post.[/url]\n\n" . $PrivateMessage;
|
$PrivateMessage = "You have received a verbal warning for [url=$URL]this post.[/url]\n\n" . $PrivateMessage;
|
||||||
|
|
||||||
$AdminComment = date('Y-m-d') . ' - Verbally warned by ' . $LoggedUser['Username'] . " for $URL \nReason: $Reason\n\n";
|
$AdminComment = date('Y-m-d') . ' - Verbally warned by ' . $LoggedUser['Username'] . " for $URL \nReason: $Reason\n\n";
|
||||||
|
Tools::update_user_notes($UserID,$AdminComment);
|
||||||
}
|
}
|
||||||
$DB->query("
|
$DB->query("
|
||||||
INSERT INTO users_warnings_forums (UserID, Comment)
|
INSERT INTO users_warnings_forums (UserID, Comment)
|
||||||
VALUES('$UserID', '" . db_string($AdminComment) . "')
|
VALUES('$UserID', '" . db_string($AdminComment) . "')
|
||||||
ON DUPLICATE KEY UPDATE Comment = CONCAT('" . db_string($AdminComment) . "', Comment)");
|
ON DUPLICATE KEY UPDATE Comment = CONCAT('" . db_string($AdminComment) . "', Comment)");
|
||||||
Tools::update_user_notes($UserID,$AdminComment);
|
|
||||||
Misc::send_pm($UserID, $LoggedUser['ID'], $Subject, $PrivateMessage);
|
Misc::send_pm($UserID, $LoggedUser['ID'], $Subject, $PrivateMessage);
|
||||||
|
|
||||||
// Mainly
|
// Mainly
|
||||||
|
@ -29,11 +29,11 @@
|
|||||||
$Subject = 'You have received a verbal warning';
|
$Subject = 'You have received a verbal warning';
|
||||||
$PrivateMessage = "You have received a verbal warning for [url=$URL]this post.[/url]\n\n" . $PrivateMessage;
|
$PrivateMessage = "You have received a verbal warning for [url=$URL]this post.[/url]\n\n" . $PrivateMessage;
|
||||||
$AdminComment = date('Y-m-d') . ' - Verbally warned by ' . $LoggedUser['Username'] . " for $URL \nReason: $Reason\n\n";
|
$AdminComment = date('Y-m-d') . ' - Verbally warned by ' . $LoggedUser['Username'] . " for $URL \nReason: $Reason\n\n";
|
||||||
|
Tools::update_user_notes($UserID, $AdminComment);
|
||||||
}
|
}
|
||||||
$DB->query("
|
$DB->query("
|
||||||
INSERT INTO users_warnings_forums (UserID, Comment) VALUES('$UserID', '" . db_string($AdminComment) . "')
|
INSERT INTO users_warnings_forums (UserID, Comment) VALUES('$UserID', '" . db_string($AdminComment) . "')
|
||||||
ON DUPLICATE KEY UPDATE Comment = CONCAT('" . db_string($AdminComment) . "', Comment)");
|
ON DUPLICATE KEY UPDATE Comment = CONCAT('" . db_string($AdminComment) . "', Comment)");
|
||||||
Tools::update_user_notes($UserID, $AdminComment);
|
|
||||||
Misc::send_pm($UserID, $LoggedUser['ID'], $Subject, $PrivateMessage);
|
Misc::send_pm($UserID, $LoggedUser['ID'], $Subject, $PrivateMessage);
|
||||||
|
|
||||||
$DB->query("
|
$DB->query("
|
||||||
|
@ -164,7 +164,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (($NeedCue || $NeedLog)) {
|
if (($NeedCue || $NeedLog)) {
|
||||||
if (empty($_POST['all_media']) && $MediaArray[0] == 0) {
|
if (empty($_POST['all_media']) && !(in_array('0',$MediaArray))) {
|
||||||
$Err = 'Only CD is allowed as media for FLAC + log/cue requests.';
|
$Err = 'Only CD is allowed as media for FLAC + log/cue requests.';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -29,12 +29,12 @@
|
|||||||
$Subject = 'You have received a verbal warning';
|
$Subject = 'You have received a verbal warning';
|
||||||
$PrivateMessage = "You have received a verbal warning for [url=$URL]this post.[/url]\n\n" . $PrivateMessage;
|
$PrivateMessage = "You have received a verbal warning for [url=$URL]this post.[/url]\n\n" . $PrivateMessage;
|
||||||
$AdminComment = date('Y-m-d') . ' - Verbally warned by ' . $LoggedUser['Username'] . " for $URL \nReason: $Reason\n\n";
|
$AdminComment = date('Y-m-d') . ' - Verbally warned by ' . $LoggedUser['Username'] . " for $URL \nReason: $Reason\n\n";
|
||||||
|
Tools::update_user_notes($UserID, $AdminComment);
|
||||||
}
|
}
|
||||||
$DB->query("
|
$DB->query("
|
||||||
INSERT INTO users_warnings_forums (UserID, Comment)
|
INSERT INTO users_warnings_forums (UserID, Comment)
|
||||||
VALUES('$UserID', '" . db_string($AdminComment) . "')
|
VALUES('$UserID', '" . db_string($AdminComment) . "')
|
||||||
ON DUPLICATE KEY UPDATE Comment = CONCAT('" . db_string($AdminComment) . "', Comment)");
|
ON DUPLICATE KEY UPDATE Comment = CONCAT('" . db_string($AdminComment) . "', Comment)");
|
||||||
Tools::update_user_notes($UserID, $AdminComment);
|
|
||||||
Misc::send_pm($UserID, $LoggedUser['ID'], $Subject, $PrivateMessage);
|
Misc::send_pm($UserID, $LoggedUser['ID'], $Subject, $PrivateMessage);
|
||||||
|
|
||||||
// Mainly
|
// Mainly
|
||||||
|
Loading…
Reference in New Issue
Block a user