mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Trans
This commit is contained in:
parent
98b7e88c64
commit
58ddb40d67
|
|
@ -62,3 +62,4 @@ EmailSomeoneVoted=%s has filled a line.\nYou can find your poll at the link: \n%
|
|||
ShowSurvey=Show survey
|
||||
UserMustBeSameThanUserUsedToVote=You must have voted and use the same user name that the one used to vote, to post a comment
|
||||
ListOfOpenSurveys=List of open surveys
|
||||
AddTheVote=Click to add the vote
|
||||
|
|
|
|||
|
|
@ -261,16 +261,6 @@ if ($action == 'edit') {
|
|||
}
|
||||
print '</td></tr>';
|
||||
|
||||
// Description
|
||||
print '<tr><td class="tdtop">'.$langs->trans("Description").'</td><td class="wordbreak">';
|
||||
if ($action == 'edit') {
|
||||
$doleditor = new DolEditor('nouveauxcommentaires', $object->description, '', 120, 'dolibarr_notes', 'In', true, 1, 1, ROWS_7, '90%');
|
||||
$doleditor->Create(0, '');
|
||||
} else {
|
||||
print(dol_textishtml($object->description) ? $object->description : dol_nl2br($object->description, 1, true));
|
||||
}
|
||||
print '</td></tr>';
|
||||
|
||||
// Receive an email with each vote
|
||||
print '<tr><td>'.$langs->trans('ToReceiveEMailForEachVote').'</td><td>';
|
||||
if ($action == 'edit') {
|
||||
|
|
@ -305,6 +295,16 @@ if ($action == 'edit') {
|
|||
}
|
||||
print '</td></tr>';
|
||||
|
||||
// Description
|
||||
print '<tr><td class="tdtop">'.$langs->trans("Description").'</td><td class="wordbreak">';
|
||||
if ($action == 'edit') {
|
||||
$doleditor = new DolEditor('nouveauxcommentaires', $object->description, '', 120, 'dolibarr_notes', 'In', true, 1, 1, ROWS_7, '90%');
|
||||
$doleditor->Create(0, '');
|
||||
} else {
|
||||
print(dol_textishtml($object->description) ? $object->description : dol_nl2br($object->description, 1, true));
|
||||
}
|
||||
print '</td></tr>';
|
||||
|
||||
print '</table>';
|
||||
|
||||
print '</div>';
|
||||
|
|
|
|||
|
|
@ -1053,7 +1053,7 @@ if (empty($testligneamodifier)) {
|
|||
}
|
||||
|
||||
// Affichage du bouton de formulaire pour inscrire un nouvel utilisateur dans la base
|
||||
print '<td><input type="image" name="boutonp" class="borderimp" value="'.$langs->trans("Vote").'" src="'.img_picto('', 'edit_add', '', 0, 1).'"></td>'."\n";
|
||||
print '<td><input type="image" name="boutonp" class="borderimp classfortooltip" title="'.dolPrintHTML($langs->trans("AddTheVote")).'" value="'.$langs->trans("Vote").'" src="'.img_picto('', 'edit_add', '', 0, 1).'"></td>'."\n";
|
||||
print '</tr>'."\n";
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -720,7 +720,7 @@ if ($ligneamodifier < 0 && (!isset($_SESSION['nom']))) {
|
|||
}
|
||||
|
||||
// Show button to add a new line into database
|
||||
print '<td><input type="image" class="borderimp" name="boutonp" value="'.$langs->trans("Vote").'" src="'.img_picto('', 'edit_add', '', 0, 1).'"></td>'."\n";
|
||||
print '<td><input type="image" class="borderimp classfortooltip" title="'.dolPrintHTML($langs->trans("AddTheVote")).'" name="boutonp" value="'.$langs->trans("Vote").'" src="'.img_picto('', 'edit_add', '', 0, 1).'"></td>'."\n";
|
||||
print '</tr>'."\n";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user