mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
feat: Restore some constants
This commit is contained in:
parent
b0cbb68394
commit
fd3bb34715
2 changed files with 5 additions and 0 deletions
|
@ -1099,6 +1099,7 @@ function setup_style()
|
|||
$css_dir = 'styles/' . basename(TEMPLATES_DIR) . '/' . $tpl_dir_name . '/css/';
|
||||
|
||||
$template->assign_vars([
|
||||
'BB_ROOT' => BB_ROOT,
|
||||
'SPACER' => make_url('styles/images/spacer.gif'),
|
||||
'STYLESHEET' => make_url($css_dir . $stylesheet),
|
||||
'EXT_LINK_NEW_WIN' => $bb_cfg['ext_link_new_win'],
|
||||
|
|
|
@ -194,8 +194,12 @@ $template->assign_vars([
|
|||
'BONUS_URL' => BB_ROOT . BONUS_URL,
|
||||
'TOPIC_URL' => BB_ROOT . TOPIC_URL,
|
||||
|
||||
'ONLY_NEW_POSTS' => ONLY_NEW_POSTS,
|
||||
'ONLY_NEW_TOPICS' => ONLY_NEW_TOPICS,
|
||||
|
||||
// Misc
|
||||
'BOT_UID' => BOT_UID,
|
||||
'COOKIE_MARK' => COOKIE_MARK,
|
||||
'SID' => $userdata['session_id'],
|
||||
'SID_HIDDEN' => '<input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />',
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue