Minor improvements (#222)

This commit is contained in:
Roman Kelesidis 2023-08-17 00:42:01 +07:00 committed by GitHub
parent 7a70e68105
commit 4b70b348da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -6,7 +6,7 @@
**Merged pull requests:** **Merged pull requests:**
- Release v2.1.5-2023.08 🎉 - Release v2.1.5-2023.08 🎉
- Minor improvements [\#215](https://github.com/torrentpier/torrentpier-lts/pull/215), [\#216](https://github.com/torrentpier/torrentpier-lts/pull/216), [\#217](https://github.com/torrentpier/torrentpier-lts/pull/217), [\#218](https://github.com/torrentpier/torrentpier-lts/pull/218), [\#221](https://github.com/torrentpier/torrentpier-lts/pull/221) ([belomaxorka](https://github.com/belomaxorka)) - Minor improvements [\#215](https://github.com/torrentpier/torrentpier-lts/pull/215), [\#216](https://github.com/torrentpier/torrentpier-lts/pull/216), [\#217](https://github.com/torrentpier/torrentpier-lts/pull/217), [\#218](https://github.com/torrentpier/torrentpier-lts/pull/218), [\#221](https://github.com/torrentpier/torrentpier-lts/pull/221), [\#222](https://github.com/torrentpier/torrentpier-lts/pull/222) ([belomaxorka](https://github.com/belomaxorka))
## [v2.1.5-2023.07](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2023.07) (2023-08-04) ## [v2.1.5-2023.07](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2023.07) (2023-08-04)
[Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2023.06...v2.1.5-2023.07) [Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2023.06...v2.1.5-2023.07)

View File

@ -7,7 +7,7 @@ require(BB_ROOT .'common.php');
// Start session management // Start session management
$user->session_start(); $user->session_start();
global $lang; global $lang, $bb_cfg;
$info = array(); $info = array();
$html_dir = LANG_DIR . 'html/'; $html_dir = LANG_DIR . 'html/';
@ -42,11 +42,12 @@ switch ($req_mode)
$require = file_exists($html_dir . $info['src']) ? $html_dir . $info['src'] : $html_dir . 'not_found.html'; $require = file_exists($html_dir . $info['src']) ? $html_dir . $info['src'] : $html_dir . 'not_found.html';
?><!DOCTYPE html> ?><!DOCTYPE html>
<html dir="ltr"> <html lang="<?php echo $bb_cfg['default_lang']; ?>">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Style-Type" content="text/css" />
<link rel="stylesheet" href="styles/templates/default/css/main.css" type="text/css"> <link rel="stylesheet" href="styles/templates/default/css/main.css" type="text/css">
<title><?php echo $info['title']; ?></title>
</head> </head>
<body> <body>
<style type="text/css"> <style type="text/css">
@ -68,4 +69,4 @@ $require = file_exists($html_dir . $info['src']) ? $html_dir . $info['src'] : $h
<p class="gen tRight pad_6"><a href="javascript:window.close();" class="gen">[ <?php echo $lang['LOCK']; ?> ]</a></p> <p class="gen tRight pad_6"><a href="javascript:window.close();" class="gen">[ <?php echo $lang['LOCK']; ?> ]</a></p>
</div><!--/infobox-wrap--> </div><!--/infobox-wrap-->
</body> </body>
</html> </html>