From 354adb18b1370c3a0322f617774dbf0a3c017113 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sun, 12 Apr 2009 00:47:12 +0200 Subject: [PATCH] Typos. --- bin/cron/cron_validations.php | 16 ++++++++-------- modules/xnetgrp.php | 2 +- templates/events/index.tpl | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bin/cron/cron_validations.php b/bin/cron/cron_validations.php index d08d381..bdf7330 100755 --- a/bin/cron/cron_validations.php +++ b/bin/cron/cron_validations.php @@ -37,17 +37,17 @@ list($nb, $age, $nbold, $nbveryold) = $res->fetchOneRow(); $age = (time() - intval($age)) / 86400; $head = ""; if ($age > 15) { - $head = "[autodestruction du serveur] "; + $head = "[Autodestruction du serveur] "; } elseif ($age > 7) { - $head = "[armageddon imminent] "; + $head = "[Armageddon imminent] "; } elseif ($age > 5) { - $head = "[guerre nucléaire] "; + $head = "[Guerre nucléaire] "; } elseif ($age > 3) { $head = "[ET Téléphone maison] "; } elseif ($age > 1) { - $head = "[réveil !] "; + $head = "[Réveil !] "; } elseif (!empty($nbveryold)) { - $head = "[urgent] "; + $head = "[Urgent] "; } @@ -60,10 +60,10 @@ $plural = $nb == 1 ? "" : "s"; $mymail = new PlMailer(); $mymail->setFrom('validation@' . $globals->mail->domain); $mymail->addTo("validation@" . $globals->mail->domain); -$mymail->setSubject($head . "il y a $nb validation$plural non effectuée$plural"); +$mymail->setSubject($head . "Il y a $nb validation$plural non effectuée$plural"); $message = - "il y a $nb validation$plural à effectuer \n" + "Il y a $nb validation$plural à effectuer\n" .(empty($nbold)?"":"dont $nbold depuis le dernier mail !!!\n") .(empty($nbveryold)?"":"et dont *$nbveryold* ".($nbveryold == 1 ? "est" : "sont")." en retard de plus de 6h !!!") ."\n" @@ -74,7 +74,7 @@ $res = XDB::iterRow("SELECT type, count(*) GROUP BY type ORDER BY type"); while (list($type, $nb) = $res->next()) { - $message .= "- $type: $nb\n"; + $message .= "- $type : $nb\n"; } $message = wordwrap($message,78); diff --git a/modules/xnetgrp.php b/modules/xnetgrp.php index e5a737b..a8fb5e7 100644 --- a/modules/xnetgrp.php +++ b/modules/xnetgrp.php @@ -604,7 +604,7 @@ class XnetGrpModule extends PLModule $mailer->setSubject('['.$globals->asso('nom').'] Demande d\'inscription annulée'); $mailer->setTxtBody(Env::v('motif')); $mailer->send(); - $page->kill("La demande de {$user->fullName()} a bien été refusée."); + $page->killSuccess("La demande de {$user->fullName()} a bien été refusée."); } else { $page->assign('show_form', true); $page->assign('reason', $reason); diff --git a/templates/events/index.tpl b/templates/events/index.tpl index a6f15c4..53d6640 100644 --- a/templates/events/index.tpl +++ b/templates/events/index.tpl @@ -55,7 +55,7 @@ Bienvenue {$smarty.session.prenom}{if $birthday} {if $smarty.session.mx_failures|@count}
- {icon name=error} Des problèmes sont actuellement recontrés sur tes redirections suivantes : + {icon name=error} Des problèmes sont actuellement recontrés sur tes redirections suivantes :