phpBMS

Changeset 711

Show
Ignore:
Timestamp:
01/04/10 17:42:17 (2 years ago)
Author:
brieb
Message:
  • fixed some code formatting issues
  • forced correct tab order in search display
Location:
trunk/phpbms
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/include/search_class.php

    r705 r711  
    612612 
    613613                <label for="find">find</label><br /> 
    614                 <select name="find" id="find"> 
     614                <select name="find" id="find" tabindex="1"> 
    615615                <?php 
    616616 
     
    638638 
    639639                <label for="startswithfield">where</label><br /> 
    640                 <select name="startswithfield" id="startswithfield"> 
     640                <select name="startswithfield" id="startswithfield" tabindex="1"> 
    641641                <?php 
    642642 
     
    665665 
    666666            <p id="bstSearchButtonP" class="big"> 
    667                 <input name="command" id="searchbutton" type="submit" class="Buttons" value="search"/> 
     667                <input name="command" id="searchbutton" type="submit" class="Buttons" value="search" tabindex="2"/> 
    668668            </p> 
    669669 
     
    671671 
    672672                <label for="startswith">starts with</label><br /> 
    673                 <input id="startswith" name="startswith" type="text"  value="<?php if($this->querytype=="search" and isset($this->savedstartswith)) echo formatVariable($this->savedstartswith) ?>" size="35" maxlength="128" /> 
     673                <input id="startswith" name="startswith" type="text"  value="<?php if($this->querytype=="search" and isset($this->savedstartswith)) echo formatVariable($this->savedstartswith) ?>" size="35" maxlength="128" tabindex="1"/> 
    674674 
    675675            </p> 
     
    677677 
    678678            <p id="bstSelectionP"> 
    679                 <select name="Selection"> 
     679                <select name="Selection" tabindex="2"> 
    680680                    <option value="new" <?php if ($this->querytype!="search" or ($this->querytype=="search" and $this->savedselection=="new") ) echo "selected=\"selected\""?> >new result</option> 
    681681                    <option value="add" <?php if ($this->querytype=="search" and $this->savedselection=="add")echo "selected=\"selected\""?>>add to result</option> 
     
    686686 
    687687            <p id="bstResetButtonP"> 
    688                 <input name="command" type="submit" id="reset" class="smallButtons" value="reset" accesskey="t" title="(access key+t)"/> 
     688                <input name="command" type="submit" id="reset" class="smallButtons" value="reset" accesskey="t" title="(access key+t)" tabindex="2"/> 
    689689            </p> 
    690690 
  • trunk/phpbms/modules/bms/invoices_addresses_ajax.php

    r702 r711  
    6262                        WHERE 
    6363                                addresstorecord.tabledefid = 'tbld:6d290174-8b73-e199-fe6c-bcf3d4b61083' 
    64                                 AND addresstorecord.recordid = '".mysql_real_escape_string($uuid)."' 
    65                 "; 
     64                                AND addresstorecord.recordid = '".mysql_real_escape_string($uuid)."'"; 
    6665 
    6766                return $this->db->query($querystatement); 
     
    131130                                addresses 
    132131                        WHERE 
    133                                 uuid ='".mysql_real_escape_string($uuid)."' 
    134                 "; 
     132                                uuid ='".mysql_real_escape_string($uuid)."'"; 
    135133 
    136134                $therecord = $this->db->fetchArray($this->db->query($querystatement)); 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.