[geeklog-cvs] geeklog-1.3/public_html pollbooth.php,1.16,1.17

geeklog-cvs-admin at lists.geeklog.net geeklog-cvs-admin at lists.geeklog.net
Wed Apr 9 13:44:53 EDT 2003


Update of /usr/cvs/geeklog/geeklog-1.3/public_html
In directory internal.geeklog.net:/tmp/cvs-serv23450

Modified Files:
	pollbooth.php 
Log Message:
Display the actual poll question after "Your vote was saved for the poll ...", not the poll ID.


Index: pollbooth.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/pollbooth.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** pollbooth.php	13 Sep 2002 18:21:00 -0000	1.16
--- pollbooth.php	9 Apr 2003 17:44:51 -0000	1.17
***************
*** 9,17 ****
  // |                                                                           |
  // +---------------------------------------------------------------------------+
! // | Copyright (C) 2000,2001 by the following authors:                         |
  // |                                                                           |
! // | Authors: Tony Bibbs       - tony at tonybibbs.com                            |
! // |          Mark Limburg     - mlimburg at users.sourceforge.net                |
! // |          Jason Wittenburg - jwhitten at securitygeeks.com                    |
  // +---------------------------------------------------------------------------+
  // |                                                                           |
--- 9,17 ----
  // |                                                                           |
  // +---------------------------------------------------------------------------+
! // | Copyright (C) 2000-2003 by the following authors:                         |
  // |                                                                           |
! // | Authors: Tony Bibbs        - tony at tonybibbs.com                           |
! // |          Mark Limburg      - mlimburg at users.sourceforge.net               |
! // |          Jason Whittenburg - jwhitten at securitygeeks.com                   |
  // +---------------------------------------------------------------------------+
  // |                                                                           |
***************
*** 59,63 ****
      DB_save($_TABLES['pollvoters'],'ipaddress,date,qid',"'$REMOTE_ADDR'," . time() . ",'$qid'");
      $retval .= COM_startBlock($LANG07[1])
!         . $LANG07[2] . ' ' . $qid
          . COM_endBlock()
          . COM_pollResults($qid);
--- 59,65 ----
      DB_save($_TABLES['pollvoters'],'ipaddress,date,qid',"'$REMOTE_ADDR'," . time() . ",'$qid'");
      $retval .= COM_startBlock($LANG07[1])
!         . $LANG07[2] . ' "'
!         . DB_getItem ($_TABLES['pollquestions'], 'question', "qid = '{$qid}'")
!         . '"'
          . COM_endBlock()
          . COM_pollResults($qid);





More information about the geeklog-cvs mailing list