diff --git a/htdocs/opensurvey/adminstuds_preview.php b/htdocs/opensurvey/adminstuds_preview.php index 1bbf65ff457..a9e791228e6 100644 --- a/htdocs/opensurvey/adminstuds_preview.php +++ b/htdocs/opensurvey/adminstuds_preview.php @@ -468,9 +468,6 @@ print ''.$langs print ''; -showlogo(); - - // Add form to add a field if (GETPOST('ajoutsujet')) { @@ -563,34 +560,12 @@ if ($user->rights->opensurvey->write) { print $langs->trans("PollAdminDesc",img_picto('','cancel.png@opensurvey'),img_picto('','add-16.png@opensurvey')).'

'; } -print '
'."\n"; - -//affichage du titre du sondage -$titre=str_replace("\\","",$object->titre); -print ''.htmlentities($titre).'
'."\n"; - -//affichage du nom de l'auteur du sondage -print $langs->trans("InitiatorOfPoll") .' : '.htmlentities($object->nom_admin).'
'."\n"; - -//affichage des commentaires du sondage -if ($object->commentaires) -{ - print '
'.$langs->trans("Description") .' :
'."\n"; - $commentaires=dol_nl2br(htmlentities($object->commentaires)); - print $commentaires; - print '
'."\n"; -} - -print '
'."\n"; - - $nbcolonnes=substr_count($object->sujet,',')+1; print '
'."\n"; print ''; print '
'."\n"; -print '
'."\n"; // Start to show survey result print ''."\n"; diff --git a/htdocs/opensurvey/fonctions.php b/htdocs/opensurvey/fonctions.php index 9e7bcf5f511..7c98ed0e15c 100644 --- a/htdocs/opensurvey/fonctions.php +++ b/htdocs/opensurvey/fonctions.php @@ -42,7 +42,7 @@ function opensurvey_prepare_head(Opensurveysondage $object) { $h++; $head[1][0] = 'adminstuds_preview.php?id='.$object->id_sondage; - $head[1][1] = $langs->trans("SurveyResults").'/'.$langs->trans("Preview"); + $head[1][1] = $langs->trans("SurveyResults"); $head[1][2] = 'preview'; $h++;