[Devel] r457 - trunk

svn at agendadulibre.org svn at agendadulibre.org
Sam 28 Nov 12:18:59 CET 2009


Author: thomas
Date: Sat Nov 28 12:18:54 2009
New Revision: 457

Log:
Mention du nouvel Agenda du Libre du Québec + invitation à en créer pour d'autres pays

Added:
   trunk/belgique.png   (contents, props changed)
   trunk/createyourown.php
   trunk/france.png   (contents, props changed)
   trunk/quebec.png   (contents, props changed)
   trunk/suisse.png   (contents, props changed)
Modified:
   trunk/calendar.css
   trunk/funcs.inc.php
   trunk/validateevent.php

Added: trunk/belgique.png
==============================================================================
Binary file. No diff available.

Modified: trunk/calendar.css
==============================================================================
--- trunk/calendar.css	Sun Nov  1 21:58:47 2009	(r456)
+++ trunk/calendar.css	Sat Nov 28 12:18:54 2009	(r457)
@@ -134,17 +134,15 @@
 /* Info box rss/ical */
 #important {
 	position: absolute;
-	top: 1.5em;
-	right: 1.5em;
-	width: 23%;
-	border: 1px dashed black;
+	top: 1em;
+	right: 1em;
+	width: 6em;
 }
 
 #important p {
 	margin: 0px;
 	padding: 2px;
-	text-align: center;
-	font-size: 0.8em;
+	font-size: 0.7em;
 }
 
 #subtitle {

Added: trunk/createyourown.php
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/createyourown.php	Sat Nov 28 12:18:54 2009	(r457)
@@ -0,0 +1,54 @@
+<?php
+
+/* Copyright 2004-2007
+ * - Mélanie Bats <melanie POINT bats CHEZ utbm POINT fr>
+ * - Thomas Petazzoni <thomas POINT petazzoni CHEZ enix POINT org>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ */
+
+include("bd.inc.php");
+include("funcs.inc.php");
+
+put_header ("Créer votre agenda");
+?>
+
+<h2>Créer votre agenda</h2>
+
+<p>Cet agenda n'existe pas pour l'instant. Néanmoins, si vous le
+souhaitez, nous pouvons vous aider à mettre en place un agenda des
+évènements du Logiciel Libre dans votre pays en vous fournissant,
+selon vos besoins&nbsp;:</p>
+
+<ul>
+
+  <li>Un nom de domaine de type <code>XXX.agendadulibre.org</code>,
+  comme par exemple <code>be.agendadulibre.org</code> pour la
+  Belgique</li>
+
+  <li>De l'aide à l'installation du logiciel Agenda du Libre</li>
+
+  <li>L'hébergement de votre Agenda du Libre sur notre serveur si vous
+  ne disposez pas d'hébergement</li>
+
+</ul>
+
+<p>N'hésitez pas à nous contacter pour en discuter.</p>
+
+<?php //'
+ put_footer();
+?>
+

Added: trunk/france.png
==============================================================================
Binary file. No diff available.

Modified: trunk/funcs.inc.php
==============================================================================
--- trunk/funcs.inc.php	Sun Nov  1 21:58:47 2009	(r456)
+++ trunk/funcs.inc.php	Sat Nov 28 12:18:54 2009	(r457)
@@ -47,15 +47,16 @@
   echo "<link rel=\"alternate\" href=\"" . $href . "\" title=\"" . $title . "\" type=\"application/rss+xml\" />";
 }
 
-function put_important_box ()
+function put_other_countries_box ()
 {
-  /*
-  echo '<div id="important">\n';
-  echo ' <p style="text-align: center; margin-left: 0.5em; font-size: 70%">\n';
-  echo '  <a href="http://2009.rmll.info"><img src="http://2009.rmll.info/IMG/gif/234_60.gif" style="border: 0"><br/>Rencontres Mondiales du Logiciel Libre<br/>7 au 11 juillet 2009, Nantes</a>\n';
-  echo '</p>\n';
-  echo '</div>\n';
-  */
+  echo '<div id="important">';
+  echo ' <p>';
+  echo ' <a href="index.php"><img style="vertical-align: middle; margin-right: 1em; border: 0;" src="france.png" title="Agenda du Libre France"/>France</a><br/>';
+  echo ' <a href="http://www.agendadulibre.qc.ca"><img style="vertical-align: middle; margin-right: 1em; border: 0;" src="quebec.png" title="Agenda du Libre Québec"/>Québec</a><br/>';
+  echo ' <a href="createyourown.php"><img style="vertical-align: middle; margin-right: 1em; border: 0;" src="belgique.png" title="Agenda du Libre Belgique"/>Belgique</a><br/>';
+  echo ' <a href="createyourown.php"><img style="vertical-align: middle; margin-right: 1em; border: 0;" src="suisse.png" title="Agenda du Libre Suisse"/>Suisse</a><br/>';
+  echo '</p>';
+  echo '</div>';
 }
 
 function put_header ($title, $jscriptcode = "", $onloadfunc = "")
@@ -152,7 +153,7 @@
 ?>
 
 <div class="main">
-<?php put_important_box(); ?>
+<?php put_other_countries_box(); ?>
 <h1><a href="index.php">L'Agenda du Libre</a></h1>
 <p id="subtitle"><em>L'agenda des évènements du Logiciel Libre en France</em></p>
 <?php

Added: trunk/quebec.png
==============================================================================
Binary file. No diff available.

Added: trunk/suisse.png
==============================================================================
Binary file. No diff available.

Modified: trunk/validateevent.php
==============================================================================
--- trunk/validateevent.php	Sun Nov  1 21:58:47 2009	(r456)
+++ trunk/validateevent.php	Sat Nov 28 12:18:54 2009	(r457)
@@ -127,6 +127,8 @@
   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&nbsp;?</p>';
 echo '<input name="__event_validation_confirm" type="submit" value="Oui"/>&nbsp;';


Plus d'informations sur la liste de diffusion Devel