[prev] [thread] [next] [lurker] [Date index for 2004/01/21]
Author: gabor
Date: 2004-01-21 17:18:48 +0200 (Wed, 21 Jan 2004)
New Revision: 130
Modified:
yapcom/trunk/lib/YAPC/Organizer.pm
yapcom/trunk/templates/list_people.tmpl
yapcom/trunk/templates/person.tmpl
yapcom/trunk/templates/sponsors.tmpl
Log:
list accepted talks on the personal page
Modified: yapcom/trunk/lib/YAPC/Organizer.pm
===================================================================
--- yapcom/trunk/lib/YAPC/Organizer.pm 2003-12-18 19:39:49 UTC (rev 129)
+++ yapcom/trunk/lib/YAPC/Organizer.pm 2004-01-21 15:18:48 UTC (rev 130)
@@ -814,6 +814,21 @@
$t->param(bio => $bio);
$t->param(owner => (defined $id and $id eq $q->param('id')));
+ my @prop = YAPC::Talk->search(user_id => $q->param('id'), accepted => 'on');
+ my @ar;
+ foreach my $prop (@prop) {
+ push @ar,
+ {
+ id => $prop->id,
+ title => $prop->title,
+ cgi_path => $cgi_path,
+ files_path => $files_path,
+ html_path => $html_path,
+ docs_path => $docs_path,
+ };
+ }
+ $t->param(ACCEPTED => \@ar);
+
if ($id and $self->is_admin_user($id)) {
$t->param(admin => 1);
$t->param(email => $p->email);
Modified: yapcom/trunk/templates/list_people.tmpl
===================================================================
--- yapcom/trunk/templates/list_people.tmpl 2003-12-18 19:39:49 UTC (rev 129)
+++ yapcom/trunk/templates/list_people.tmpl 2004-01-21 15:18:48 UTC (rev 130)
@@ -4,7 +4,7 @@
Total number of registered people: <b><TMPL_VAR NAME="total"></b><br />
Number of people who have also validated their e-mail: <b><TMPL_VAR NAME="validated"></b><p>
-<table>
+<table border="1">
<TMPL_LOOP NAME="users">
<tr>
<td>
Modified: yapcom/trunk/templates/person.tmpl
===================================================================
--- yapcom/trunk/templates/person.tmpl 2003-12-18 19:39:49 UTC (rev 129)
+++ yapcom/trunk/templates/person.tmpl 2004-01-21 15:18:48 UTC (rev 130)
@@ -11,17 +11,19 @@
</table>
<p />
<b>Bio:</b>
+<pre>
<table border="1" width="100%">
<tr><td>
-<pre>
<TMPL_VAR NAME="bio">
-</pre>
</td></tr>
</table>
+</pre>
<p />
<b>Accepted Talks:</b>
<table border="1" width="100%">
-<tr><td>n/a</td></tr>
+<TMPL_LOOP NAME="accepted">
+<tr><td><a href="<TMPL_VAR NAME="cgi_path">/talk.html?id=<TMPL_VAR NAME="id">"><TMPL_VAR NAME="title"></a></td></tr>
+</TMPL_LOOP>
</table>
<TMPL_IF NAME="admin">
<p />
Modified: yapcom/trunk/templates/sponsors.tmpl
===================================================================
--- yapcom/trunk/templates/sponsors.tmpl 2003-12-18 19:39:49 UTC (rev 129)
+++ yapcom/trunk/templates/sponsors.tmpl 2004-01-21 15:18:48 UTC (rev 130)
@@ -28,7 +28,7 @@
and Safari Bookshelf. Value is $495 US per bundle.<br />
<a href="http://www.activestate.com/Products/ASPN_Perl/">details</a>
</td>
- <td><a href="http://www.activestate.com/">ActiveState</a></td>
+ <td><a href="http://www.activestate.com/"><img border=0 src="/images/AS_Sophos_Logo.gif" alt="ActiveState"></a></td>
</tr>
<tr>
<td>Presents:<br />
Generated at 17:25 on 21 Jan 2004 by mariachi 0.52