mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Minor improvements (#884)
* Minor improvements * Update displaying_torrent.php * Updated * Updated * Updated * Update terms.php
This commit is contained in:
parent
4b453de64a
commit
209b8cd638
20 changed files with 207 additions and 211 deletions
|
@ -14,14 +14,14 @@ if (!defined('BB_ROOT')) {
|
|||
global $bb_cfg, $userdata, $template, $DBS, $lang;
|
||||
|
||||
if (!empty($template)) {
|
||||
$template->assign_vars(array(
|
||||
$template->assign_vars([
|
||||
'SIMPLE_FOOTER' => !empty($gen_simple_header),
|
||||
'POWERED' => 'Tracker software by <a target="_blank" href="https://torrentpier.com">TorrentPier</a> © 2005-' . date('Y'),
|
||||
'SHOW_ADMIN_LINK' => (IS_ADMIN && !defined('IN_ADMIN')),
|
||||
'ADMIN_LINK_HREF' => "admin/index.php",
|
||||
));
|
||||
'ADMIN_LINK_HREF' => 'admin/index.php',
|
||||
]);
|
||||
|
||||
$template->set_filenames(array('page_footer' => 'page_footer.tpl'));
|
||||
$template->set_filenames(['page_footer' => 'page_footer.tpl']);
|
||||
$template->pparse('page_footer');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue