mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
Updated
This commit is contained in:
parent
aa4f9438a3
commit
cdd920b893
3 changed files with 8 additions and 4 deletions
|
@ -8,7 +8,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!empty($setmodules)) {
|
if (!empty($setmodules)) {
|
||||||
$module['MODS']['ROBOTS_TXT_EDITOR'] = basename(__FILE__);
|
$module['MODS']['ROBOTS_TXT_EDITOR_TITLE'] = basename(__FILE__);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ if (isset($_POST['save'])) {
|
||||||
bb_die('Could not write robots.txt #2');
|
bb_die('Could not write robots.txt #2');
|
||||||
}
|
}
|
||||||
|
|
||||||
bb_die($lang['CONFIG_ROBOTS_TXT_SAVED']);
|
bb_die($lang['ROBOTS_TXT_UPDATED_SUCCESSFULLY']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$current_content = '';
|
$current_content = '';
|
||||||
|
|
|
@ -1986,6 +1986,10 @@ $lang['USER_POSTS_COUNT_SYNCHRONIZED'] = 'User posts count has been synchronized
|
||||||
// Online Userlist
|
// Online Userlist
|
||||||
$lang['SHOW_ONLINE_USERLIST'] = 'Show the list of online users';
|
$lang['SHOW_ONLINE_USERLIST'] = 'Show the list of online users';
|
||||||
|
|
||||||
|
// Robots.txt editor
|
||||||
|
$lang['ROBOTS_TXT_EDITOR_TITLE'] = 'Manage robots.txt';
|
||||||
|
$lang['ROBOTS_TXT_UPDATED_SUCCESSFULLY'] = 'File robots.txt has been updated successfully';
|
||||||
|
|
||||||
// Auth pages
|
// Auth pages
|
||||||
$lang['USER_SELECT'] = 'Select a User';
|
$lang['USER_SELECT'] = 'Select a User';
|
||||||
$lang['GROUP_SELECT'] = 'Select a Group';
|
$lang['GROUP_SELECT'] = 'Select a Group';
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<h1>{L_ROBOTS_TXT_EDITOR}</h1>
|
<h1>{L_ROBOTS_TXT_EDITOR_TITLE}</h1>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<form action="{S_ACTION}" method="post">
|
<form action="{S_ACTION}" method="post">
|
||||||
<table class="forumline">
|
<table class="forumline">
|
||||||
<tr>
|
<tr>
|
||||||
<th>{L_ROBOTS_TXT_EDITOR}</th>
|
<th>{L_ROBOTS_TXT_EDITOR_TITLE}</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row1">
|
<td class="row1">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue