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:
Roman Kelesidis 2025-05-30 17:53:22 +03:00 committed by GitHub
commit 79bb13e17d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 105 additions and 30 deletions

View file

@ -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([