mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 10:37:30 -07:00
feat(ACP): Added robots.txt
editor (#1913)
* feat(admin): Added robots.txt editor * Update admin_robots.tpl * Update admin_robots.php * Update admin_robots.php * Update admin_robots.php * Update admin_robots.tpl * Updated * Updated * Update main.php * Updated
This commit is contained in:
parent
d18f99fa1c
commit
79bb13e17d
5 changed files with 105 additions and 30 deletions
|
@ -19,7 +19,7 @@ $preview = isset($_POST['preview']);
|
|||
|
||||
if (isset($_POST['post']) && ($bb_cfg['terms'] !== $_POST['message'])) {
|
||||
bb_update_config(['terms' => $_POST['message']]);
|
||||
bb_die($lang['CONFIG_UPDATED']);
|
||||
bb_die($lang['TERMS_UPDATED_SUCCESSFULLY'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_TERMS_CONFIG'], '<a href="admin_terms.php">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'));
|
||||
}
|
||||
|
||||
$template->assign_vars([
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue