Some display correction (#1288)

This commit is contained in:
Cønstantine Kovalensky 2023-12-29 21:42:35 +04:00 committed by GitHub
commit b35cacc71d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 9 deletions

View file

@ -39,9 +39,6 @@ and go from there. The documentation will be translated into english in the near
* Atom feeds
* and many more.
## Interface (default)
<img src="https://i1.imageban.ru/out/2023/12/29/b4e2995d4f0762ba3b37af7cc8d59a83.png?1" alt="" />
## 🔧 Requirements
* Apache / nginx

View file

@ -105,10 +105,6 @@ if (!isset($left) || $left < 0) {
msg_die('Invalid left value: ' . $left);
}
if (max($uploaded, $downloaded, $left) >= (2**64 - 1)) { // BIGINT
msg_die('Integer overflow');
}
// IP
$ip = $_SERVER['REMOTE_ADDR'];

View file

@ -16,7 +16,7 @@ global $bb_cfg, $userdata, $template, $DBS, $lang;
if (!empty($template)) {
$template->assign_vars([
'SIMPLE_FOOTER' => !empty($gen_simple_header),
'POWERED' => 'Fueled by <a target="_blank" href="https://github.com/torrentpier/torrentpier">TorrentPier</a> with love ❤️ | &copy; 2005-' . date('Y'),
'POWERED' => 'Fueled by <a target="_blank" href="https://github.com/torrentpier/torrentpier">TorrentPier</a> &copy; 2005-' . date('Y'),
'SHOW_ADMIN_LINK' => (IS_ADMIN && !defined('IN_ADMIN')),
'ADMIN_LINK_HREF' => 'admin/index.php',
]);

View file

@ -156,7 +156,7 @@
<tr>
<td class="prof-title">{L_LOCATION}:</td>
<td>
<div><input type="text" name="user_from" size="50" maxlength="100" value="{USER_FROM}"/><br><h6>❤️ Country flags provided by <a href="https://github.com/hampusborgos/country-flags/blob/ba2cf4101bf029d2ada26da2f95121de74581a4d/countries.json" target="_blank">https://github.com/hampusborgos/country-flags/</a></h6></div>
<div><input type="text" name="user_from" size="50" maxlength="100" value="{USER_FROM}"/><br><h6>{L_LOCATION_FLAGS} <a href="https://github.com/hampusborgos/country-flags/blob/ba2cf4101bf029d2ada26da2f95121de74581a4d/countries.json" target="_blank">{L_LIST}</a></h6></div>
</td>
</tr>
<!-- ENDIF -->