';
top_htmlhead($head, $title, $disablejs, $disablehead, $arrayofjs, $arrayofcss); // Show html headers
- print '';
+ print '';
- // Print logo
- if ($mysoc->logo) {
- if (file_exists($conf->mycompany->dir_output.'/logos/thumbs/'.$mysoc->logo_small)) {
- $urllogo=DOL_URL_ROOT.'/viewimage.php?cache=1&modulepart=mycompany&file='.urlencode('logos/thumbs/'.$mysoc->logo_small);
- }
- }
- if (!$urllogo && (is_readable(DOL_DOCUMENT_ROOT.'/theme/dolibarr_logo.png')))
+
+ print '
'."\n";
+ print '
'."\n";
print '
'."\n";
-llxFooterSurvey();
+llxFooter();
$db->close();
diff --git a/htdocs/opensurvey/wizard/choix_autre.php b/htdocs/opensurvey/wizard/choix_autre.php
index cb3ed346a52..7a31e21c843 100644
--- a/htdocs/opensurvey/wizard/choix_autre.php
+++ b/htdocs/opensurvey/wizard/choix_autre.php
@@ -110,7 +110,7 @@ llxHeader('', $langs->trans("OpenSurvey"), "", '', 0, 0, $arrayofjs, $arrayofcss
if (empty($_SESSION['titre']))
{
dol_print_error('', $langs->trans('ErrorOpenSurveyFillFirstSection'));
- llxFooterSurvey();
+ llxFooter();
exit;
}
diff --git a/htdocs/public/opensurvey/studs.php b/htdocs/public/opensurvey/studs.php
index ab011dd219a..c9697e2e1e4 100644
--- a/htdocs/public/opensurvey/studs.php
+++ b/htdocs/public/opensurvey/studs.php
@@ -250,7 +250,8 @@ $form = new Form($db);
$arrayofjs = array();
$arrayofcss = array('/opensurvey/css/style.css');
-llxHeaderSurvey($object->titre, "", 0, 0, $arrayofjs, $arrayofcss);
+
+llxHeaderSurvey($object->titre, "", 0, 0, $arrayofjs, $arrayofcss, $numsondage);
if (empty($object->ref)) // For survey, id is a hex string
{
@@ -274,6 +275,7 @@ foreach ($toutsujet as $value)
$toutsujet = str_replace("°", "'", $toutsujet);
+
print '
'.$langs->trans("YouAreInivitedToVote").'
';
print $langs->trans("OpenSurveyHowTo").'
';
@@ -301,9 +303,6 @@ if (!$canbemodified) {
exit;
}
-print '