mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -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/';
|
$css_dir = 'styles/' . basename(TEMPLATES_DIR) . '/' . $tpl_dir_name . '/css/';
|
||||||
|
|
||||||
$template->assign_vars([
|
$template->assign_vars([
|
||||||
|
'BB_ROOT' => BB_ROOT,
|
||||||
'SPACER' => make_url('styles/images/spacer.gif'),
|
'SPACER' => make_url('styles/images/spacer.gif'),
|
||||||
'STYLESHEET' => make_url($css_dir . $stylesheet),
|
'STYLESHEET' => make_url($css_dir . $stylesheet),
|
||||||
'EXT_LINK_NEW_WIN' => $bb_cfg['ext_link_new_win'],
|
'EXT_LINK_NEW_WIN' => $bb_cfg['ext_link_new_win'],
|
||||||
|
|
|
@ -194,8 +194,12 @@ $template->assign_vars([
|
||||||
'BONUS_URL' => BB_ROOT . BONUS_URL,
|
'BONUS_URL' => BB_ROOT . BONUS_URL,
|
||||||
'TOPIC_URL' => BB_ROOT . TOPIC_URL,
|
'TOPIC_URL' => BB_ROOT . TOPIC_URL,
|
||||||
|
|
||||||
|
'ONLY_NEW_POSTS' => ONLY_NEW_POSTS,
|
||||||
|
'ONLY_NEW_TOPICS' => ONLY_NEW_TOPICS,
|
||||||
|
|
||||||
// Misc
|
// Misc
|
||||||
'BOT_UID' => BOT_UID,
|
'BOT_UID' => BOT_UID,
|
||||||
|
'COOKIE_MARK' => COOKIE_MARK,
|
||||||
'SID' => $userdata['session_id'],
|
'SID' => $userdata['session_id'],
|
||||||
'SID_HIDDEN' => '<input type="hidden" name="sid" value="' . $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