Accéder au contenu.
Menu Sympa

devel - [Devel] r135 - trunk

Objet : devel-adl

Archives de la liste

[Devel] r135 - trunk


Chronologique Discussions 
  • From: thomas AT lolut.utbm.info
  • To: devel AT agendadulibre.org
  • Subject: [Devel] r135 - trunk
  • Date: Sun, 15 Jan 2006 18:23:04 +0100 (CET)
  • List-archive: <http://lolut.utbm.info/pipermail/devel>
  • List-id: Developpement de l'Agenda du Libre <devel.agendadulibre.org>

Author: thomas
Date: 2006-01-15 18:23:03 +0100 (Sun, 15 Jan 2006)
New Revision: 135

Modified:
trunk/calendar.css
trunk/showevent.php
Log:
Ajout de la liste des LUGs de la region dans la description des evenements.

Modified: trunk/calendar.css
===================================================================
--- trunk/calendar.css 2006-01-15 16:48:10 UTC (rev 134)
+++ trunk/calendar.css 2006-01-15 17:23:03 UTC (rev 135)
@@ -61,7 +61,7 @@

h1 {
text-align: center;
- font: 26pt georgia;
+ font: 26pt georgia;
letter-spacing: 2px;
margin: 5px 5px 5px 5px;
}
@@ -79,13 +79,13 @@
text-align: center;
}

-a:link, a:visited {
- font-weight: bold;
- text-decoration: none;
+a:link, a:visited {
+ font-weight: bold;
+ text-decoration: none;
color: #336699;
}

-a:hover, a:active {
+a:hover, a:active {
color: #b9dff1;
}

@@ -183,7 +183,7 @@
}

/*
- * Region map
+ * Region map (used only by map.php)
*/

#region-map
@@ -231,6 +231,9 @@
line-height: 1.2em;
}

+/*
+ * Advises for event submission. (used only in submit.php)
+ */
#advises
{
background-color: #dfedff;
@@ -241,7 +244,7 @@
}

/*
- * Statistics
+ * Statistics (used only by stats.php)
*/

table.stats {
@@ -265,9 +268,28 @@
}

/*
- * Lug list
+ * Lug list (used only by showevent.php)
*/
-div.#lug-list
+#lug-list
{
- color: red;
-}
\ No newline at end of file
+ border: 1px #364970 solid;
+ background: #dfedff;
+ float: right;
+ margin-right: 1.2em;
+ margin-top: 8em;
+ width: 15em;
+ padding: 5px;
+ font-size: 12px;
+}
+
+#lug-list h1
+{
+ font-size: 1.2em;
+ border-bottom: 1px black solid;
+ padding-bottom: 2px;
+}
+
+#lug-list ul
+{
+ line-height: 1.2em;
+}

Modified: trunk/showevent.php
===================================================================
--- trunk/showevent.php 2006-01-15 16:48:10 UTC (rev 134)
+++ trunk/showevent.php 2006-01-15 17:23:03 UTC (rev 135)
@@ -31,6 +31,37 @@

if ($event)
{
+ echo "<div id=\"lug-list\"><h1>Groupes d'utilisateurs de la r�gion</h1>";
+
+ $lugs = $db->query ("select distinct region, name, url from lugs where
region = '" .
+ $event->region . "'");
+
+ if (mysql_num_rows ($lugs) == 0)
+ {
+ echo "Pas de groupes d'utilisateur.<br/>";
+ }
+ else
+ {
+ echo " <ul>";
+
+ while ($lug = mysql_fetch_object ($lugs))
+ {
+ echo "<li><a href=\"" . $lug->url . "\">" . $lug->name . "</a> (";
+ $dpts = $db->query ("select distinct department from lugs where
name = '" . $lug->name . "'");
+ $i = 1;
+ while ($dpt = mysql_fetch_object ($dpts))
+ {
+ echo $dpt->department;
+ if ($i != mysql_num_rows($dpts))
+ echo ", ";
+ $i++;
+ }
+ echo ")</li>";
+ }
+ echo " </ul>";
+ }
+ echo "</div>";
+
echo format_event ($db,
$event->title,
date_mysql2timestamp($event->start_time),





  • [Devel] r135 - trunk, thomas, 15/01/2006

Archives gérées par MHonArc 2.6.16.

Haut de le page