Need to limit the talk to the title in order to be able to display
authorJoey Schulze <joey@infodrom.org>
Wed, 18 May 2005 15:36:35 +0000 (15:36 +0000)
committerJoey Schulze <joey@infodrom.org>
Wed, 18 May 2005 15:36:35 +0000 (15:36 +0000)
three columns readable.

Styles/ltp.conf
src/LinuxTag/2005/workshops/index.wml

index 8715618..952d6fe 100644 (file)
@@ -44,7 +44,7 @@
 # Maximum title and speaker length
 #
 <define-tag len_speaker>26</define-tag>
-<define-tag len_title>40</define-tag>
+<define-tag len_title>38</define-tag>
 
 # Web Location of projects interface
 #
index 320cc65..8bac82f 100644 (file)
@@ -24,7 +24,8 @@ if ($nr < pg_NumRows ($sth)) {
 
   $t_row   = "<tr bgcolor=\"%s\">";
   $t_time  = "<td><font face=\"Helvetica,Arial\">%s</font></td>";
-  $t_talk  = "<td><font face=\"Helvetica,Arial\"><font size=\"-1\"><b>%s</b>: </font><font size=\"-1\">%s</font></font></td>";
+  #$t_talk  = "<td><font face=\"Helvetica,Arial\"><font size=\"-1\"><b>%s</b>: </font><font size=\"-1\">%s</font></font></td>";
+  $t_talk  = "<td><font face=\"Helvetica,Arial\"><font size=\"-1\">%s</font></font></td>";
   $t_talke = "<td>&nbsp;</td>";
   $t_row2  = "</tr>";
 
@@ -91,7 +92,8 @@ if ($nr < pg_NumRows ($sth)) {
              $row['name'] = substr($row['name'], 0, <len_speaker>-3) . "...";
            }
            $talk = sprintf ("<a href=\"edit.php3?oid=%d\">%s</a>", $row['oid'], $row['title']);
-           printf ($t_talk, $row['name'], $talk);
+           #printf ($t_talk, $row['name'], $talk);
+           printf ($t_talk, $talk);
            <nextrow>
          } else {
            echo ($t_talke);