phpBMS

Show
Ignore:
Timestamp:
03/26/07 16:50:25 (5 years ago)
Author:
brieb
Message:

Updated XHTML compliance

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/modules/bms/report/invoices_totals.php

    r204 r205  
    8585                 
    8686        function showReportTable(){ 
    87                 ?><table border=0 cellspacing=0 cellpadding=0> 
     87                ?><table border="0" cellspacing="0" cellpadding="0"> 
    8888                <tr> 
    8989                        <th>&nbsp;</th> 
    9090                <?php 
    9191                        foreach($this->selectcolumns as $name=>$column){ 
    92                                 ?><th align=right nowrap><?php echo $name?></td><?php 
     92                                ?><th align=right nowrap="nowrap"><?php echo $name?></td><?php 
    9393                        }//end foreach 
    9494                ?> 
     
    218218                ?> 
    219219                        <tr><td colspan="<?php echo (count($this->selectcolumns)+1)?>" class="invoices" style="padding-right:40px;padding-left:<?php echo ($indent+2)?>px;"> 
    220                                 <table border=0 cellspacing=0 cellpadding=0 style="border:0px;"> 
     220                                <table border="0" cellspacing="0" cellpadding="0" style="border:0px;"> 
    221221                <?php  
    222222                 
     
    224224                        ?> 
    225225                        <tr> 
    226                                 <td width="65%" class="lineitems" nowrap><?php echo $therecord["partnumber"]?>&nbsp;&nbsp;<?php echo $therecord["partname"]?></td> 
    227                                 <td width="24%" class="lineitems" align="right" nowrap><?php echo "\$".number_format($therecord["unitprice"],2)?></td> 
    228                                 <td width="12%" class="lineitems" align="center" nowrap><?php echo number_format($therecord["quantity"],2)?></td> 
    229                                 <td width="24%" class="lineitems" align="right" nowrap><?php echo "\$".number_format($therecord["extended"],2)?></td> 
     226                                <td width="65%" class="lineitems" nowrap="nowrap"><?php echo $therecord["partnumber"]?>&nbsp;&nbsp;<?php echo $therecord["partname"]?></td> 
     227                                <td width="24%" class="lineitems" align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["unitprice"],2)?></td> 
     228                                <td width="12%" class="lineitems" align="center" nowrap="nowrap"><?php echo number_format($therecord["quantity"],2)?></td> 
     229                                <td width="24%" class="lineitems" align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["extended"],2)?></td> 
    230230                        </tr> 
    231231                        <?php 
     
    368368<div class="bodyline" style="width:550px;padding:4px;"> 
    369369        <h1>Invoice Total Options</h1>   
    370         <form action="<?php echo $_SERVER["PHP_SELF"]?>" method="post" name="totals" onSubmit="return submitForm(this)"> 
     370        <form action="<?php echo $_SERVER["PHP_SELF"]?>" method="post" name="totals" onsubmit="return submitForm(this)"> 
    371371                <div> 
    372372                        report title<br />                       
     
    375375                <div class="box"> 
    376376                        <strong>Grouping</strong><br /> 
    377                         <table border=0 cellspacing=0 cellpadding=0> 
     377                        <table border="0" cellspacing="0" cellpadding="0"> 
    378378                                <tr> 
    379379                                        <td width="50%"> 
     
    385385                                        <td> 
    386386                                                <div><br /> 
    387                                                         <input type="button" value="&lt;&lt;" class="Buttons" onClick="moveItem('groupings','to',this.form);"><br /><br /> 
    388                                                         <input type="button" value="&gt;&gt;" class="Buttons" onClick="moveItem('groupings','from',this.form);">                                                         
     387                                                        <input type="button" value="&lt;&lt;" class="Buttons" onclick="moveItem('groupings','to',this.form);"><br /><br /> 
     388                                                        <input type="button" value="&gt;&gt;" class="Buttons" onclick="moveItem('groupings','from',this.form);">                                                         
    389389                                                </div> 
    390390                                        </td> 
     
    420420                <div class="box"> 
    421421                        <strong>Columns</strong><br /> 
    422                         <table border=0 cellspacing=0 cellpadding=0> 
     422                        <table border="0" cellspacing="0" cellpadding="0"> 
    423423                                <tr> 
    424424                                        <td width="50%"> 
     
    431431                                        <td> 
    432432                                                <div><br /> 
    433                                                         <input type="button" value="&lt;&lt;" class="Buttons" onClick="moveItem('columns','to',this.form);"><br /><br /> 
    434                                                         <input type="button" value="&gt;&gt;" class="Buttons" onClick="moveItem('columns','from',this.form);">                                                   
     433                                                        <input type="button" value="&lt;&lt;" class="Buttons" onclick="moveItem('columns','to',this.form);"><br /><br /> 
     434                                                        <input type="button" value="&gt;&gt;" class="Buttons" onclick="moveItem('columns','from',this.form);">                                                   
    435435                                                </div> 
    436436                                        </td> 
     
    465465                        information shown<br /> 
    466466                        <select name="showwhat"> 
    467                                 <option selected value="totals">Totals Only</option> 
     467                                <option selected="selected" value="totals">Totals Only</option> 
    468468                                <option value="invoices">Invoices</option> 
    469469                                <option value="lineitems">Invoices &amp; Line Items</option> 
     
    475475                <div align="right" class="box"> 
    476476                        <input name="command" type="submit" class="Buttons" id="print" value="print" style="width:75px;margin-right:3px;"> 
    477                         <input name="cancel" type="button" class="Buttons" id="cancel" value="cancel" style="width:75px;" onClick="window.close();">      
     477                        <input name="cancel" type="button" class="Buttons" id="cancel" value="cancel" style="width:75px;" onclick="window.close();">      
    478478                </div> 
    479479   </form> 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.