mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Admin index/log rework, codestyle and new_tpl deprecation.
This commit is contained in:
parent
61b7ab3502
commit
072b19b0ae
35 changed files with 909 additions and 969 deletions
|
@ -38,8 +38,8 @@ if (isset($_POST['post']) && $bb_cfg['terms'] != $_POST['message']) {
|
|||
$template->assign_vars(array(
|
||||
'S_ACTION' => 'admin_terms.php',
|
||||
'EXT_LINK_NW' => $bb_cfg['ext_link_new_win'],
|
||||
'MESSAGE' => ($bb_cfg['terms']) ?: '',
|
||||
'PREVIEW_HTML' => (isset($_REQUEST['preview'])) ? bbcode2html($_POST['message']) : '',
|
||||
'MESSAGE' => $bb_cfg['terms'] ?: '',
|
||||
'PREVIEW_HTML' => isset($_REQUEST['preview']) ? bbcode2html($_POST['message']) : '',
|
||||
));
|
||||
|
||||
print_page('admin_terms.tpl', 'admin');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue