Removed space before colon

This commit is contained in:
Marcos García de La Fuente 2014-01-05 20:30:53 +01:00
parent ef44db8bd8
commit e493348931
4 changed files with 11 additions and 11 deletions

View File

@ -684,12 +684,12 @@ $comments = $object->getComments();
if ($comments)
{
print "<br><b>" . $langs->trans("CommentsOfVoters") . " :</b><br>\n";
print "<br><b>" . $langs->trans("CommentsOfVoters") . ":</b><br>\n";
foreach ($comments as $obj) {
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> ';
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 '<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" /> &nbsp; '."\n";
print '<input type="submit" class="button" name="ajoutcomment" value="'.dol_escape_htmltag($langs->trans("AddComment")).'"><br>'."\n";
print '</form>'."\n";

View File

@ -484,7 +484,7 @@ if (GETPOST('ajoutsujet'))
// Add new column
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>';
$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>';
@ -499,7 +499,7 @@ if (GETPOST('ajoutsujet'))
$formother=new FormOther($db);
//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 '<OPTION VALUE="vide"></OPTION>'."\n";
for ($i=1;$i<32;$i++){
@ -513,7 +513,7 @@ if (GETPOST('ajoutsujet'))
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 '<OPTION VALUE="vide"></OPTION>'."\n";
for ($i = 0; $i < 24; $i++) {
@ -527,7 +527,7 @@ if (GETPOST('ajoutsujet'))
print '<OPTION VALUE="30">30</OPTION>'."\n";
print '<OPTION VALUE="45">45</OPTION>'."\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 '<OPTION VALUE="vide"></OPTION>'."\n";
for ($i = 0; $i < 24; $i++) {
@ -1034,9 +1034,9 @@ if ($nbofcheckbox >= 2)
print '<p class="affichageresultats">'."\n";
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)) {
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";
}

View File

@ -132,7 +132,7 @@ for ($i = 0; $i < $_SESSION["nbrecases"]; $i++) {
if (isset($_SESSION["choix$i"]) === false) {
$_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"));
print ' &nbsp; '.$langs->trans("Type").' '.$form->selectarray("typecolonne[]", $tmparray, $_SESSION["typecolonne$i"]);
print '</td></tr>'."\n";

View File

@ -494,7 +494,7 @@ if (issetAndNoEmpty('totalchoixjour', $_SESSION) || $erreur)
{
//affichage des jours
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 '<table>'."\n";
print '<tr>'."\n";