Objet : devel-adl
Archives de la liste
- From: svn AT agendadulibre.org
- To: devel AT agendadulibre.org
- Subject: [Devel] r278 - trunk
- Date: Sun, 3 Jun 2007 19:55:27 +0200 (CEST)
- List-archive: <http://lolut.utbm.info/pipermail/devel>
- List-id: Developpement de l'Agenda du Libre <devel.agendadulibre.org>
Author: thomas
Date: Sun Jun 3 19:55:26 2007
New Revision: 278
Log:
Simplification
Modified:
trunk/textlist.php
Modified: trunk/textlist.php
==============================================================================
--- trunk/textlist.php (original)
+++ trunk/textlist.php Sun Jun 3 19:55:26 2007
@@ -18,20 +18,10 @@
$events = $db->query ("select * from events where tags like '%" .
$_GET['tag'] . "%' order by start_time");
while ($event = mysql_fetch_object($events))
{
- echo "Titre: " . utf8_encode($event->title) . "\n";
- echo "Ville: " . utf8_encode($event->city) . "\n";
- echo "Région: " . utf8_encode(region_find($db, $event->region)) . "\n";
- echo "Date début: " . utf8_encode(strftime ("%A %d %B %Y %Hh%M",
date_mysql2timestamp($event->start_time))) . "\n";
- echo "Date fin: " . utf8_encode(strftime ("%A %d %B %Y %Hh%M",
date_mysql2timestamp($event->end_time))) . "\n";
- echo "Contact: " . utf8_encode(scramble_email($event->contact)) . "\n";
- echo "URL: " . utf8_encode($event->url) . "\n";
- echo "URL AdL: " . "http://www.agendadulibre.org/showevent.php?id=" .
$event->id . "\n";
- echo "Description:\n";
- if ($_GET["nohtml"])
- echo wordwrap(utf8_encode(strip_tags($event->description)));
- else
- echo wordwrap(utf8_encode($event->description));
- echo "\n";
+ echo utf8_encode($event->city) . "\n";
+ echo utf8_encode($event->title) . "\n";
+ echo utf8_encode(strftime ("%A %d %B %Y %Hh%M",
date_mysql2timestamp($event->start_time))) . "\n";
+ echo utf8_encode($event->url) . "\n";
echo "===============================================================\n";
}
?>
\ No newline at end of file
- [Devel] r278 - trunk, svn, 03/06/2007
Archives gérées par MHonArc 2.6.16.