Look and feel v12
This commit is contained in:
parent
3f4ae8875f
commit
479e8ceceb
@ -214,7 +214,7 @@ print '<input type="hidden" name="action" value="update">';
|
|||||||
$head = opensurvey_prepare_head($object);
|
$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 = '';
|
$morehtmlref = '';
|
||||||
|
|
||||||
|
|||||||
@ -367,8 +367,8 @@ div.cadre td.vide {
|
|||||||
/*Case de tableau contenant les noms dans affichage de sondage*/
|
/*Case de tableau contenant les noms dans affichage de sondage*/
|
||||||
div.cadre td.nom {
|
div.cadre td.nom {
|
||||||
background-color: #DDDDDD;
|
background-color: #DDDDDD;
|
||||||
font-size:12px;
|
|
||||||
text-align:center;
|
text-align:center;
|
||||||
|
padding: 8px;
|
||||||
}
|
}
|
||||||
div.cadre td.casevide {
|
div.cadre td.casevide {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
|
|||||||
@ -421,10 +421,11 @@ $toutsujet = str_replace("°", "'", $toutsujet);
|
|||||||
|
|
||||||
|
|
||||||
print '<form name="formulaire4" action="#" method="POST">'."\n";
|
print '<form name="formulaire4" action="#" method="POST">'."\n";
|
||||||
|
print '<input type="hidden" name="token" value="'.newToken().'">';
|
||||||
|
|
||||||
$head = opensurvey_prepare_head($object);
|
$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 = '';
|
$morehtmlref = '';
|
||||||
|
|
||||||
@ -519,6 +520,7 @@ if (GETPOST('ajoutsujet'))
|
|||||||
if (!$user->rights->opensurvey->write) accessforbidden();
|
if (!$user->rights->opensurvey->write) accessforbidden();
|
||||||
|
|
||||||
print '<form name="formulaire" action="" method="POST">'."\n";
|
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 '<input type="hidden" name="backtopage" value="'.GETPOST('backtopage', 'alpha').'">';
|
||||||
|
|
||||||
print '<div class="center">'."\n";
|
print '<div class="center">'."\n";
|
||||||
@ -605,6 +607,7 @@ if ($user->rights->opensurvey->write) {
|
|||||||
$nbcolonnes = substr_count($object->sujet, ',') + 1;
|
$nbcolonnes = substr_count($object->sujet, ',') + 1;
|
||||||
|
|
||||||
print '<form name="formulaire" action="" method="POST">'."\n";
|
print '<form name="formulaire" action="" method="POST">'."\n";
|
||||||
|
print '<input type="hidden" name="token" value="'.newToken().'">';
|
||||||
|
|
||||||
print '<div class="cadre"> '."\n";
|
print '<div class="cadre"> '."\n";
|
||||||
|
|
||||||
@ -766,7 +769,7 @@ else
|
|||||||
print '<td class="sujet">'.dol_htmlentities($tmp[0]).'</td>'."\n";
|
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";
|
print '</tr>'."\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user