[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] polls/inc/functions.inc.php, 1.11.2.1.2.5
From: |
nomail |
Subject: |
[Phpgroupware-cvs] polls/inc/functions.inc.php, 1.11.2.1.2.5 |
Date: |
Thu, 15 Jul 2004 04:07:00 +0200 |
Update of /polls/inc
Modified Files:
Branch: Version-0_9_16-branch
functions.inc.php
date: 2004/07/15 02:07:00; author: skwashd; state: Exp; lines: +7 -7
Log Message:
fixes bug #2377
=====================================================================
Index: polls/inc/functions.inc.php
diff -u polls/inc/functions.inc.php:1.11.2.1.2.4
polls/inc/functions.inc.php:1.11.2.1.2.5
--- polls/inc/functions.inc.php:1.11.2.1.2.4 Wed Mar 3 00:24:50 2004
+++ polls/inc/functions.inc.php Thu Jul 15 02:07:00 2004
@@ -56,13 +56,13 @@
echo '<p><table border="0" align="center" width="50%">';
echo ' <tr>' . "\n"
. ' <td colspan="3" bgcolor="' .
$GLOBALS['phpgw_info']['theme']['th_bg'] . '" align="center">'
- . $GLOBALS['phpgw']->db->f('poll_title') . '</td>' .
"\n"
+ . $GLOBALS['phpgw']->db->f('poll_title', True) .
'</td>' . "\n"
. '</tr>' . "\n";
$GLOBALS['phpgw']->db->query("SELECT * FROM phpgw_polls_data
WHERE poll_id = $poll_id",__LINE__,__FILE__);
while ($GLOBALS['phpgw']->db->next_record())
{
- $poll_optionText =
$GLOBALS['phpgw']->db->f('option_text');
+ $poll_optionText =
$GLOBALS['phpgw']->db->f('option_text', True);
$poll_optionCount =
$GLOBALS['phpgw']->db->f('option_count');
$tr_color =
$GLOBALS['phpgw']->nextmatchs->alternate_row_color($tr_color);
@@ -116,7 +116,7 @@
$GLOBALS['phpgw']->db->query("SELECT poll_title FROM
phpgw_polls_desc WHERE poll_id = $poll_id",__LINE__,__FILE__);
$GLOBALS['phpgw']->db->next_record();
- $poll_title = $GLOBALS['phpgw']->db->f('poll_title');
+ $poll_title = $GLOBALS['phpgw']->db->f('poll_title', True);
$ret[0] = array(
'title' => $poll_title,
@@ -128,7 +128,7 @@
while ($GLOBALS['phpgw']->db->next_record())
{
$ret[] = array(
- 'text' =>
$GLOBALS['phpgw']->db->f('option_text'),
+ 'text' =>
$GLOBALS['phpgw']->db->f('option_text', True),
'votes' =>
$GLOBALS['phpgw']->db->f('option_count')
);
}
@@ -160,7 +160,7 @@
echo '<table border="0" align="center" width="50%">' . "\n"
. ' <tr>' . "\n"
. ' <td colspan="2" bgcolor="' .
$GLOBALS['phpgw_info']['theme']['th_bg'] . '" align="center"> '
- . $GLOBALS['phpgw']->db->f('poll_title') .
' </td>' . "\n"
+ . $GLOBALS['phpgw']->db->f('poll_title', True) .
' </td>' . "\n"
. ' </tr>' . "\n";
$GLOBALS['phpgw']->db->query('SELECT * FROM phpgw_polls_data
WHERE poll_id = ' . intval($poll_id),__LINE__,__FILE__);
@@ -170,7 +170,7 @@
echo ' <tr bgcolor="' . $tr_color . '">' . "\n"
. ' <td align="center"><input type="radio"
name="poll_voteNr" value="'
. $GLOBALS['phpgw']->db->f('vote_id') .
'"></td>' . "\n"
- . ' <td> ' .
$GLOBALS['phpgw']->db->f('option_text') . '</td>' . "\n"
+ . ' <td> ' .
$GLOBALS['phpgw']->db->f('option_text', True) . '</td>' . "\n"
. ' </tr>' . "\n";
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] polls/inc/functions.inc.php, 1.11.2.1.2.5,
nomail <=