Look and feel v12

This commit is contained in:
Laurent Destailleur 2020-05-27 03:19:37 +02:00
parent 3f4ae8875f
commit 479e8ceceb
3 changed files with 7 additions and 4 deletions

View File

@ -214,7 +214,7 @@ print '<input type="hidden" name="action" value="update">';
$head = opensurvey_prepare_head($object);
dol_fiche_head($head, 'general', $langs->trans("Survey"), -1, DOL_URL_ROOT.'/opensurvey/img/object_opensurvey.png', 1);
dol_fiche_head($head, 'general', $langs->trans("Survey"), -1, 'poll');
$morehtmlref = '';

View File

@ -367,8 +367,8 @@ div.cadre td.vide {
/*Case de tableau contenant les noms dans affichage de sondage*/
div.cadre td.nom {
background-color: #DDDDDD;
font-size:12px;
text-align:center;
padding: 8px;
}
div.cadre td.casevide {
background-color: white;

View File

@ -421,10 +421,11 @@ $toutsujet = str_replace("°", "'", $toutsujet);
print '<form name="formulaire4" action="#" method="POST">'."\n";
print '<input type="hidden" name="token" value="'.newToken().'">';
$head = opensurvey_prepare_head($object);
dol_fiche_head($head, 'preview', $langs->trans("Survey"), -1, DOL_URL_ROOT.'/opensurvey/img/object_opensurvey.png', 1);
dol_fiche_head($head, 'preview', $langs->trans("Survey"), -1, 'poll');
$morehtmlref = '';
@ -519,6 +520,7 @@ if (GETPOST('ajoutsujet'))
if (!$user->rights->opensurvey->write) accessforbidden();
print '<form name="formulaire" action="" method="POST">'."\n";
print '<input type="hidden" name="token" value="'.newToken().'">';
print '<input type="hidden" name="backtopage" value="'.GETPOST('backtopage', 'alpha').'">';
print '<div class="center">'."\n";
@ -605,6 +607,7 @@ if ($user->rights->opensurvey->write) {
$nbcolonnes = substr_count($object->sujet, ',') + 1;
print '<form name="formulaire" action="" method="POST">'."\n";
print '<input type="hidden" name="token" value="'.newToken().'">';
print '<div class="cadre"> '."\n";
@ -766,7 +769,7 @@ else
print '<td class="sujet">'.dol_htmlentities($tmp[0]).'</td>'."\n";
}
print '<td class="sujet"><a href="'.$_SERVER["PHP_SELF"].'?id='.$numsondage.'&ajoutsujet=1&backtopage='.urlencode($_SERVER["PHP_SELF"]).'">'.img_picto('', dol_buildpath('/opensurvey/img/add-16.png', 1), '', 1).'</a></td>'."\n";
print '<td class="sujet"><a href="'.$_SERVER["PHP_SELF"].'?id='.$numsondage.'&ajoutsujet=1&backtopage='.urlencode($_SERVER["PHP_SELF"]).'"><span class="fa fa-plus-circle valignmiddle btnTitle-icon"></span></a></td>'."\n";
print '</tr>'."\n";
}