[Devel] r372 - trunk
svn at agendadulibre.org
svn at agendadulibre.org
Jeu 28 Aou 21:41:07 CEST 2008
Author: thomas
Date: Thu Aug 28 21:35:54 2008
New Revision: 372
Log:
Petite alerte lors de la validation d'un évènement lorsque celui-ci
est à portée nationale.
Modified:
trunk/validateevent.php
Modified: trunk/validateevent.php
==============================================================================
--- trunk/validateevent.php (original)
+++ trunk/validateevent.php Thu Aug 28 21:35:54 2008
@@ -108,6 +108,14 @@
echo "</p>";
echo '<div class="moderationbox">';
+
+if ($event->locality)
+{
+ echo '<p style="color: red; font-weight: bold; text-align: center;">';
+ echo 'Attention, cet évènement est à portée nationale !';
+ echo '</p>';
+}
+
echo '<form action="validateevent.php?id=' . $id . '" method="post">';
echo '<p style="text-align: center;">Confirmez-vous la validation de cet évènement ?</p>';
echo '<input name="__event_validation_confirm" type="submit" value="Oui"/> ';
Plus d'informations sur la liste de diffusion Devel