Accéder au contenu.
Menu Sympa

devel - [Devel] r221 - trunk

Objet : devel-adl

Archives de la liste

[Devel] r221 - trunk


Chronologique Discussions 
  • From: svn AT agendadulibre.org
  • To: devel AT agendadulibre.org
  • Subject: [Devel] r221 - trunk
  • Date: Sun, 14 Jan 2007 19:57:22 +0100 (CET)
  • List-archive: <http://lolut.utbm.info/pipermail/devel>
  • List-id: Developpement de l'Agenda du Libre <devel.agendadulibre.org>

Author: thomas
Date: Sun Jan 14 19:57:22 2007
New Revision: 221

Modified:
trunk/calendar.css
trunk/funcs.inc.php

Log:
Quelques corrections de XHTML.

Proposition d'Erwan <air1 AT imaginair.net>



Modified: trunk/calendar.css
==============================================================================
--- trunk/calendar.css (original)
+++ trunk/calendar.css Sun Jan 14 19:57:22 2007
@@ -94,6 +94,16 @@
text-align: center;
}

+/* Selection region */
+form.calendar p {
+ margin-bottom: 20px;
+ text-align: center;
+}
+
+form.calendar select {
+ border: 1px solid #AAAAAA;
+}
+
a:link, a:visited {
font-weight: bold;
text-decoration: none;

Modified: trunk/funcs.inc.php
==============================================================================
--- trunk/funcs.inc.php (original)
+++ trunk/funcs.inc.php Sun Jan 14 19:57:22 2007
@@ -373,7 +373,9 @@
if (has_event_in_future($db, $next_month, $next_year, $region))
echo " <a
href=\"?year=".$next_year."&amp;month=".$next_month."&amp;region=".$region."\">
&gt;&gt; </a>\n";

- echo "<form>\n";
+ echo "</h2>\n\n";
+
+ echo "<form method='get' action='index.php?year=" . $year .
"&amp;month=".$month ."' class='calendar'><p>\n";
echo "<select onchange=\"window.location='?year=" . $year . "&amp;month=" .
$month . "&amp;region=' + this.options[this.selectedIndex].value\">\n";

@@ -391,17 +393,15 @@
{
if ($row->id == $region)
echo
- "<option value=\"" . $row->id . "\" selected=\"1\">" . $row->name .
"</option>\n";
+ "<option value=\"" . $row->id . "\" selected=\"selected\">" .
$row->name . "</option>\n";
else
echo
"<option value=\"" . $row->id . "\">" . $row->name . "</option>\n";
}

- echo "</select>";
+ echo "</select></p>";
echo "</form>";

- echo "</h2>\n\n";
-
/*
* Display the calendar
*/




  • [Devel] r221 - trunk, svn, 14/01/2007

Archives gérées par MHonArc 2.6.16.

Haut de le page