[geeklog-cvs] geeklog-1.3/public_html pollbooth.php,1.28,1.29
dhaun at iowaoutdoors.org
dhaun at iowaoutdoors.org
Sat Aug 14 05:04:18 EDT 2004
Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv13502
Modified Files:
pollbooth.php
Log Message:
Display poll question in page title when displaying the poll results
Index: pollbooth.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/pollbooth.php,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** pollbooth.php 11 Aug 2004 13:33:34 -0000 1.28
--- pollbooth.php 14 Aug 2004 09:04:14 -0000 1.29
***************
*** 215,220 ****
$display .= COM_siteHeader() . pollsave($qid, $aid);
} else {
! $display .= COM_siteHeader()
! . COM_pollResults($qid,400,$order,$mode);
}
$display .= COM_siteFooter();
--- 215,226 ----
$display .= COM_siteHeader() . pollsave($qid, $aid);
} else {
! $question = DB_query ("SELECT question FROM {$_TABLES['pollquestions']} WHERE qid='$qid'" . COM_getPermSql ('AND'));
! $Q = DB_fetchArray ($question);
! if (empty ($Q['question'])) {
! $display .= COM_siteHeader ('menu', $LANG07[4]) . polllist ($page);
! } else {
! $display .= COM_siteHeader ('menu', $Q['question'])
! . COM_pollResults ($qid, 400, $order, $mode);
! }
}
$display .= COM_siteFooter();
More information about the geeklog-cvs
mailing list