From: <w4...@us...> - 2002-09-19 21:37:07
|
Update of /cvsroot/xoops/xoops-current/html/modules/xoopspoll/class In directory usw-pr-cvs1:/tmp/cvs-serv4979/html/modules/xoopspoll/class Modified Files: xoopspollrenderer.php Log Message: no comment Index: xoopspollrenderer.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/modules/xoopspoll/class/xoopspollrenderer.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** xoopspollrenderer.php 10 Sep 2002 02:16:21 -0000 1.4 --- xoopspollrenderer.php 19 Sep 2002 21:37:04 -0000 1.5 *************** *** 38,42 **** function renderForm(){ $content = "<form action='".XOOPS_URL."/modules/xoopspoll/index.php' method='post'>"; ! $content .= "<table border='0' cellpadding='0' cellspacing='0' valign='top' width='100%'><tr><td class='bg2'>\n"; $content .= "<table width='100%' border='0' cellpadding='4' cellspacing='1'>\n"; $content .= "<tr class='bg3'><td align='center' colspan='2'><input type='hidden' name='poll_id' value='".$this->poll->getVar("poll_id")."' />\n"; --- 38,42 ---- function renderForm(){ $content = "<form action='".XOOPS_URL."/modules/xoopspoll/index.php' method='post'>"; ! $content .= "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr><td class='bg2'>\n"; $content .= "<table width='100%' border='0' cellpadding='4' cellspacing='1'>\n"; $content .= "<tr class='bg3'><td align='center' colspan='2'><input type='hidden' name='poll_id' value='".$this->poll->getVar("poll_id")."' />\n"; *************** *** 76,80 **** $percent = 0; } ! echo "<tr class='bg1'><td width='30%' align='left'>".$option->getVar("option_text")."</td><td width='70%' align='left'>"; if ( $percent > 0 ) { $width = intval($percent)*2; --- 76,80 ---- $percent = 0; } ! echo "<tr class='bg1'><td width='30%'>".$option->getVar("option_text")."</td><td width='70%'>"; if ( $percent > 0 ) { $width = intval($percent)*2; |