From 39af3635c5a227b1c356ab131a9cc545519b6e74 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 20 Mar 2020 21:50:34 +0100 Subject: [PATCH] Responsive --- htdocs/opensurvey/card.php | 6 ++---- htdocs/opensurvey/results.php | 14 ++++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/htdocs/opensurvey/card.php b/htdocs/opensurvey/card.php index 64b270799a2..32dde7ddb3e 100644 --- a/htdocs/opensurvey/card.php +++ b/htdocs/opensurvey/card.php @@ -392,8 +392,6 @@ if ($action == 'delete') -print '
'; - print '
'."\n"; print ''; @@ -406,7 +404,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', '', false, 0, 0, '', '', 0).' '; } print dol_htmlentities($comment->usercomment).': '.dol_nl2br(dol_htmlentities($comment->comment))."
"; @@ -423,7 +421,7 @@ print '
'; if ($object->allow_comments) { print $langs->trans("AddACommentForPoll").'
'; print '
'."\n"; - print $langs->trans("Name").':
'."\n"; + print $langs->trans("Name").': '."\n"; print '
'."\n"; if (isset($erreur_commentaire_vide) && $erreur_commentaire_vide == "yes") { print "".$langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("Name")).""; diff --git a/htdocs/opensurvey/results.php b/htdocs/opensurvey/results.php index beed90e3fdd..fd5ff463eb8 100644 --- a/htdocs/opensurvey/results.php +++ b/htdocs/opensurvey/results.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2013-2020 Laurent Destailleur * Copyright (C) 2014 Marcos García * Copyright (C) 2018 Frédéric France * @@ -503,6 +503,8 @@ dol_fiche_end(); print ''."\n"; +// Buttons + print '
'; print ''.$langs->trans("ExportSpreadsheet").' (.CSV)'.''; @@ -546,7 +548,7 @@ if (GETPOST('ajoutsujet')) for ($i = 1; $i < 32; $i++) { print ''."\n"; } - print ''."\n"; + print ''."\n"; print $formother->select_month('', 'nouveaumois', 1); @@ -560,14 +562,14 @@ if (GETPOST('ajoutsujet')) for ($i = 0; $i < 24; $i++) { print ''."\n"; } - print ''."\n"; + print ''."\n"; print ''."\n"; + print ''."\n"; print '

'.$langs->trans("AddEndHour").':

'."\n"; print ''."\n"; + print ''."\n"; print '

'; print' '."\n"; @@ -597,7 +599,7 @@ if (GETPOST('ajoutsujet')) } if ($user->rights->opensurvey->write) { - print '
'.$langs->trans("PollAdminDesc", img_picto('', 'delete'), $langs->trans("Add")).'
'; + print ''.$langs->trans("PollAdminDesc", img_picto('', 'delete'), $langs->trans("Add")).'
'; } $nbcolonnes = substr_count($object->sujet, ',') + 1;