Err... improved displaying the number of attendants, fixed the editing
authorJoey Schulze <joey@infodrom.org>
Fri, 25 Jul 2003 06:43:12 +0000 (06:43 +0000)
committerJoey Schulze <joey@infodrom.org>
Fri, 25 Jul 2003 06:43:12 +0000 (06:43 +0000)
mode and addeda link to pictures of the location.

src/Debian/party/index.wml

index 53eb804..e0aadb9 100644 (file)
@@ -24,7 +24,8 @@ fluids, network and rent.</p>
 </center>
 <p>
 
-<p>The location offers place for about 50 people inside and for about
+<p>The <a href="http://hamster.franken.de/users/debian/sportlerheim-album/page.html">\
+location</a> offers place for about 50 people inside and for about
 50 people outside.  We should be able to use showers.  For sleeping a
 camping mat and a sleeping bag are mandatory.  There should be enough
 dishes and cutlery.</p>
@@ -48,12 +49,15 @@ href="http://www.debian.org/events/keysigning">keysigning</a>.</p>
   $sth = pg_exec ($dbh, $query) or die("Datenbank-Abfrage!");
   if (pg_NumRows ($sth) > 0) {
     $row = pg_fetch_array ($sth, 0);
-    printf ("<p>%d attendants so far.</p>", $row[0]);
+    if ($row[0] == 1) {
+      printf ("<p>%d attendant so far.</p>", $row[0]);
+    } else {
+      printf ("<p>%d attendants so far.</p>", $row[0]);
+    }
   }
 ?>
 </page>
 
 # Local variables:
-# mode: html
-# mode: auto-fill
+# mode: indented-text
 # end: