'."\n";
echo ''."\n";
diff --git a/adminstuds.php b/adminstuds.php
index 1f0dd94..f806f72 100644
--- a/adminstuds.php
+++ b/adminstuds.php
@@ -117,7 +117,7 @@ if (isset($_POST["boutonnouveautitre"])) {
mail ($adresseadmin,
_("[ADMINISTRATOR] New title for your poll") . ' ' . NOMAPPLICATION,
_("You have changed the title of your poll. \nYou can modify this poll with this link") .
- " :\n\n".get_server_name()."/adminstuds.php?sondage=$numsondageadmin\n\n" .
+ " :\n\n".getUrlSondage($numsondageadmin, true)."\n\n" .
_("Thanks for your confidence.") . "\n" . NOMAPPLICATION,
$headers);
@@ -135,7 +135,7 @@ if (isset($_POST["boutonnouveauxcommentaires"])) {
mail ($adresseadmin,
_("[ADMINISTRATOR] New comments for your poll") . ' ' . NOMAPPLICATION,
_("You have changed the comments of your poll. \nYou can modify this poll with this link") .
- " :\n\n".get_server_name()."/adminstuds.php?sondage=$numsondageadmin \n\n" .
+ " :\n\n".getUrlSondage($numsondageadmin, true)." \n\n" .
_("Thanks for your confidence.") . "\n" . NOMAPPLICATION,
$headers);
@@ -154,7 +154,7 @@ if (isset($_POST["boutonnouvelleadresse"])){
mail ($_POST['nouvelleadresse'],
_("[ADMINISTRATOR] New email address for your poll") . ' ' . NOMAPPLICATION,
_("You have changed your email address in your poll. \nYou can modify this poll with this link") .
- " :\n\n".get_server_name()."/adminstuds.php?sondage=$numsondageadmin\n\n" .
+ " :\n\n".getUrlSondage($numsondageadmin, true)."\n\n" .
_("Thanks for your confidence.") . "\n" . NOMAPPLICATION,
$headers);
@@ -177,7 +177,7 @@ if ($_POST["ajoutsujet_x"]){
sous_bandeau();
//on recupere les données et les sujets du sondage
- echo '