Changeset 691 for temp


Ignore:
Timestamp:
2006/12/11 17:14:23 (20 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/test-xoops.ec-cube.net/html/modules/xoopspoll/class/xoopspollrenderer.php

    r690 r691  
    138138                $width = intval($percent)*4; 
    139139                //$options[$i]['image'] = "<img src='".XOOPS_URL."/modules/xoopspoll/images/colorbars/".$option->getVar("option_color", "E")."' height='14' width='".$width."' align='middle' alt='".intval($percent)." %' />"; 
    140 echo "test => ".$width; 
    141                 if($width != "") { 
    142                     $options[$i]['image'] = "<img src='".XOOPS_URL."/themes/default/img/main/bar01.jpg' width='". $width ."' height='9' alt='". intval($percent) ."'  style='vertical-align: middle;'/>"; 
    143                 } else { 
    144                     $options[$i]['image'] = ""; 
    145                 } 
     140                $options[$i]['image'] = "<img src='".XOOPS_URL."/themes/default/img/main/bar01.jpg' width='". $width ."' height='9' alt='". intval($percent) ."'  style='vertical-align: middle;'/>"; 
    146141            } 
    147142            $options[$i]['percent'] = sprintf(" %d %% (%d)", $percent, $option->getVar("option_count")); 
Note: See TracChangeset for help on using the changeset viewer.