diff --git a/htdocs/opensurvey/adminstuds.php b/htdocs/opensurvey/card.php
similarity index 97%
rename from htdocs/opensurvey/adminstuds.php
rename to htdocs/opensurvey/card.php
index 4f93bdff8d5..48a537b25e9 100644
--- a/htdocs/opensurvey/adminstuds.php
+++ b/htdocs/opensurvey/card.php
@@ -17,7 +17,7 @@
*/
/**
- * \file htdocs/opensurvey/adminstuds.php
+ * \file htdocs/opensurvey/card.php
* \ingroup opensurvey
* \brief Page to edit survey
*/
@@ -327,7 +327,7 @@ $comments = $object->getComments();
if ($comments) {
foreach ($comments as $comment) {
if ($user->rights->opensurvey->write) {
- print ' '.img_picto('', 'delete.png').' ';
+ print ' '.img_picto('', 'delete.png').' ';
}
print htmlentities($comment->usercomment).': '.dol_nl2br(htmlentities($comment->comment))."
";
diff --git a/htdocs/opensurvey/fonctions.php b/htdocs/opensurvey/fonctions.php
index 7c98ed0e15c..5c001030e4e 100644
--- a/htdocs/opensurvey/fonctions.php
+++ b/htdocs/opensurvey/fonctions.php
@@ -36,12 +36,12 @@ function opensurvey_prepare_head(Opensurveysondage $object) {
$h = 0;
$head = array();
- $head[0][0] = 'adminstuds.php?id='.$object->id_sondage;
+ $head[0][0] = 'card.php?id='.$object->id_sondage;
$head[0][1] = $langs->trans("Card");
$head[0][2] = 'general';
$h++;
- $head[1][0] = 'adminstuds_preview.php?id='.$object->id_sondage;
+ $head[1][0] = 'results.php?id='.$object->id_sondage;
$head[1][1] = $langs->trans("SurveyResults");
$head[1][2] = 'preview';
$h++;
@@ -195,7 +195,7 @@ function issetAndNoEmpty($name, $tableau = null)
function getUrlSondage($id, $admin = false)
{
if ($admin === true) {
- $url = get_server_name().'adminstuds_preview.php?id='.$id;
+ $url = get_server_name().'results.php?id='.$id;
} else {
$url = get_server_name().'/public/studs.php?sondage='.$id;
}
@@ -275,7 +275,7 @@ function ajouter_sondage($origin)
$opensurveysondage->create(null);
- if ($origin == 'dolibarr') $urlback=dol_buildpath('/opensurvey/adminstuds_preview.php',1).'?id='.$sondage;
+ if ($origin == 'dolibarr') $urlback=dol_buildpath('/opensurvey/results.php',1).'?id='.$sondage;
else
{
// Define $urlwithroot
diff --git a/htdocs/opensurvey/list.php b/htdocs/opensurvey/list.php
index de53147a66e..73442d3cf6d 100644
--- a/htdocs/opensurvey/list.php
+++ b/htdocs/opensurvey/list.php
@@ -122,7 +122,7 @@ while ($i < min($num,$limit))
$var=!$var;
print '