setMarkupEscaped(true);
$markdown->setBreaksEnabled(true);
$markdown->setSafeMode(true);
$markdown->setUrlsLinked(true);
$text =
[
"title" =>
[
1 => "Warning",
2 => "Banned for ".general::time_elapsed("@".((($moderationInfo->timeEnds-$moderationInfo->timeStarted)+time())+1), false, false),
3 => "Account Deleted"
],
"header" =>
[
1 => "This is just a heads-up to remind you to follow the rules",
2 => "Your account has been banned for violating our rules",
3 => "Your account has been permanently banned for violating our rules"
],
"footer" =>
[
1 => "Please re-read the rules and abide by them to prevent yourself from facing a ban",
2 => "Your ban end".($moderationInfo->timeEnds > time() ? "s":"ed")." at ".date('j/n/Y g:i:s A \G\M\T', $moderationInfo->timeEnds).($moderationInfo->timeEnds > time() ? ", or in ".general::time_elapsed("@".($moderationInfo->timeEnds+1), true, false)."
Circumventing your ban on an alternate account while it is active may cause your ban time to be extended" : ""),
3 => "Circumventing your ban by using an alternate account will lower your chance of appeal (if your ban was appealable) and potentially warrant you an IP ban"
]
];
pageBuilder::$pageConfig["title"] = SITE_CONFIG["site"]["name"]." Moderation";
pageBuilder::buildHeader();
?>
=$text["header"][$moderationInfo->banType]?>
Done at: =date('j/n/Y g:i:s A \G\M\T', $moderationInfo->timeStarted)?>
Moderator note:
', '
', $markdown->text($moderationInfo->reason))?>
=$text["footer"][$moderationInfo->banType]?>
banType == 1 || $moderationInfo->banType == 2 && $moderationInfo->timeEnds < time()) { ?>