mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Passkey rework 🔫 (#839)
* WIP: Passkey rework 🔫
* Update tracker.php
* Update Torrent.php
* Update Torrent.php
* Update displaying_torrent.php
* Update viewforum.php
* Update Torrent.php
* Update functions.php
* Update functions.php
* Updated
* Update config.php
* Update functions.php
* Update usercp_viewprofile.tpl
* Update usercp_viewprofile.tpl
* Updated
* Updated
* Update usercp_viewprofile.tpl
* Update usercp_viewprofile.tpl
* Update displaying_torrent.php
This commit is contained in:
parent
3288d905ac
commit
9ba9ca2b61
13 changed files with 88 additions and 52 deletions
|
@ -122,6 +122,7 @@ $template->assign_vars(array(
|
|||
'USER_OPTIONS_JS' => (IS_GUEST) ? '{}' : json_encode($user->opt_js, JSON_THROW_ON_ERROR),
|
||||
|
||||
'USE_TABLESORTER' => !empty($page_cfg['use_tablesorter']),
|
||||
'NEED_GEN_PASSKEY' => (!IS_GUEST && !\TorrentPier\Legacy\Torrent::getPasskey($userdata['user_id'])),
|
||||
|
||||
'SITENAME' => $bb_cfg['sitename'],
|
||||
'U_INDEX' => BB_ROOT . "index.php",
|
||||
|
@ -189,6 +190,7 @@ $template->assign_vars(array(
|
|||
'POST_URL' => BB_ROOT . POST_URL,
|
||||
'POSTING_URL' => $bb_cfg['posting_url'],
|
||||
'PROFILE_URL' => BB_ROOT . PROFILE_URL,
|
||||
'BONUS_URL' => BB_ROOT . BONUS_URL,
|
||||
'TOPIC_URL' => BB_ROOT . TOPIC_URL,
|
||||
|
||||
'AJAX_HTML_DIR' => AJAX_HTML_DIR,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue