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/lineitems_totals.php

    r204 r205  
    9292                 
    9393        function showReportTable(){ 
    94                 ?><table border=0 cellspacing=0 cellpadding=0> 
     94                ?><table border="0" cellspacing="0" cellpadding="0"> 
    9595                <tr> 
    9696                        <th>&nbsp;</th> 
    9797                <?php 
    9898                        foreach($this->selectcolumns as $name=>$column){ 
    99                                 ?><th align=right nowrap><?php echo $name?></td><?php 
     99                                ?><th align=right nowrap="nowrap"><?php echo $name?></td><?php 
    100100                        }//end foreach 
    101101                ?> 
     
    193193                ?> 
    194194                        <tr><td colspan="<?php echo (count($this->selectcolumns)+1)?>" class="invoices" style="padding-right:10px;padding-left:<?php echo ($indent+2)?>px;"> 
    195                                 <table border=0 cellspacing=0 cellpadding=0 style="border:0px;"> 
     195                                <table border="0" cellspacing="0" cellpadding="0" style="border:0px;"> 
    196196                <?php  
    197197                 
     
    199199                        ?> 
    200200                        <tr> 
    201                                 <td class="lineitems" nowrap><?php echo $therecord["invoiceid"]?></td> 
    202                                 <td class="lineitems" nowrap><?php if($therecord["invoicedate"]) echo formatFromSQLDate($therecord["invoicedate"]); else echo "&nbsp;"?></td> 
     201                                <td class="lineitems" nowrap="nowrap"><?php echo $therecord["invoiceid"]?></td> 
     202                                <td class="lineitems" nowrap="nowrap"><?php if($therecord["invoicedate"]) echo formatFromSQLDate($therecord["invoicedate"]); else echo "&nbsp;"?></td> 
    203203                                <td class="lineitems" width="20%"><?php echo $therecord["thename"]?></td> 
    204                                 <td width="60%" class="lineitems" nowrap><?php echo $therecord["partnumber"]?>&nbsp;&nbsp;<?php echo $therecord["partname"]?></td> 
    205                                 <td width="9%" class="lineitems" align="right" nowrap><?php echo "\$".number_format($therecord["unitprice"],2)?></td> 
    206                                 <td width="8%" class="lineitems" align="center" nowrap><?php echo number_format($therecord["quantity"],2)?></td> 
    207                                 <td width="7%" class="lineitems" align="right" nowrap><?php echo "\$".number_format($therecord["extended"],2)?></td> 
     204                                <td width="60%" class="lineitems" nowrap="nowrap"><?php echo $therecord["partnumber"]?>&nbsp;&nbsp;<?php echo $therecord["partname"]?></td> 
     205                                <td width="9%" class="lineitems" align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["unitprice"],2)?></td> 
     206                                <td width="8%" class="lineitems" align="center" nowrap="nowrap"><?php echo number_format($therecord["quantity"],2)?></td> 
     207                                <td width="7%" class="lineitems" align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["extended"],2)?></td> 
    208208                        </tr> 
    209209                        <?php 
     
    344344<div class="bodyline" style="width:550px;padding:4px;"> 
    345345        <h1>Line Item Total Options</h1>         
    346         <form action="<?php echo $_SERVER["PHP_SELF"]?>" method="post" name="totals" onSubmit="return submitForm(this)"> 
     346        <form action="<?php echo $_SERVER["PHP_SELF"]?>" method="post" name="totals" onsubmit="return submitForm(this)"> 
    347347                <div> 
    348348                        report title<br />                       
     
    351351                <div class="box"> 
    352352                        <strong>Grouping</strong><br /> 
    353                         <table border=0 cellspacing=0 cellpadding=0> 
     353                        <table border="0" cellspacing="0" cellpadding="0"> 
    354354                                <tr> 
    355355                                        <td width="50%"> 
     
    361361                                        <td> 
    362362                                                <div><br /> 
    363                                                         <input type="button" value="&lt;&lt;" class="Buttons" onClick="moveItem('groupings','to',this.form);"><br /><br /> 
    364                                                         <input type="button" value="&gt;&gt;" class="Buttons" onClick="moveItem('groupings','from',this.form);">                                                         
     363                                                        <input type="button" value="&lt;&lt;" class="Buttons" onclick="moveItem('groupings','to',this.form);"><br /><br /> 
     364                                                        <input type="button" value="&gt;&gt;" class="Buttons" onclick="moveItem('groupings','from',this.form);">                                                         
    365365                                                </div> 
    366366                                        </td> 
     
    400400                <div class="box"> 
    401401                        <strong>Columns</strong><br /> 
    402                         <table border=0 cellspacing=0 cellpadding=0> 
     402                        <table border="0" cellspacing="0" cellpadding="0"> 
    403403                                <tr> 
    404404                                        <td width="50%"> 
     
    411411                                        <td> 
    412412                                                <div><br /> 
    413                                                         <input type="button" value="&lt;&lt;" class="Buttons" onClick="moveItem('columns','to',this.form);"><br /><br /> 
    414                                                         <input type="button" value="&gt;&gt;" class="Buttons" onClick="moveItem('columns','from',this.form);">                                                   
     413                                                        <input type="button" value="&lt;&lt;" class="Buttons" onclick="moveItem('columns','to',this.form);"><br /><br /> 
     414                                                        <input type="button" value="&gt;&gt;" class="Buttons" onclick="moveItem('columns','from',this.form);">                                                   
    415415                                                </div> 
    416416                                        </td> 
     
    436436                        </table> 
    437437                </div> 
    438                 <div class=box> 
     438                <div class="box"> 
    439439                        <strong>Additional Options</strong><br /> 
    440440                        information shown<br /> 
    441441                        <select name="showwhat"> 
    442                                 <option selected value="totals">Totals Only</option> 
     442                                <option selected="selected" value="totals">Totals Only</option> 
    443443                                <option value="lineitems">Line Items</option> 
    444444                        </select> 
     
    448448                <div align="right" class="box"> 
    449449                        <input name="command" type="submit" class="Buttons" id="print" value="print" style="width:75px;margin-right:3px;"> 
    450                         <input name="cancel" type="button" class="Buttons" id="cancel" value="cancel" style="width:75px;" onClick="window.close();">      
     450                        <input name="cancel" type="button" class="Buttons" id="cancel" value="cancel" style="width:75px;" onclick="window.close();">      
    451451                </div> 
    452452   </form> 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.