mirror of
https://framagit.org/framasoft/framadate/framadate
synced 2026-01-23 02:14:06 +00:00
Merge branch 'add-x-robots-tag' into 'v1.1.x'
Add X-Robots-Tag header to studs.php and adminstuds.php files See merge request framasoft/framadate/framadate!502
This commit is contained in:
commit
83201ece9c
2 changed files with 2 additions and 0 deletions
|
|
@ -469,4 +469,5 @@ $smarty->assign('editedVoteUniqueId', '');
|
|||
$smarty->assign('default_to_marldown_editor', $config['markdown_editor_by_default']);
|
||||
$smarty->assign('selectedNewVotes', $selectedNewVotes);
|
||||
|
||||
header("X-Robots-Tag: noindex, nofollow, nosnippet, noarchive");
|
||||
$smarty->display('studs.tpl');
|
||||
|
|
|
|||
|
|
@ -260,4 +260,5 @@ $smarty->assign('editedVoteUniqueId', $editedVoteUniqueId);
|
|||
$smarty->assign('ValueMax', $poll->ValueMax);
|
||||
$smarty->assign('selectedNewVotes', $selectedNewVotes);
|
||||
|
||||
header("X-Robots-Tag: noindex, nofollow, nosnippet, noarchive");
|
||||
$smarty->display('studs.tpl');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue