mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-23 16:32:45 +00:00
Added server origin to punishment info pages
This commit is contained in:
parent
88cc07540b
commit
4abcd21eaf
12
info.php
12
info.php
@ -60,7 +60,8 @@ class BanInfo extends Info {
|
||||
$page->t("info_banned_reason") => $page->clean($row['reason']),
|
||||
$page->t("info_banned_when") => $page->millis_to_date($row['time']),
|
||||
$page->t("info_banned_expiry") => $page->expiry($row),
|
||||
$page->t("column_server") => $page->server($row),
|
||||
$page->t("column_server_scope") => $page->server($row),
|
||||
$page->t("column_server_origin") => $page->server($row, "server_origin"),
|
||||
);
|
||||
}
|
||||
}
|
||||
@ -74,7 +75,8 @@ class MuteInfo extends Info {
|
||||
$page->t("info_muted_reason") => $page->clean($row['reason']),
|
||||
$page->t("info_muted_when") => $page->millis_to_date($row['time']),
|
||||
$page->t("info_muted_expiry") => $page->expiry($row),
|
||||
$page->t("column_server") => $page->server($row),
|
||||
$page->t("column_server_scope") => $page->server($row),
|
||||
$page->t("column_server_origin") => $page->server($row, "server_origin"),
|
||||
);
|
||||
}
|
||||
}
|
||||
@ -92,7 +94,8 @@ class WarnInfo extends Info {
|
||||
$page->t("info_warn_reason") => $page->clean($row['reason']),
|
||||
$page->t("info_warn_when") => $page->millis_to_date($row['time']),
|
||||
$page->t("info_warn_expiry") => $page->expiry($row),
|
||||
$page->t("column_server") => $page->server($row),
|
||||
$page->t("column_server_scope") => $page->server($row),
|
||||
$page->t("column_server_origin") => $page->server($row, "server_origin"),
|
||||
);
|
||||
}
|
||||
}
|
||||
@ -105,7 +108,8 @@ class KickInfo extends Info {
|
||||
$page->t("info_kick_by") => $this->moderator_avatar($row),
|
||||
$page->t("info_kick_reason") => $page->clean($row['reason']),
|
||||
$page->t("info_kick_when") => $page->millis_to_date($row['time']),
|
||||
$page->t("column_server") => $page->server($row),
|
||||
$page->t("column_server_scope") => $page->server($row),
|
||||
$page->t("column_server_origin") => $page->server($row, "server_origin"),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -92,6 +92,8 @@ class DefaultLang {
|
||||
$array["warns_receive"] = "Received Warning";
|
||||
|
||||
$array["column_server"] = "Server";
|
||||
$array["column_server_scope"] = "Server Scope";
|
||||
$array["column_server_origin"] = "Origin Server";
|
||||
$array["column_server_global"] = "*";
|
||||
|
||||
// Errors which are only accessible from invalid user input or removed pages.
|
||||
|
Loading…
x
Reference in New Issue
Block a user