mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-20 21:33:54 -07:00
Some display correction (#1288)
This commit is contained in:
parent
6bbacdfa3e
commit
b35cacc71d
4 changed files with 2 additions and 9 deletions
|
@ -39,9 +39,6 @@ and go from there. The documentation will be translated into english in the near
|
||||||
* Atom feeds
|
* Atom feeds
|
||||||
* and many more.
|
* and many more.
|
||||||
|
|
||||||
## Interface (default)
|
|
||||||
<img src="https://i1.imageban.ru/out/2023/12/29/b4e2995d4f0762ba3b37af7cc8d59a83.png?1" alt="" />
|
|
||||||
|
|
||||||
## 🔧 Requirements
|
## 🔧 Requirements
|
||||||
|
|
||||||
* Apache / nginx
|
* Apache / nginx
|
||||||
|
|
|
@ -105,10 +105,6 @@ if (!isset($left) || $left < 0) {
|
||||||
msg_die('Invalid left value: ' . $left);
|
msg_die('Invalid left value: ' . $left);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (max($uploaded, $downloaded, $left) >= (2**64 - 1)) { // BIGINT
|
|
||||||
msg_die('Integer overflow');
|
|
||||||
}
|
|
||||||
|
|
||||||
// IP
|
// IP
|
||||||
$ip = $_SERVER['REMOTE_ADDR'];
|
$ip = $_SERVER['REMOTE_ADDR'];
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ global $bb_cfg, $userdata, $template, $DBS, $lang;
|
||||||
if (!empty($template)) {
|
if (!empty($template)) {
|
||||||
$template->assign_vars([
|
$template->assign_vars([
|
||||||
'SIMPLE_FOOTER' => !empty($gen_simple_header),
|
'SIMPLE_FOOTER' => !empty($gen_simple_header),
|
||||||
'POWERED' => 'Fueled by <a target="_blank" href="https://github.com/torrentpier/torrentpier">TorrentPier</a> with love ❤️ | © 2005-' . date('Y'),
|
'POWERED' => 'Fueled by <a target="_blank" href="https://github.com/torrentpier/torrentpier">TorrentPier</a> © 2005-' . date('Y'),
|
||||||
'SHOW_ADMIN_LINK' => (IS_ADMIN && !defined('IN_ADMIN')),
|
'SHOW_ADMIN_LINK' => (IS_ADMIN && !defined('IN_ADMIN')),
|
||||||
'ADMIN_LINK_HREF' => 'admin/index.php',
|
'ADMIN_LINK_HREF' => 'admin/index.php',
|
||||||
]);
|
]);
|
||||||
|
|
|
@ -156,7 +156,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td class="prof-title">{L_LOCATION}:</td>
|
<td class="prof-title">{L_LOCATION}:</td>
|
||||||
<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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue