Removed space before colon
This commit is contained in:
parent
ef44db8bd8
commit
e493348931
@ -684,12 +684,12 @@ $comments = $object->getComments();
|
|||||||
|
|
||||||
if ($comments)
|
if ($comments)
|
||||||
{
|
{
|
||||||
print "<br><b>" . $langs->trans("CommentsOfVoters") . " :</b><br>\n";
|
print "<br><b>" . $langs->trans("CommentsOfVoters") . ":</b><br>\n";
|
||||||
|
|
||||||
foreach ($comments as $obj) {
|
foreach ($comments as $obj) {
|
||||||
print '<div class="comment"><span class="usercomment">';
|
print '<div class="comment"><span class="usercomment">';
|
||||||
if (in_array($obj->usercomment, $listofvoters)) print '<a href="'.$_SERVER["PHP_SELF"].'?deletecomment='.$obj->id_comment.'&sondage='.$numsondage.'"> '.img_picto('', 'delete.png').'</a> ';
|
if (in_array($obj->usercomment, $listofvoters)) print '<a href="'.$_SERVER["PHP_SELF"].'?deletecomment='.$obj->id_comment.'&sondage='.$numsondage.'"> '.img_picto('', 'delete.png').'</a> ';
|
||||||
print dol_htmlentities($obj->usercomment).' :</span> <span class="comment">'.dol_nl2br(dol_htmlentities($obj->comment))."</span></div>";
|
print dol_htmlentities($obj->usercomment).':</span> <span class="comment">'.dol_nl2br(dol_htmlentities($obj->comment))."</span></div>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -698,7 +698,7 @@ if ($object->allow_comments) {
|
|||||||
print '<div class="addcomment">' .$langs->trans("AddACommentForPoll") . "<br>\n";
|
print '<div class="addcomment">' .$langs->trans("AddACommentForPoll") . "<br>\n";
|
||||||
|
|
||||||
print '<textarea name="comment" rows="2" cols="60"></textarea><br>'."\n";
|
print '<textarea name="comment" rows="2" cols="60"></textarea><br>'."\n";
|
||||||
print $langs->trans("Name") .' : ';
|
print $langs->trans("Name") .': ';
|
||||||
print '<input type="text" name="commentuser" maxlength="64" /> '."\n";
|
print '<input type="text" name="commentuser" maxlength="64" /> '."\n";
|
||||||
print '<input type="submit" class="button" name="ajoutcomment" value="'.dol_escape_htmltag($langs->trans("AddComment")).'"><br>'."\n";
|
print '<input type="submit" class="button" name="ajoutcomment" value="'.dol_escape_htmltag($langs->trans("AddComment")).'"><br>'."\n";
|
||||||
print '</form>'."\n";
|
print '</form>'."\n";
|
||||||
|
|||||||
@ -484,7 +484,7 @@ if (GETPOST('ajoutsujet'))
|
|||||||
// Add new column
|
// Add new column
|
||||||
if ($object->format=="A"||$object->format=="A+")
|
if ($object->format=="A"||$object->format=="A+")
|
||||||
{
|
{
|
||||||
print $langs->trans("AddNewColumn") .' :<br><br>';
|
print $langs->trans("AddNewColumn") .':<br><br>';
|
||||||
print $langs->trans("Title").' <input type="text" name="nouvellecolonne" size="40"><br>';
|
print $langs->trans("Title").' <input type="text" name="nouvellecolonne" size="40"><br>';
|
||||||
$tmparray=array('checkbox'=>$langs->trans("CheckBox"),'yesno'=>$langs->trans("YesNoList"),'foragainst'=>$langs->trans("PourContreList"));
|
$tmparray=array('checkbox'=>$langs->trans("CheckBox"),'yesno'=>$langs->trans("YesNoList"),'foragainst'=>$langs->trans("PourContreList"));
|
||||||
print $langs->trans("Type").' '.$form->selectarray("typecolonne", $tmparray, GETPOST('typecolonne')).'<br><br>';
|
print $langs->trans("Type").' '.$form->selectarray("typecolonne", $tmparray, GETPOST('typecolonne')).'<br><br>';
|
||||||
@ -499,7 +499,7 @@ if (GETPOST('ajoutsujet'))
|
|||||||
|
|
||||||
$formother=new FormOther($db);
|
$formother=new FormOther($db);
|
||||||
//ajout d'une date avec creneau horaire
|
//ajout d'une date avec creneau horaire
|
||||||
print $langs->trans("AddADate") .' :<br><br>'."\n";
|
print $langs->trans("AddADate") .':<br><br>'."\n";
|
||||||
print '<select name="nouveaujour"> '."\n";
|
print '<select name="nouveaujour"> '."\n";
|
||||||
print '<OPTION VALUE="vide"></OPTION>'."\n";
|
print '<OPTION VALUE="vide"></OPTION>'."\n";
|
||||||
for ($i=1;$i<32;$i++){
|
for ($i=1;$i<32;$i++){
|
||||||
@ -513,7 +513,7 @@ if (GETPOST('ajoutsujet'))
|
|||||||
|
|
||||||
print $formother->select_year('', 'nouvelleannee', 1, 0, 5, 0, 1);
|
print $formother->select_year('', 'nouvelleannee', 1, 0, 5, 0, 1);
|
||||||
|
|
||||||
print '<br><br>'. $langs->trans("AddStartHour") .' : <br><br>'."\n";
|
print '<br><br>'. $langs->trans("AddStartHour") .': <br><br>'."\n";
|
||||||
print '<select name="nouvelleheuredebut"> '."\n";
|
print '<select name="nouvelleheuredebut"> '."\n";
|
||||||
print '<OPTION VALUE="vide"></OPTION>'."\n";
|
print '<OPTION VALUE="vide"></OPTION>'."\n";
|
||||||
for ($i = 0; $i < 24; $i++) {
|
for ($i = 0; $i < 24; $i++) {
|
||||||
@ -527,7 +527,7 @@ if (GETPOST('ajoutsujet'))
|
|||||||
print '<OPTION VALUE="30">30</OPTION>'."\n";
|
print '<OPTION VALUE="30">30</OPTION>'."\n";
|
||||||
print '<OPTION VALUE="45">45</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 '<br><br>'. $langs->trans("AddEndHour") .': <br><br>'."\n";
|
||||||
print '<select name="nouvelleheurefin"> '."\n";
|
print '<select name="nouvelleheurefin"> '."\n";
|
||||||
print '<OPTION VALUE="vide"></OPTION>'."\n";
|
print '<OPTION VALUE="vide"></OPTION>'."\n";
|
||||||
for ($i = 0; $i < 24; $i++) {
|
for ($i = 0; $i < 24; $i++) {
|
||||||
@ -1034,9 +1034,9 @@ if ($nbofcheckbox >= 2)
|
|||||||
print '<p class="affichageresultats">'."\n";
|
print '<p class="affichageresultats">'."\n";
|
||||||
|
|
||||||
if (isset($meilleurecolonne) && $compteursujet == "1") {
|
if (isset($meilleurecolonne) && $compteursujet == "1") {
|
||||||
print "<img src=\"".dol_buildpath('/opensurvey/img/medaille.png',1)."\"> " . $langs->trans('TheBestChoice') . " : <b>".$meilleursujet." </b>" . $langs->trans("with") . " <b>$meilleurecolonne </b>" . $vote_str . ".\n";
|
print "<img src=\"".dol_buildpath('/opensurvey/img/medaille.png',1)."\"> " . $langs->trans('TheBestChoice') . ": <b>".$meilleursujet." </b>" . $langs->trans("with") . " <b>$meilleurecolonne </b>" . $vote_str . ".\n";
|
||||||
} elseif (isset($meilleurecolonne)) {
|
} elseif (isset($meilleurecolonne)) {
|
||||||
print "<img src=\"".dol_buildpath('/opensurvey/img/medaille.png',1)."\"> " . $langs->trans('TheBestChoices') . " : <b>".$meilleursujet." </b>" . $langs->trans("with") . " <b>$meilleurecolonne </b>" . $vote_str . ".\n";
|
print "<img src=\"".dol_buildpath('/opensurvey/img/medaille.png',1)."\"> " . $langs->trans('TheBestChoices') . ": <b>".$meilleursujet." </b>" . $langs->trans("with") . " <b>$meilleurecolonne </b>" . $vote_str . ".\n";
|
||||||
}
|
}
|
||||||
print '<br></p><br>'."\n";
|
print '<br></p><br>'."\n";
|
||||||
}
|
}
|
||||||
|
|||||||
@ -132,7 +132,7 @@ for ($i = 0; $i < $_SESSION["nbrecases"]; $i++) {
|
|||||||
if (isset($_SESSION["choix$i"]) === false) {
|
if (isset($_SESSION["choix$i"]) === false) {
|
||||||
$_SESSION["choix$i"] = '';
|
$_SESSION["choix$i"] = '';
|
||||||
}
|
}
|
||||||
print '<tr><td>'. $langs->trans("TitleChoice") .' '.$j.' : </td><td><input type="text" name="choix[]" size="40" maxlength="40" value="'.dol_escape_htmltag($_SESSION["choix$i"]).'" id="choix'.$i.'">';
|
print '<tr><td>'. $langs->trans("TitleChoice") .' '.$j.': </td><td><input type="text" name="choix[]" size="40" maxlength="40" value="'.dol_escape_htmltag($_SESSION["choix$i"]).'" id="choix'.$i.'">';
|
||||||
$tmparray=array('checkbox'=>$langs->trans("CheckBox"),'yesno'=>$langs->trans("YesNoList"),'foragainst'=>$langs->trans("PourContreList"));
|
$tmparray=array('checkbox'=>$langs->trans("CheckBox"),'yesno'=>$langs->trans("YesNoList"),'foragainst'=>$langs->trans("PourContreList"));
|
||||||
print ' '.$langs->trans("Type").' '.$form->selectarray("typecolonne[]", $tmparray, $_SESSION["typecolonne$i"]);
|
print ' '.$langs->trans("Type").' '.$form->selectarray("typecolonne[]", $tmparray, $_SESSION["typecolonne$i"]);
|
||||||
print '</td></tr>'."\n";
|
print '</td></tr>'."\n";
|
||||||
|
|||||||
@ -494,7 +494,7 @@ if (issetAndNoEmpty('totalchoixjour', $_SESSION) || $erreur)
|
|||||||
{
|
{
|
||||||
//affichage des jours
|
//affichage des jours
|
||||||
print '<br>'."\n";
|
print '<br>'."\n";
|
||||||
print '<strong>'. $langs->trans("SelectedDays") .' :</strong>'."<br>\n";
|
print '<strong>'. $langs->trans("SelectedDays") .':</strong>'."<br>\n";
|
||||||
print $langs->trans("SelectDayDesc")."<br>\n";
|
print $langs->trans("SelectDayDesc")."<br>\n";
|
||||||
print '<table>'."\n";
|
print '<table>'."\n";
|
||||||
print '<tr>'."\n";
|
print '<tr>'."\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user