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:
Thomas Citharel 2022-03-21 17:29:20 +00:00
commit 83201ece9c
2 changed files with 2 additions and 0 deletions

View file

@ -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');

View file

@ -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');