Responsive
This commit is contained in:
parent
640ee5277c
commit
39af3635c5
@ -392,8 +392,6 @@ if ($action == 'delete')
|
||||
|
||||
|
||||
|
||||
print '<br>';
|
||||
|
||||
|
||||
print '<form name="formulaire5" action="#" method="POST">'."\n";
|
||||
print '<input type="hidden" name="token" value="'.newToken().'">';
|
||||
@ -406,7 +404,7 @@ $comments = $object->getComments();
|
||||
if ($comments) {
|
||||
foreach ($comments as $comment) {
|
||||
if ($user->rights->opensurvey->write) {
|
||||
print '<a href="'.dol_buildpath('/opensurvey/card.php', 1).'?deletecomment='.$comment->id_comment.'&id='.$numsondage.'"> '.img_picto('', 'delete.png').'</a> ';
|
||||
print '<a href="'.dol_buildpath('/opensurvey/card.php', 1).'?deletecomment='.$comment->id_comment.'&id='.$numsondage.'"> '.img_picto('', 'delete.png', '', false, 0, 0, '', '', 0).'</a> ';
|
||||
}
|
||||
|
||||
print dol_htmlentities($comment->usercomment).': '.dol_nl2br(dol_htmlentities($comment->comment))." <br>";
|
||||
@ -423,7 +421,7 @@ print '<br>';
|
||||
if ($object->allow_comments) {
|
||||
print $langs->trans("AddACommentForPoll").'<br>';
|
||||
print '<textarea name="comment" rows="2" class="quatrevingtpercent"></textarea><br>'."\n";
|
||||
print $langs->trans("Name").': <input type="text" size="50" name="commentuser" value="'.$user->getFullName($langs).'"><br>'."\n";
|
||||
print $langs->trans("Name").': <input type="text" class="minwidth300" name="commentuser" value="'.$user->getFullName($langs).'"> '."\n";
|
||||
print '<input type="submit" class="button" name="ajoutcomment" value="'.dol_escape_htmltag($langs->trans("AddComment")).'"><br>'."\n";
|
||||
if (isset($erreur_commentaire_vide) && $erreur_commentaire_vide == "yes") {
|
||||
print "<font color=#FF0000>".$langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("Name"))."</font>";
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/* Copyright (C) 2013-2015 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
/* Copyright (C) 2013-2020 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2014 Marcos García <marcosgdf@gmail.com>
|
||||
* Copyright (C) 2018 Frédéric France <frederic.france@netlogic.fr>
|
||||
*
|
||||
@ -503,6 +503,8 @@ dol_fiche_end();
|
||||
print '</form>'."\n";
|
||||
|
||||
|
||||
// Buttons
|
||||
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
print '<a class="butAction" href="exportcsv.php?id='.$numsondage.'">'.$langs->trans("ExportSpreadsheet").' (.CSV)'.'</a>';
|
||||
@ -546,7 +548,7 @@ if (GETPOST('ajoutsujet'))
|
||||
for ($i = 1; $i < 32; $i++) {
|
||||
print '<OPTION VALUE="'.$i.'">'.$i.'</OPTION>'."\n";
|
||||
}
|
||||
print '</SELECT>'."\n";
|
||||
print '</select>'."\n";
|
||||
|
||||
print $formother->select_month('', 'nouveaumois', 1);
|
||||
|
||||
@ -560,14 +562,14 @@ if (GETPOST('ajoutsujet'))
|
||||
for ($i = 0; $i < 24; $i++) {
|
||||
print '<OPTION VALUE="'.$i.'">'.$i.' H</OPTION>'."\n";
|
||||
}
|
||||
print '</SELECT>'."\n";
|
||||
print '</select>'."\n";
|
||||
print '<select name="nouvelleminutedebut"> '."\n";
|
||||
print '<OPTION VALUE="vide"> </OPTION>'."\n";
|
||||
print '<OPTION VALUE="00">00</OPTION>'."\n";
|
||||
print '<OPTION VALUE="15">15</OPTION>'."\n";
|
||||
print '<OPTION VALUE="30">30</OPTION>'."\n";
|
||||
print '<OPTION VALUE="45">45</OPTION>'."\n";
|
||||
print '</SELECT>'."\n";
|
||||
print '</select>'."\n";
|
||||
print '<br><br>'.$langs->trans("AddEndHour").': <br><br>'."\n";
|
||||
print '<select name="nouvelleheurefin"> '."\n";
|
||||
print '<OPTION VALUE="vide"> </OPTION>'."\n";
|
||||
@ -581,7 +583,7 @@ if (GETPOST('ajoutsujet'))
|
||||
print '<OPTION VALUE="15">15</OPTION>'."\n";
|
||||
print '<OPTION VALUE="30">30</OPTION>'."\n";
|
||||
print '<OPTION VALUE="45">45</OPTION>'."\n";
|
||||
print '</SELECT>'."\n";
|
||||
print '</select>'."\n";
|
||||
|
||||
print '<br><br>';
|
||||
print' <input type="submit" class="button" name="ajoutercolonne" value="'.dol_escape_htmltag($langs->trans("Add")).'">'."\n";
|
||||
@ -597,7 +599,7 @@ if (GETPOST('ajoutsujet'))
|
||||
}
|
||||
|
||||
if ($user->rights->opensurvey->write) {
|
||||
print '<br>'.$langs->trans("PollAdminDesc", img_picto('', 'delete'), $langs->trans("Add")).'<br>';
|
||||
print '<span class="opacitymedium">'.$langs->trans("PollAdminDesc", img_picto('', 'delete'), $langs->trans("Add")).'</span><br>';
|
||||
}
|
||||
|
||||
$nbcolonnes = substr_count($object->sujet, ',') + 1;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user