Changeset 205
- Timestamp:
- 03/26/07 16:50:25 (3 years ago)
- Location:
- trunk/phpbms
- Files:
-
- 71 modified
-
advancedsearch.php (modified) (2 diffs)
-
advancedsort.php (modified) (3 diffs)
-
choicelist.php (modified) (1 diff)
-
common/javascript/fields.js (modified) (1 diff)
-
common/javascript/queryfunctions.js (modified) (2 diffs)
-
datepicker.php (modified) (3 diffs)
-
fpdf/fpdf.php (modified) (2 diffs)
-
help/index.php (modified) (1 diff)
-
include/common_functions.php (modified) (1 diff)
-
include/fields.php (modified) (7 diffs)
-
include/jstransport.php (modified) (1 diff)
-
include/print_class.php (modified) (1 diff)
-
include/search_class.php (modified) (19 diffs)
-
info.php (modified) (1 diff)
-
loadsearch.php (modified) (1 diff)
-
menu.php (modified) (1 diff)
-
modules/base/adminsettings.php (modified) (3 diffs)
-
modules/base/attachments_records.php (modified) (1 diff)
-
modules/base/files_addedit.php (modified) (6 diffs)
-
modules/base/include/menu_addedit_include.php (modified) (2 diffs)
-
modules/base/include/relationships_addedit_include.php (modified) (1 diff)
-
modules/base/include/reports_addedit_include.php (modified) (1 diff)
-
modules/base/include/snapshot_include.php (modified) (3 diffs)
-
modules/base/include/usersearches_edit_include.php (modified) (1 diff)
-
modules/base/javascript/notes.js (modified) (1 diff)
-
modules/base/menu_addedit.php (modified) (3 diffs)
-
modules/base/modules_view.php (modified) (3 diffs)
-
modules/base/myaccount.php (modified) (1 diff)
-
modules/base/notes_addedit.php (modified) (12 diffs)
-
modules/base/notes_records.php (modified) (1 diff)
-
modules/base/relationships_addedit.php (modified) (2 diffs)
-
modules/base/reports_addedit.php (modified) (2 diffs)
-
modules/base/roles_addedit.php (modified) (2 diffs)
-
modules/base/scheduler_addedit.php (modified) (1 diff)
-
modules/base/tabledefs_addedit.php (modified) (2 diffs)
-
modules/base/tabledefs_columns.php (modified) (3 diffs)
-
modules/base/tabledefs_options.php (modified) (5 diffs)
-
modules/base/tabledefs_quicksearch.php (modified) (3 diffs)
-
modules/base/tabledefs_searchfields.php (modified) (3 diffs)
-
modules/base/usersearches_edit.php (modified) (3 diffs)
-
modules/base/users_addedit.php (modified) (3 diffs)
-
modules/bms/adminsettings.php (modified) (1 diff)
-
modules/bms/clientemailprojects_edit.php (modified) (5 diffs)
-
modules/bms/clients_addedit.php (modified) (3 diffs)
-
modules/bms/clients_email.php (modified) (3 diffs)
-
modules/bms/clients_purchasehistory.php (modified) (4 diffs)
-
modules/bms/discounts_addedit.php (modified) (3 diffs)
-
modules/bms/include/clients_email_include.php (modified) (1 diff)
-
modules/bms/invoicestatuses_addedit.php (modified) (2 diffs)
-
modules/bms/invoices_addedit.php (modified) (14 diffs)
-
modules/bms/invoices_statushistory.php (modified) (1 diff)
-
modules/bms/javascript/clientemail.js (modified) (1 diff)
-
modules/bms/javascript/invoice.js (modified) (2 diffs)
-
modules/bms/paymentmethods_addedit.php (modified) (3 diffs)
-
modules/bms/productcategories_addedit.php (modified) (2 diffs)
-
modules/bms/products_addedit.php (modified) (8 diffs)
-
modules/bms/products_prereq.php (modified) (3 diffs)
-
modules/bms/products_saleshistory.php (modified) (4 diffs)
-
modules/bms/quickview.php (modified) (3 diffs)
-
modules/bms/quickview_ajax.php (modified) (3 diffs)
-
modules/bms/report/clients_purchasehistory.php (modified) (2 diffs)
-
modules/bms/report/invoices_totals.php (modified) (10 diffs)
-
modules/bms/report/lineitems_totals.php (modified) (10 diffs)
-
modules/bms/report/products_saleshistory.php (modified) (3 diffs)
-
modules/bms/shippingmethods_addedit.php (modified) (2 diffs)
-
modules/bms/snapshot.php (modified) (3 diffs)
-
modules/bms/tax_addedit.php (modified) (2 diffs)
-
print.php (modified) (1 diff)
-
README (modified) (1 diff)
-
requirements.php (modified) (1 diff)
-
timepicker.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/advancedsearch.php
r204 r205 56 56 ?> 57 57 <p align="right" style="float:right"> 58 <input id="ASsearchbutton" type="button" on Click="performAdvancedSearch(this)" class="Buttons" disabled="true" value="search" />58 <input id="ASsearchbutton" type="button" onclick="performAdvancedSearch(this)" class="Buttons" disabled="disabled" value="search" /> 59 59 </p> 60 60 … … 80 80 <option value="not like">not like</option> 81 81 </select> 82 <input type="text" id="ASC1text" size="30" maxlength="255" on KeyUp="updateAS()" value="" />83 <button type="button" id="ASC1minus" class="graphicButtons buttonMinusDisabled" on Click="removeLineAS(this)"><span>-</span></button>84 <button type="button" id="ASC1plus" class="graphicButtons buttonPlus" on Click="addlineAS()"><span>+</span></button>82 <input type="text" id="ASC1text" size="30" maxlength="255" onkeyup="updateAS()" value="" /> 83 <button type="button" id="ASC1minus" class="graphicButtons buttonMinusDisabled" onclick="removeLineAS(this)"><span>-</span></button> 84 <button type="button" id="ASC1plus" class="graphicButtons buttonPlus" onclick="addlineAS()"><span>+</span></button> 85 85 </div> 86 86 </div> 87 87 <p> 88 88 sql where clause<br/> 89 <textarea id="ASSQL" style="width:99%" cols="90" rows="3" on KeyUp="ASEnableSave(this)"></textarea>89 <textarea id="ASSQL" style="width:99%" cols="90" rows="3" onkeyup="ASEnableSave(this)"></textarea> 90 90 </p><?php 91 91 } -
trunk/phpbms/advancedsort.php
r204 r205 103 103 </p> 104 104 <p align="right" class="buttonsRight"> 105 <input type="button" class="Buttons" style="width:75px;" id="sortSavedDeleteButton" value="delete" disabled=" true" onClick="sortSavedDelete('<?php echo $basepath ?>')"/>106 <input type="button" class="Buttons" style="width:75px;" id="sortSavedLoadButton" value="load" disabled=" true" onClick="sortSavedLoad('<?php echo $basepath ?>')"/>107 <input type="button" class="Buttons" style="width:75px;" id="sortSavedCancelButton" value="cancel" on Click="closeModal()"/>105 <input type="button" class="Buttons" style="width:75px;" id="sortSavedDeleteButton" value="delete" disabled="disabled" onclick="sortSavedDelete('<?php echo $basepath ?>')"/> 106 <input type="button" class="Buttons" style="width:75px;" id="sortSavedLoadButton" value="load" disabled="disabled" onclick="sortSavedLoad('<?php echo $basepath ?>')"/> 107 <input type="button" class="Buttons" style="width:75px;" id="sortSavedCancelButton" value="cancel" onclick="closeModal()"/> 108 108 </p> 109 109 <?php … … 161 161 <p> 162 162 sql order by clause<br/> 163 <textarea id="sortSQL" style="width:98%;height:75px;" cols="57" rows="4" on KeyUp="sortEnableButtons(this)" ></textarea>163 <textarea id="sortSQL" style="width:98%;height:75px;" cols="57" rows="4" onkeyup="sortEnableButtons(this)" ></textarea> 164 164 </p> 165 165 </td> … … 167 167 <div style="float:right"> 168 168 <br/> 169 <p><input id="sortRunSort" type="button" on Click="performAdvancedSort(this)" class="Buttons" disabled="true" value="run sort" style="width:90px;" /></p>170 <p><input id="sortLoadSort" type="button" on Click="sortAskLoad('<?php echo $_SESSION["app_path"]?>')" class="Buttons" value="load sort..." style="width:90px;" /></p>171 <p><input id="sortSaveSort" type="button" on Click="sortAskSaveName('<?php echo $_SESSION["app_path"]?>')" class="Buttons" disabled="true" value="save sort..." style="width:90px;" /></p>172 <p><input id="sortClearSort" type="button" on Click="clearSort()" class="Buttons" disabled="true" value="clear sort" style="width:90px;" /></p>169 <p><input id="sortRunSort" type="button" onclick="performAdvancedSort(this)" class="Buttons" disabled="disabled" value="run sort" style="width:90px;" /></p> 170 <p><input id="sortLoadSort" type="button" onclick="sortAskLoad('<?php echo $_SESSION["app_path"]?>')" class="Buttons" value="load sort..." style="width:90px;" /></p> 171 <p><input id="sortSaveSort" type="button" onclick="sortAskSaveName('<?php echo $_SESSION["app_path"]?>')" class="Buttons" disabled="disabled" value="save sort..." style="width:90px;" /></p> 172 <p><input id="sortClearSort" type="button" onclick="clearSort()" class="Buttons" disabled="disabled" value="clear sort" style="width:90px;" /></p> 173 173 </div> 174 174 </td> -
trunk/phpbms/choicelist.php
r204 r205 102 102 <p id="MLStatus" class="small"> </p> 103 103 <div class="box" align="right"> 104 <input type="button" id="MLok" name="MLok" value="ok" class="Buttons" style="width:75px;" on Click="clickOK('<?php echo $_SESSION["app_path"]?>','<?php echo $listid?>','<?php echo $listname?>')"/>105 <input type="button" id="MLcancel" name="MLcancel" value="cancel" class="Buttons" style="width:75px;" on Click="closeBox('<?php echo $listid?>');"/> 104 <input type="button" id="MLok" name="MLok" value="ok" class="Buttons" style="width:75px;" onclick="clickOK('<?php echo $_SESSION["app_path"]?>','<?php echo $listid?>','<?php echo $listname?>')"/> 105 <input type="button" id="MLcancel" name="MLcancel" value="cancel" class="Buttons" style="width:75px;" onclick="closeBox('<?php echo $listid?>');"/> 106 106 </div> 107 107 <?php }//end function -
trunk/phpbms/common/javascript/fields.js
r204 r205 138 138 } 139 139 if(errorMessage!=""){ 140 errorMessage="<UL>"+errorMessage+"</UL><DIV align=\"right\"><button class=\"Buttons\" on Click=\"closeModal()\" style=\"width:75px;\">ok</button></DIV>";140 errorMessage="<UL>"+errorMessage+"</UL><DIV align=\"right\"><button class=\"Buttons\" onclick=\"closeModal()\" style=\"width:75px;\">ok</button></DIV>"; 141 141 142 142 showModal(errorMessage,"Cannot Save",300); -
trunk/phpbms/common/javascript/queryfunctions.js
r204 r205 166 166 howmany+="s" 167 167 var content="<div>Are you sure you want to "+deletename+" the "+howmany+"?</div>"; 168 content+="<div align=\"right\"><input type=\"button\" class=\"\Buttons\" style=\"width:75px;margin-right:2px;\" value=\"yes\" on Click=\"doDelete()\" /><input type=\"button\" class=\"\Buttons\" style=\"width:75px;\" value=\"no\" onClick=\"closeModal()\" /></div>"168 content+="<div align=\"right\"><input type=\"button\" class=\"\Buttons\" style=\"width:75px;margin-right:2px;\" value=\"yes\" onclick=\"doDelete()\" /><input type=\"button\" class=\"\Buttons\" style=\"width:75px;\" value=\"no\" onclick=\"closeModal()\" /></div>" 169 169 showModal(content,"Confirm",300) ; 170 170 } … … 760 760 } 761 761 function sortAskSaveName(base){ 762 var text="<p>name<br /><input id=\"sortSaveName\" type=\"text\" maxlength=\"128\" length=\"40\" on KeyUp=\"sortEnableSave(this)\" style=\"width:98%\" /></p>";763 text+="<p align=\"right\"><input type=\"button\" class=\"Buttons\" id=\"sortDoSave\" on Click=\"sortSave('"+base+"')\" value=\"save\" style=\"width:75px\" disabled=\"true\"/>";764 text+="<input type=\"button\" class=\"Buttons\" on Click=\"closeModal()\" value=\"cancel\" style=\"margin-left:5px;width:75px\"/></p>"762 var text="<p>name<br /><input id=\"sortSaveName\" type=\"text\" maxlength=\"128\" length=\"40\" onkeyup=\"sortEnableSave(this)\" style=\"width:98%\" /></p>"; 763 text+="<p align=\"right\"><input type=\"button\" class=\"Buttons\" id=\"sortDoSave\" onclick=\"sortSave('"+base+"')\" value=\"save\" style=\"width:75px\" disabled=\"disabled\"/>"; 764 text+="<input type=\"button\" class=\"Buttons\" onclick=\"closeModal()\" value=\"cancel\" style=\"margin-left:5px;width:75px\"/></p>" 765 765 showModal(text,"Save Sort As...",250); 766 766 } -
trunk/phpbms/datepicker.php
r204 r205 57 57 ?><script language="JavaScript" type="text/javascript">displayLongDate="<?php echo $displayLongDate ?>";</script> 58 58 <?php 59 ?><table class="dp" cellspacing="0" cellpadding="0" border= 0>59 ?><table class="dp" cellspacing="0" cellpadding="0" border="0"> 60 60 <tr> 61 61 <td colspan=6 class="dpHead"><?php echo date("F, Y",$thedate)?></td> … … 63 63 </tr> 64 64 <tr> 65 <td class="dpButtons" on Click="loadMonth('<?php echo $_SESSION["app_path"]?>','<?php echo $month?>','<?php echo $year-1?>'<?php if($selDate) echo ",'".date("m/d/Y",$selDate)."'"?>)"><<</td>66 <td class="dpButtons" on Click="loadMonth('<?php echo $_SESSION["app_path"]?>','<?php if($month==1) echo "12"; else echo $month-1?>','<?php if($month==1) echo $year-1; else echo $year?>'<?php if($selDate) echo ",'".date("m/d/Y",$selDate)."'"?>)"><</td>67 <td colspan=3 class="dpButtons" on Click="loadMonth('<?php echo $_SESSION["app_path"]?>','<?php echo date('m',$today)?>','<?php echo $todayArray["year"]?>'<?php if($selDate) echo ",'".date("m/d/Y",$selDate)."'"?>)">Today</td>68 <td class="dpButtons" on Click="loadMonth('<?php echo $_SESSION["app_path"]?>','<?php if($month==12) echo "1"; else echo $month+1?>','<?php if($month==12) echo $year+1; else echo $year;?>'<?php if($selDate) echo ",'".date("m/d/Y",$selDate)."'"?>)">></td>69 <td class="dpButtons" on Click="loadMonth('<?php echo $_SESSION["app_path"]?>','<?php echo $month?>','<?php echo $year+1?>'<?php if($selDate) echo ",'".date("m/d/Y",$selDate)."'"?>)">>></td>65 <td class="dpButtons" onclick="loadMonth('<?php echo $_SESSION["app_path"]?>','<?php echo $month?>','<?php echo $year-1?>'<?php if($selDate) echo ",'".date("m/d/Y",$selDate)."'"?>)"><<</td> 66 <td class="dpButtons" onclick="loadMonth('<?php echo $_SESSION["app_path"]?>','<?php if($month==1) echo "12"; else echo $month-1?>','<?php if($month==1) echo $year-1; else echo $year?>'<?php if($selDate) echo ",'".date("m/d/Y",$selDate)."'"?>)"><</td> 67 <td colspan=3 class="dpButtons" onclick="loadMonth('<?php echo $_SESSION["app_path"]?>','<?php echo date('m',$today)?>','<?php echo $todayArray["year"]?>'<?php if($selDate) echo ",'".date("m/d/Y",$selDate)."'"?>)">Today</td> 68 <td class="dpButtons" onclick="loadMonth('<?php echo $_SESSION["app_path"]?>','<?php if($month==12) echo "1"; else echo $month+1?>','<?php if($month==12) echo $year+1; else echo $year;?>'<?php if($selDate) echo ",'".date("m/d/Y",$selDate)."'"?>)">></td> 69 <td class="dpButtons" onclick="loadMonth('<?php echo $_SESSION["app_path"]?>','<?php echo $month?>','<?php echo $year+1?>'<?php if($selDate) echo ",'".date("m/d/Y",$selDate)."'"?>)">>></td> 70 70 </tr> 71 71 <tr class="dpDayNames"> … … 94 94 elseif($thedate==$today) $dayclass="dpToday"; 95 95 96 echo "<TD class=\"".$dayclass."\" onMouseOut=\"dpUnhighlightDay();\" onMouseOver=\"dpHighlightDay(".$mydate["year"].",".date("n",$thedate).",".$mydate["mday"].")\" on Click=\"dpClickDay(".$mydate["year"].",".date("n",$thedate).",".$mydate["mday"].")\">".$mydate["mday"]."</TD>";96 echo "<TD class=\"".$dayclass."\" onMouseOut=\"dpUnhighlightDay();\" onMouseOver=\"dpHighlightDay(".$mydate["year"].",".date("n",$thedate).",".$mydate["mday"].")\" onclick=\"dpClickDay(".$mydate["year"].",".date("n",$thedate).",".$mydate["mday"].")\">".$mydate["mday"]."</TD>"; 97 97 98 98 if($mydate["wday"]==6) echo "</tr>"; -
trunk/phpbms/fpdf/fpdf.php
r60 r205 620 620 } 621 621 622 function Cell($w,$h=0,$txt='',$border= 0,$ln=0,$align='',$fill=0,$link='')622 function Cell($w,$h=0,$txt='',$border="0",$ln=0,$align='',$fill=0,$link='') 623 623 { 624 624 //Output a cell … … 699 699 } 700 700 701 function MultiCell($w,$h,$txt,$border= 0,$align='J',$fill=0)701 function MultiCell($w,$h,$txt,$border="0",$align='J',$fill=0) 702 702 { 703 703 //Output text with automatic or explicit line breaks -
trunk/phpbms/help/index.php
r204 r205 77 77 <p> </p> 78 78 <p> 79 phpBMS takes advanage of HTML's access Key property to allow79 phpBMS takes advanage of HTML's accesskey property to allow 80 80 you to use your keyboard to navigate pages. Some browsers and OS's 81 81 might have different modifier keys, so check your 82 browser documentation. On windows, in Internet Explorer and Firefox, hold 83 down the Alt key followed by the shortcut. On opera hold down shift-esc then 84 the shortut. On a Mac, use the ctrl key in both Firefox and Safari. 82 browser documentation. In windows, when using Internet Explorer and Firefox < 2.0, hold 83 down the Alt key followed by the shortcut. When using Firefox > 2.0 in windows hold down Alt-Shift buttons 84 followed by the shortcut. In opera hold down Shift-Esc then 85 the shortut. On a Mac, use the ctrl key in both Firefox < 2.0 and Safari. 85 86 </p> 86 87 <h4>Search/List Screens</h4> -
trunk/phpbms/include/common_functions.php
r204 r205 381 381 382 382 function showSaveCancel($ids=1){ 383 ?><div class="saveCancels"><input <?php if($ids==1) {?>accesskey="s"<?php }?> title="Save (alt+s)" id="saveButton<?php echo $ids?>" name="command" type="submit" value="save" class="Buttons" /><input id="cancelButton<?php echo $ids?>" name="command" type="submit" value="cancel" class="Buttons" on Click="this.form.cancelclick.value=true;" <?php if($ids==1) {?>accesskey="x" <?php }?> title="(alt+x)" /></div><?php383 ?><div class="saveCancels"><input <?php if($ids==1) {?>accesskey="s"<?php }?> title="Save (alt+s)" id="saveButton<?php echo $ids?>" name="command" type="submit" value="save" class="Buttons" /><input id="cancelButton<?php echo $ids?>" name="command" type="submit" value="cancel" class="Buttons" onclick="this.form.cancelclick.value=true;" <?php if($ids==1) {?>accesskey="x" <?php }?> title="(access key+x)" /></div><?php 384 384 } 385 385 -
trunk/phpbms/include/fields.php
r204 r205 58 58 ?><input id="<?php echo $name?>" name="<?php echo $name?>" type="text" value="<?php echo htmlQuotes($value) ?>" <?php 59 59 if ($attributes) foreach($attributes as $attribute => $tvalue) echo " ".$attribute."=\"".$tvalue."\""; 60 ?> /><?php if ($required) { ?><script language="JavaScript" type="text/javascript">requiredArray[requiredArray.length]=new Array('<?php echo $name ?>','<?php echo $message ?>');</script><?php } //end required if 61 if ($type) {?><script language="JavaScript" type="text/javascript"><?php echo $type?>Array[<?php echo $type?>Array.length]=new Array('<?php echo $name ?>','<?php echo $message ?>');</script><?php }//end $type if 60 ?> /><?php if ($required) { ?><script language="JavaScript" type="text/javascript"><!-- 61 requiredArray[requiredArray.length]=new Array("<?php echo $name ?>","<?php echo $message ?>"); 62 // --></script><?php } //end required if 63 if ($type) {?><script language="JavaScript" type="text/javascript"><!-- 64 <?php echo $type?>Array[<?php echo $type?>Array.length]=new Array("<?php echo $name ?>","<?php echo $message ?>"); 65 // --></script><?php }//end $type if 62 66 }//end function 63 67 … … 79 83 80 84 ?><input name="<?php echo $name ?>" id="<?php echo $name ?>" type="checkbox" value="1" <?php 81 if ($value) echo "checked ";82 if ($disabled) echo "disabled=\" true\" ";85 if ($value) echo "checked=\"checked\" "; 86 if ($disabled) echo "disabled=\"disabled\" "; 83 87 if ($attributes) foreach($attributes as $attribute => $tvalue) echo " ".$attribute."=\"".$tvalue."\""; 84 88 ?> class="radiochecks" /><?php … … 101 105 foreach($list as $theitem){ 102 106 $theitem["value"]=str_replace("\"",""",$theitem["value"]); 103 ?><option value="<?php echo $theitem["value"]?>" <?php if ($theitem["value"]==$value) echo " selected "?> ><?php echo $theitem["name"]?></option>107 ?><option value="<?php echo $theitem["value"]?>" <?php if ($theitem["value"]==$value) echo " selected=\"selected\" "?> ><?php echo $theitem["name"]?></option> 104 108 <?php 105 109 } … … 164 168 if(!$querystatement) reportError(100,"SQL Statement Could not be executed."); 165 169 166 ?><select name="<?php echo $name?>" id="<?php echo $name?>" <?php if ($attributes) foreach($attributes as $attribute => $tvalue) echo " ".$attribute."=\"".$tvalue."\"";?> onchange="changeChoiceList(this,'<?php echo $_SESSION["app_path"]?>','<?php echo $listname?>','<?php echo $blankvalue?>');" on Focus="setInitialML(this)">170 ?><select name="<?php echo $name?>" id="<?php echo $name?>" <?php if ($attributes) foreach($attributes as $attribute => $tvalue) echo " ".$attribute."=\"".$tvalue."\"";?> onchange="changeChoiceList(this,'<?php echo $_SESSION["app_path"]?>','<?php echo $listname?>','<?php echo $blankvalue?>');" onfocus="setInitialML(this)"> 167 171 <?php 168 172 $inlist=false; … … 176 180 } 177 181 if($therecord["thevalue"]==$value){ 178 $selected=" selected ";182 $selected=" selected=\"selected\""; 179 183 $inlist=true; 180 184 } … … 191 195 $theclass=""; 192 196 } 193 ?><option value="<?php echo $value?>" <?php echo $theclass?> selected ><?php echo $display?></option><?php197 ?><option value="<?php echo $value?>" <?php echo $theclass?> selected="selected"><?php echo $display?></option><?php 194 198 }//end if 195 199 ?> … … 380 384 if(!$queryresult) reportError(310,"Error Retrieving Roles"); 381 385 ?><select id="<?php echo $name?>" name="<?php echo $name?>"> 382 <option value="0" <?php if($selected==0) echo "selected "?>>EVERYONE</option>386 <option value="0" <?php if($selected==0) echo "selected=\"selected\""?>>EVERYONE</option> 383 387 <?php while($therecord=mysql_fetch_array($queryresult)){ ?> 384 <option value="<?php echo $therecord["id"]?>" <?php if($selected==$therecord["id"]) echo "selected "?>><?php echo $therecord["name"]?></option>388 <option value="<?php echo $therecord["id"]?>" <?php if($selected==$therecord["id"]) echo "selected=\"selected\""?>><?php echo $therecord["name"]?></option> 385 389 <?php }?> 386 <option value="-100" <?php if($selected==-100) echo "selected "?>>Administrators</option>390 <option value="-100" <?php if($selected==-100) echo "selected=\"selected\""?>>Administrators</option> 387 391 </select><?php 388 392 } -
trunk/phpbms/include/jstransport.php
r193 r205 39 39 40 40 41 if(isset($_SESSION["include _js"])){42 echo $_SESSION["include_js"];43 $_SESSION["include _js"]="";41 if(isset($_SESSION["includedJS"])){ 42 echo "\n\n".$_SESSION["includedJS"]; 43 $_SESSION["includedJS"]=""; 44 44 } 45 45 ?> -
trunk/phpbms/include/print_class.php
r204 r205 181 181 foreach($fieldlist as $field){ 182 182 echo "<option value=\"".$field."\""; 183 if($field=="id") echo "selected ";183 if($field=="id") echo "selected=\"selected\""; 184 184 echo ">".$field."</option>\n"; 185 185 } -
trunk/phpbms/include/search_class.php
r204 r205 90 90 ?> 91 91 <script language="JavaScript" type="text/javascript">selIDs=new Array();</script> 92 <input name="newsort" type="hidden" value="" /><table cellspacing= 0 cellpadding=0 border=0class="querytable" id="queryresults"><tr>92 <input name="newsort" type="hidden" value="" /><table cellspacing="0" cellpadding="0" border="0" class="querytable" id="queryresults"><tr> 93 93 <?php 94 94 $columncount=count($this->thecolumns); … … 96 96 97 97 foreach ($this->thecolumns as $therow){ ?> 98 <th nowrap align="<?php echo $therow["align"]?>" <?php if($therow["size"]) echo "width=\"".$therow["size"]."\" ";?> >98 <th nowrap="nowrap" align="<?php echo $therow["align"]?>" <?php if($therow["size"]) echo "width=\"".$therow["size"]."\" ";?> > 99 99 <input name="sortit<?php echo $i?>" type="hidden" value="<?php echo $therow["name"]?>" /> 100 100 <a href="/" onclick="doSort(<?php echo $i?>);return false;"><?php echo $therow["name"]?></a> … … 134 134 135 135 foreach($this->thecolumns as $thecolumn){ 136 ?><td align="<?php echo $thecolumn["align"]?>" <?php if(!$thecolumn["wrap"]) echo "nowrap "?>><?php echo (($therecord[$thecolumn["name"]]!=="")?formatVariable($therecord[$thecolumn["name"]],$thecolumn["format"]):" ")?></td><?php136 ?><td align="<?php echo $thecolumn["align"]?>" <?php if(!$thecolumn["wrap"]) echo "nowrap=\"nowrap\""?>><?php echo (($therecord[$thecolumn["name"]]!=="")?formatVariable($therecord[$thecolumn["name"]],$thecolumn["format"]):" ")?></td><?php 137 137 } 138 138 ?></tr><?php … … 144 144 function displayNoResults(){ 145 145 $i=count($this->thecolumns);?> 146 <tr><td colspan="<?php echo $i?>" align= centerstyle="padding:0px;">146 <tr><td colspan="<?php echo $i?>" align="center" style="padding:0px;"> 147 147 <?php if(!$this->sqlerror) {?> 148 148 <div class="norecords">No Records to Display</div> … … 392 392 393 393 ?> 394 <form name="search" id="search" method="post" action="<?php echo $_SERVER["PHP_SELF"]?>?id=<?php echo $this->thetabledef["id"]?>" on Submit="setSelIDs(this);return true;">394 <form name="search" id="search" method="post" action="<?php echo $_SERVER["PHP_SELF"]?>?id=<?php echo $this->thetabledef["id"]?>" onsubmit="setSelIDs(this);return true;"> 395 395 <input id="tabledefid" name="tabledefid" type="hidden" value="<?php echo $this->thetabledef["id"]?>" /> 396 396 <input id="theids" name="theids" type="hidden" value="" /> … … 405 405 ?> 406 406 <ul class="tabs"> 407 <li id="basicSearchT" class="tabsSel"><a href="/" on Click="switchSearchTabs(this);return false">basic</a></li>408 <?php if(hasRights($this->thetabledef["advsearchroleid"])){?><li id="advancedSearchT"><a href="/" on Click="switchSearchTabs(this,'<?php echo $_SESSION["app_path"]?>');return false">advanced</a></li><?php } //end access ?>409 <li id="loadSearchT"><a href="/" on Click="switchSearchTabs(this,'<?php echo $_SESSION["app_path"]?>');return false">load search</a></li>410 <li id="saveSearchT"><a href="/" on Click="switchSearchTabs(this,'<?php echo $_SESSION["app_path"]?>');return false">save search</a></li>411 <li id="advancedSortT"><a href="/" on Click="switchSearchTabs(this,'<?php echo $_SESSION["app_path"]?>');return false">sorting</a></li>407 <li id="basicSearchT" class="tabsSel"><a href="/" onclick="switchSearchTabs(this);return false">basic</a></li> 408 <?php if(hasRights($this->thetabledef["advsearchroleid"])){?><li id="advancedSearchT"><a href="/" onclick="switchSearchTabs(this,'<?php echo $_SESSION["app_path"]?>');return false">advanced</a></li><?php } //end access ?> 409 <li id="loadSearchT"><a href="/" onclick="switchSearchTabs(this,'<?php echo $_SESSION["app_path"]?>');return false">load search</a></li> 410 <li id="saveSearchT"><a href="/" onclick="switchSearchTabs(this,'<?php echo $_SESSION["app_path"]?>');return false">save search</a></li> 411 <li id="advancedSortT"><a href="/" onclick="switchSearchTabs(this,'<?php echo $_SESSION["app_path"]?>');return false">sorting</a></li> 412 412 </ul> 413 413 <div class="box" id="searchBox"> … … 415 415 <table cellpadding="0" cellspacing="0" border="0"> 416 416 <tr> 417 <td nowrap valign="top">417 <td nowrap="nowrap" valign="top"> 418 418 <p> 419 419 <label for="find">find</label><br /> … … 423 423 if(hasRights($this->findoptions[$i]["roleid"])){ 424 424 ?><option value="<?php echo $this->findoptions[$i]["name"]?>"<?php 425 if($this->querytype=="search" and $this->findoptions[$i]["name"]==$this->savedfindoptions) echo "selected ";425 if($this->querytype=="search" and $this->findoptions[$i]["name"]==$this->savedfindoptions) echo "selected=\"selected\""; 426 426 ?>><?php echo $this->findoptions[$i]["name"]?></option><?php 427 427 } … … 431 431 </p> 432 432 </td> 433 <td nowrap valign=top>433 <td nowrap="nowrap" valign="top"> 434 434 <p> 435 435 <label for="startswithfield">where</label><br /> … … 439 439 echo "<option value=\"".$this->searchablefields[$i]["id"]."\" "; 440 440 if(!isset($this->savedstartswithfield)){ 441 if($this->querytype!="search" and $i==0) echo "selected ";441 if($this->querytype!="search" and $i==0) echo "selected=\"selected\""; 442 442 } else { 443 if($this->querytype=="search" and addslashes($this->searchablefields[$i]["id"])==$this->savedstartswithfield) echo "selected ";443 if($this->querytype=="search" and addslashes($this->searchablefields[$i]["id"])==$this->savedstartswithfield) echo "selected=\"selected\""; 444 444 } 445 445 echo ">".$this->searchablefields[$i]["name"]."</option>\n"; … … 449 449 </p> 450 450 </td> 451 <td width="100%" nowrap valign="top" >451 <td width="100%" nowrap="nowrap" valign="top" > 452 452 <p><label for="startswith">starts with</label><br /> 453 453 <input id="startswith" name="startswith" type="text" value="<?php if($this->querytype=="search" and isset($this->savedstartswith)) echo str_replace("\"",""",stripslashes($this->savedstartswith))?>" size="35" maxlength="128" /><script language="JavaScript" type="text/javascript">setMainFocus()</script> 454 454 </p> 455 455 </td> 456 <td align="left" valign="top" nowrap class="small">456 <td align="left" valign="top" nowrap="nowrap" class="small"> 457 457 <p> 458 458 <br /> … … 462 462 </tr> 463 463 <tr> 464 <td colspan="3" align="left" valign= middle nowrap>464 <td colspan="3" align="left" valign="middle" nowrap="nowrap"> 465 465 <p> 466 466 <select name="Selection"> 467 <option value="new" <?php if ($this->querytype!="search" or ($this->querytype=="search" and $this->savedselection=="new") ) echo "selected "?> >new result</option>468 <option value="add" <?php if ($this->querytype=="search" and $this->savedselection=="add")echo "selected "?>>add to result</option>469 <option value="remove" <?php if ($this->querytype=="search" and $this->savedselection=="remove")echo " checked"?>>remove from result</option>470 <option value="narrow" <?php if ($this->querytype=="search" and $this->savedselection=="narrow")echo " checked"?>>narrow result</option>471 </select></p> 472 <td align="left" valign= top nowrap ><p><input name="command" type="submit" id="reset" class="smallButtons" value="reset" accesskey="t" title="(alt+t)"/></p></td>467 <option value="new" <?php if ($this->querytype!="search" or ($this->querytype=="search" and $this->savedselection=="new") ) echo "selected=\"selected\""?> >new result</option> 468 <option value="add" <?php if ($this->querytype=="search" and $this->savedselection=="add")echo "selected=\"selected\""?>>add to result</option> 469 <option value="remove" <?php if ($this->querytype=="search" and $this->savedselection=="remove")echo "selected=\"selected\""?>>remove from result</option> 470 <option value="narrow" <?php if ($this->querytype=="search" and $this->savedselection=="narrow")echo "selected=\"selected\""?>>narrow result</option> 471 </select></p></td> 472 <td align="left" valign="top" nowrap="nowrap"><p><input name="command" type="submit" id="reset" class="smallButtons" value="reset" accesskey="t" title="(access key+t)"/></p></td> 473 473 </tr> 474 474 </table> … … 482 482 <p><label for="saveSearchName">save current search as</label> 483 483 <br /> 484 <input id="saveSearchName" name="saveSearchName" type="text" value="" size="35" maxlength="128" on KeyUp="enableSave(this)" />484 <input id="saveSearchName" name="saveSearchName" type="text" value="" size="35" maxlength="128" onkeyup="enableSave(this)" /> 485 485 </p> 486 486 </td> … … 488 488 <p> 489 489 <br /> 490 <input id="saveSearch" on Click="saveMySearch('<?php echo $_SESSION["app_path"] ?>')" disabled="true" type="button" class="Buttons" value="save search" />490 <input id="saveSearch" onclick="saveMySearch('<?php echo $_SESSION["app_path"] ?>')" disabled="disabled" type="button" class="Buttons" value="save search" /> 491 491 </p> 492 492 </td> … … 530 530 echo "<div>records: ".$this->numrows."</div>"; 531 531 else {?> 532 <input name="offset" type="hidden" value="" ><select name="offsetselector" onchange="this.form.offset.value=this.value;this.form.submit();">532 <input name="offset" type="hidden" value="" /><select name="offsetselector" onchange="this.form.offset.value=this.value;this.form.submit();"> 533 533 <?php 534 534 $displayedoffset=0; 535 535 while($displayedoffset<$this->truecount){ 536 ?><option value="<?php echo $displayedoffset?>" <?php if($displayedoffset==$this->recordoffset) echo "selected ";?>><?php echo ($displayedoffset+1)?>-<?php if($displayedoffset+$_SESSION["record_limit"]<$this->truecount) echo ($displayedoffset+$_SESSION["record_limit"]); else echo $this->truecount;?></option><?php536 ?><option value="<?php echo $displayedoffset?>" <?php if($displayedoffset==$this->recordoffset) echo "selected=\"selected\"";?>><?php echo ($displayedoffset+1)?>-<?php if($displayedoffset+$_SESSION["record_limit"]<$this->truecount) echo ($displayedoffset+$_SESSION["record_limit"]); else echo $this->truecount;?></option><?php 537 537 $displayedoffset+=$_SESSION["record_limit"]; 538 538 } … … 543 543 } 544 544 if(($this->numrows+$this->recordoffset)<$this->truecount){ 545 ?><button type="button" class="graphicButtons buttonFF" on Click="document.search.offset.value=<?php echo $this->recordoffset+$_SESSION["record_limit"] ?>;document.search.submit();"><span>next</span></button><?php545 ?><button type="button" class="graphicButtons buttonFF" onclick="document.search.offset.value=<?php echo $this->recordoffset+$_SESSION["record_limit"] ?>;document.search.submit();"><span>next</span></button><?php 546 546 } 547 547 … … 552 552 if ($this->tableoptions["new"]["allowed"] && hasRights($this->tableoptions["new"]["roleid"])) 553 553 { 554 ?><button type="button" accesskey="n" class="graphicButtons buttonNew" on Click="addRecord()" title="new (alt+n)"><span>new</span></button><?php554 ?><button type="button" accesskey="n" class="graphicButtons buttonNew" onclick="addRecord()" title="new (alt+n)"><span>new</span></button><?php 555 555 } 556 556 557 557 if($this->numrows) { 558 558 if ($this->tableoptions["edit"]["allowed"] && hasRights($this->tableoptions["edit"]["roleid"])) { 559 ?><button id="edit" accesskey="e" type="button" disabled=" true" class="graphicButtons buttonEditDisabled" onClick="editThis()" title="edit (alt+e)"><span>edit</span></button><?php559 ?><button id="edit" accesskey="e" type="button" disabled="disabled" class="graphicButtons buttonEditDisabled" onclick="editThis()" title="edit (alt+e)"><span>edit</span></button><?php 560 560 } 561 561 562 562 if($this->tableoptions["printex"]["allowed"] && hasRights($this->tableoptions["printex"]["roleid"])){ 563 ?><button id="print" accesskey="p" type="submit" disabled=" true" class="graphicButtons buttonPrintDisabled" name="doprint" title="print (alt+p)"><span>print</span></button><?php563 ?><button id="print" accesskey="p" type="submit" disabled="disabled" class="graphicButtons buttonPrintDisabled" name="doprint" title="print (alt+p)"><span>print</span></button><?php 564 564 } 565 565 566 566 if($this->thetabledef["deletebutton"] == "delete") { 567 ?><button id="delete" name="dodelete" accesskey="d" type="button" title="delete (alt+d)" disabled=" true" onClick="confirmDelete('delete')" class="graphicButtons buttonDeleteDisabled"><span>delete</span></button><?php567 ?><button id="delete" name="dodelete" accesskey="d" type="button" title="delete (alt+d)" disabled="disabled" onclick="confirmDelete('delete')" class="graphicButtons buttonDeleteDisabled"><span>delete</span></button><?php 568 568 } 569 569 570 570 if($this->tableoptions["othercommands"] || ($this->thetabledef["deletebutton"] != "delete" && $this->thetabledef["deletebutton"] != "NA") ){?> 571 <select id="othercommands" name="othercommands" disabled= trueonchange="chooseOtherCommand(this)">572 <option value="" selected class="choiceListBlank">commands...</option>571 <select id="othercommands" name="othercommands" disabled="disabled" onchange="chooseOtherCommand(this)"> 572 <option value="" selected="selected" class="choiceListBlank">commands...</option> 573 573 <?php if($this->thetabledef["deletebutton"] != "delete" && $this->thetabledef["deletebutton"] != "NA") {?> 574 574 <option value="delete_record" class="important"><?php echo $this->thetabledef["deletebutton"]?></option> … … 586 586 <option class="choiceListBlank" value="">selection...</option> 587 587 <option value="">_____________</option> 588 <option value="selectall" title="(a lt+a)">select all</option>589 <option value="selectnone" title="(a lt+x)">select none</option>588 <option value="selectall" title="(access key+a)">select all</option> 589 <option value="selectnone" title="(access key+x)">select none</option> 590 590 <option value="">_____________</option> 591 <option value="keepselected" title="(a lt+k)">keep selected</option>592 <option value="omitselected" title="(a lt+o)" >omit selected</option>593 </select><a href="/" on Click="changeSelection('selectall');return false;" accesskey="a" tabindex="0"></a><a href="/" onClick="changeSelection('selectnone');return false;" accesskey="x" tabindex="0"></a><a href="/" onClick="changeSelection('keepselected');return false;" accesskey="k" tabindex="0"></a><a href="/" onClick="changeSelection('omitselected');return false;" accesskey="o" tabindex="0"></a><?php }591 <option value="keepselected" title="(access key+k)">keep selected</option> 592 <option value="omitselected" title="(access key+o)" >omit selected</option> 593 </select><a href="/" onclick="changeSelection('selectall');return false;" accesskey="a" tabindex="0"></a><a href="/" onclick="changeSelection('selectnone');return false;" accesskey="x" tabindex="0"></a><a href="/" onclick="changeSelection('keepselected');return false;" accesskey="k" tabindex="0"></a><a href="/" onclick="changeSelection('omitselected');return false;" accesskey="o" tabindex="0"></a><?php } 594 594 595 595 }//end if numrows … … 634 634 if (mysql_num_rows($queryresult)) { 635 635 ?><div class="small box" style="margin:0px;margin-top:3px;"> 636 relate selected records to <select id="relationship" name="relationship" onchange="setSelIDs(this.form);this.form.submit();" disabled=" true">637 <option value="" selected class="choiceListBlank">area...</option><?php636 relate selected records to <select id="relationship" name="relationship" onchange="setSelIDs(this.form);this.form.submit();" disabled="disabled"> 637 <option value="" selected="selected" class="choiceListBlank">area...</option><?php 638 638 while($therecord = mysql_fetch_array($queryresult)){ 639 639 ?><option value="<?php echo $therecord["id"]?>"><?php echo $therecord["name"]?></option><?php } -
trunk/phpbms/info.php
r204 r205 118 118 <?php if(!isset($_SESSION["app_path"])) {?> 119 119 <p align="right"> 120 <input type="button" value="Log In" class="Buttons" on Click="document.location='./'" id="loginButton"/>120 <input type="button" value="Log In" class="Buttons" onclick="document.location='./'" id="loginButton"/> 121 121 </p> 122 122 <?php } ?> -
trunk/phpbms/loadsearch.php
r204 r205 142 142 </td> 143 143 <td valign="top"> 144 <p><br/><input id="LSLoad" type="button" on Click="LSRunSearch()" class="Buttons" disabled="true" value="run search"/></p>145 <p><input id="LSDelete" type="button" on Click="LSDeleteSearch('<?php echo $basepath ?>')" class="Buttons" disabled="true" value="delete"/></p>144 <p><br/><input id="LSLoad" type="button" onclick="LSRunSearch()" class="Buttons" disabled="disabled" value="run search"/></p> 145 <p><input id="LSDelete" type="button" onclick="LSDeleteSearch('<?php echo $basepath ?>')" class="Buttons" disabled="disabled" value="delete"/></p> 146 146 <div id="LSResults"> </div> 147 147 </td> -
trunk/phpbms/menu.php
r204 r205 65 65 <div id="menuRighthandButtons"> 66 66 <?php echo htmlQuotes(trim($_SESSION["userinfo"]["firstname"]." ".$_SESSION["userinfo"]["lastname"]))?> 67 <button name="menuLogout" type="button" on Click="document.location=('<?php echo $_SESSION["app_path"]?>logout.php')" title="log out" class="smallButtons">log out</button>68 <button name="menuHelp" type="button" on Click="showHelp('<?php echo $_SESSION["app_path"]?>')" title="Help" class="smallButtons">?</button>67 <button name="menuLogout" type="button" onclick="document.location=('<?php echo $_SESSION["app_path"]?>logout.php')" title="log out" class="smallButtons">log out</button> 68 <button name="menuHelp" type="button" onclick="showHelp('<?php echo $_SESSION["app_path"]?>')" title="Help" class="smallButtons">?</button> 69 69 </div> 70 70 -
trunk/phpbms/modules/base/adminsettings.php
r204 r205 59 59 </head> 60 60 <body><?php include("../../menu.php")?><div class="bodyline"> 61 <form action="<?php echo $_SERVER["PHP_SELF"]?>" method="post" enctype="multipart/form-data" name="record" on Submit="return processForm(this);">61 <form action="<?php echo $_SERVER["PHP_SELF"]?>" method="post" enctype="multipart/form-data" name="record" onsubmit="return processForm(this);"> 62 62 63 63 <div id="topButtons"><input id="updateSettings1" name="command" type="submit" class="Buttons" value="Update Settings" /></div> … … 123 123 <p> 124 124 <input type="hidden" id="doencryptionupdate" name="doencryptionupdate" value=""/> 125 <input type="submit" id="updateSettings3" name="command" class="Buttons" value="Update Encryption Seed" disabled=" true" onclick="this.form['doencryptionupdate'].value=1"/>125 <input type="submit" id="updateSettings3" name="command" class="Buttons" value="Update Encryption Seed" disabled="disabled" onclick="this.form['doencryptionupdate'].value=1"/> 126 126 </p> 127 127 </fieldset> … … 238 238 ?> 239 239 <div class="box" id="footerbox"> 240 <input id="updateSettings 1" name="command" type="submit" class="Buttons" value="Update Settings" />240 <input id="updateSettings2" name="command" type="submit" class="Buttons" value="Update Settings" /> 241 241 </div> 242 242 </form> -
trunk/phpbms/modules/base/attachments_records.php
r204 r205 89 89 <h1><?php echo $pageTitle ?></h1> 90 90 <div> 91 <form name="search" id="search" action="<?php echo $_SERVER["REQUEST_URI"]?>" method="post" on Submit="setSelIDs(this);return true;">91 <form name="search" id="search" action="<?php echo $_SERVER["REQUEST_URI"]?>" method="post" onsubmit="setSelIDs(this);return true;"> 92 92 <input name="theids" type="hidden" value="" /> 93 93 <?php -
trunk/phpbms/modules/base/files_addedit.php
r204 r205 74 74 75 75 76 <form action="<?php echo htmlQuotes($_SERVER["REQUEST_URI"]) ?>" method="post" enctype="multipart/form-data" name="record" on Submit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onClick="return false;" /></div>76 <form action="<?php echo htmlQuotes($_SERVER["REQUEST_URI"]) ?>" method="post" enctype="multipart/form-data" name="record" onsubmit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onclick="return false;" /></div> 77 77 <div class="bodyline"> 78 78 <div id="topButtons"><?php showSaveCancel(1); ?></div> … … 84 84 <p> 85 85 <label for="id">id</label><br /> 86 <input id="id" name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly=" true" class="uneditable" />86 <input id="id" name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly="readonly" class="uneditable" /> 87 87 </p> 88 88 <p id="roleidP"> … … 112 112 <p> 113 113 <label for="type">file type </label><span class="notes">(MIME)</span><br /> 114 <input type="text" id="type" name="type" value="<?php echo htmlQuotes($therecord["type"])?>" size="64" maxlength="100" readonly=" true" class="uneditable" style="" />114 <input type="text" id="type" name="type" value="<?php echo htmlQuotes($therecord["type"])?>" size="64" maxlength="100" readonly="readonly" class="uneditable" style="" /> 115 115 </p> 116 116 <p> … … 121 121 <?php if(isset($_GET["tabledefid"])){?> 122 122 <p><br /> 123 <input class="radiochecks" type="radio" name="newexisting" id="newfile" value="new" checked="checked" onclick="switchFile()" /><label for="newfile">new file</label> 123 <input class="radiochecks" type="radio" name="newexisting" id="newfile" value="new" checked="checked" onclick="switchFile()" /><label for="newfile">new file</label> 124 124 <input type="radio" class="radiochecks" name="newexisting" id="existingfile" value="existing" onclick="switchFile()" /><label for="existingfile">existing file</label><br /> 125 125 <span class="notes">Choose "existing file" if the file has already been uploaded into phpBMS.</span> … … 157 157 <tr> 158 158 <th align="left">table</th> 159 <th align="left" nowrap >ID</th>159 <th align="left" nowrap="nowrap">ID</th> 160 160 <th align="right" width="99%">attached</th> 161 <th align="left" nowrap > </th>161 <th align="left" nowrap="nowrap"> </th> 162 162 </tr> 163 163 <?php … … 165 165 ?> 166 166 <tr> 167 <td nowrap ><?php echo $attachmentrecord["displayname"] ?></td>167 <td nowrap="nowrap"><?php echo $attachmentrecord["displayname"] ?></td> 168 168 <td><?php echo $attachmentrecord["recordid"] ?></td> 169 169 <td align="right"><?php echo formatFromSQLDatetime($attachmentrecord["creationdate"]) ?></td> -
trunk/phpbms/modules/base/include/menu_addedit_include.php
r204 r205 48 48 while($therecord=mysql_fetch_array($thequery)){ 49 49 echo "<option value=\"search.php?id=".$therecord["id"]."\" "; 50 if ($selectedlink=="search.php?id=".$therecord["id"]) echo "selected ";50 if ($selectedlink=="search.php?id=".$therecord["id"]) echo "selected=\"selected\""; 51 51 echo " >".$therecord["displayname"]."</option>\n"; 52 52 } … … 63 63 echo "<select name=\"parentid\" id=\"parentid\">\n"; 64 64 echo "<option value=\"0\" "; 65 if ($selectedpid=="0") echo "selected ";65 if ($selectedpid=="0") echo "selected=\"selected\""; 66 66 echo " >-- none --</option>\n"; 67 67 while($therecord=mysql_fetch_array($thequery)){ 68 68 echo "<option value=\"".$therecord["id"]."\" "; 69 if ($selectedpid==$therecord["id"]) echo "selected ";69 if ($selectedpid==$therecord["id"]) echo "selected=\"selected\""; 70 70 echo " >".$therecord["name"]."</option>\n"; 71 71 } -
trunk/phpbms/modules/base/include/relationships_addedit_include.php
r204 r205 49 49 while($therecord=mysql_fetch_array($thequery)){ 50 50 echo " <option value=\"".$therecord["id"]."\""; 51 if($selectedid==$therecord["id"]) echo " selected ";51 if($selectedid==$therecord["id"]) echo " selected=\"selected\""; 52 52 echo ">".$therecord["displayname"]."</option>\n"; 53 53 } -
trunk/phpbms/modules/base/include/reports_addedit_include.php
r204 r205 50 50 51 51 echo "<option value=\"0\" "; 52 if ($selectedid=="0") echo "selected ";52 if ($selectedid=="0") echo "selected=\"selected\""; 53 53 echo " style=\"font-weight:bold\">global</option>\n"; 54 54 55 55 while($therecord=mysql_fetch_array($thequery)){ 56 56 echo " <option value=\"".$therecord["id"]."\""; 57 if($selectedid==$therecord["id"]) echo " selected ";57 if($selectedid==$therecord["id"]) echo " selected=\"selected\""; 58 58 echo ">".$therecord["displayname"]."</option>\n"; 59 59 } -
trunk/phpbms/modules/base/include/snapshot_include.php
r204 r205 120 120 <input type="hidden" id="TSprivate<?php echo $therecord["id"]?>" value="<?php echo $therecord["private"]?>"/> 121 121 <input type="hidden" id="TSispastdue<?php echo $therecord["id"]?>" value="<?php echo $therecord["ispastdue"]?>"/> 122 <input class="radiochecks" id="TSC<?php echo $therecord["id"]?>" name="TSC<?php echo $therecord["id"]?>" type="checkbox" value="1" <?php if($therecord["completed"]) echo "checked "?> onClick="checkTask(<?php echo $therecord["id"]?>,'<?php echo $therecord["type"]?>')" align="middle"/>122 <input class="radiochecks" id="TSC<?php echo $therecord["id"]?>" name="TSC<?php echo $therecord["id"]?>" type="checkbox" value="1" <?php if($therecord["completed"]) echo "checked=\"checked\""?> onclick="checkTask(<?php echo $therecord["id"]?>,'<?php echo $therecord["type"]?>')" align="middle"/> 123 123 <a href="<?php echo getAddEditFile(12)."?id=".$therecord["id"]?>&backurl=snapshot.php"><?php echo htmlQuotes($therecord["subject"])?></a> 124 124 <?php if($type=="Tasks") if($therecord["enddate"]) {?><em class="small">(<?php echo htmlQuotes(formatFromSQLDate($therecord["enddate"])) ?>)</em><?php } ?> … … 140 140 ?><table border="0" cellspacing="0" cellpadding="0" width="100%"><?php 141 141 for($i=0;$i<7;$i++){ 142 ?><tr><td colspan= 2class="eventDayName"><?php echo $today.strftime("%A",$theday); if($today){echo ")"; $today="";}?></td></tr><?php142 ?><tr><td colspan="2" class="eventDayName"><?php echo $today.strftime("%A",$theday); if($today){echo ")"; $today="";}?></td></tr><?php 143 143 $donext=true; 144 144 … … 154 154 } 155 155 ?><tr> 156 <td class="small event" nowrap valign="top"><?php echo $times?></td>156 <td class="small event" nowrap="nowrap" valign="top"><?php echo $times?></td> 157 157 <td class="small event" valign="top" width="100%"><a href="<?php echo getAddEditFile(12)."?id=".$therecord["id"]?>&backurl=snapshot.php"><?php echo htmlQuotes($therecord["subject"])?></a></td> 158 158 </tr><?php 159 159 } 160 160 } else { 161 ?><tr><td colspan= 2class="small event disabledtext">no events</td></tr><?php161 ?><tr><td colspan="2" class="small event disabledtext">no events</td></tr><?php 162 162 } 163 163 -
trunk/phpbms/modules/base/include/usersearches_edit_include.php
r204 r205 49 49 while($therecord=mysql_fetch_array($thequery)){ 50 50 echo " <option value=\"".$therecord["id"]."\""; 51 if($selectedid==$therecord["id"]) echo " selected ";51 if($selectedid==$therecord["id"]) echo " selected=\"selected\""; 52 52 echo ">".$therecord["displayname"]."</option>\n"; 53 53 } -
trunk/phpbms/modules/base/javascript/notes.js
r204 r205 488 488 var theURL=base+"modules/base/notes_ajax.php?cm=sendemail&id="+theid.value; 489 489 loadXMLDoc(theURL,null,false); 490 content=req.responseText+"<DIV align=\"right\"><button class=\"Buttons\" on Click=\"closeModal()\" style=\"width:75px\"> ok </button></DIV>";490 content=req.responseText+"<DIV align=\"right\"><button class=\"Buttons\" onclick=\"closeModal()\" style=\"width:75px\"> ok </button></DIV>"; 491 491 var modalcontent=getObjectFromID("modalContent"); 492 492 modalcontent.innerHTML=content; -
trunk/phpbms/modules/base/menu_addedit.php
r204 r205 55 55 </head> 56 56 <body><?php include("../../menu.php")?> 57 <form action="<?php echo $_SERVER["REQUEST_URI"] ?>" method="post" name="record" on Submit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onClick="return false;" /></div>57 <form action="<?php echo $_SERVER["REQUEST_URI"] ?>" method="post" name="record" onsubmit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onclick="return false;" /></div> 58 58 <div class="bodyline"> 59 59 <div id="topButtons"> … … 66 66 <p> 67 67 <label for="id">id</label><br /> 68 <input id="id" name="id" type="text" value="<?php echo htmlQuotes($therecord["id"]); ?>" size="10" maxlength="10" readonly=" true" class="uneditable" />68 <input id="id" name="id" type="text" value="<?php echo htmlQuotes($therecord["id"]); ?>" size="10" maxlength="10" readonly="readonly" class="uneditable" /> 69 69 </p> 70 70 … … 92 92 <legend>type</legend> 93 93 <p class="typeP"> 94 <input type="radio" id="type1" value="cat" <?php if($therecord["link"]=="") echo "checked " ?> name="radio" onClick="showTypeDetails();" class="radiochecks" /><label for="type1">category</label><br />94 <input type="radio" id="type1" value="cat" <?php if($therecord["link"]=="") echo "checked=\"checked\"" ?> name="radio" onclick="showTypeDetails();" class="radiochecks" /><label for="type1">category</label><br /> 95 95 <img src="menu-example-category.png" width="150" height="72" class="typeImage" alt="category" /> 96 96 </p> 97 97 98 98 <p class="typeP"> 99 <input type="radio" id="type2" value="search" <?php if(strpos($therecord["link"],"search.php?id=")!==false) echo "checked " ?> name="radio" onClick="showTypeDetails();" class="radiochecks" /><label for="type2">table definition search</label><br />99 <input type="radio" id="type2" value="search" <?php if(strpos($therecord["link"],"search.php?id=")!==false) echo "checked=\"checked\"" ?> name="radio" onclick="showTypeDetails();" class="radiochecks" /><label for="type2">table definition search</label><br /> 100 100 <img src="menu-example-tabledef.png" width="150" height="72" class="typeImage" alt="table definition search" /> 101 101 </p> 102 102 103 103 <p> 104 <input type="radio" id="type3" value="link" <?php if(strpos($therecord["link"],"search.php?id=")===false && $therecord["link"]!="") echo "checked " ?> name="radio" onClick="showTypeDetails();" class="radiochecks" /><label for="type3">page link</label><br />104 <input type="radio" id="type3" value="link" <?php if(strpos($therecord["link"],"search.php?id=")===false && $therecord["link"]!="") echo "checked=\"checked\"" ?> name="radio" onclick="showTypeDetails();" class="radiochecks" /><label for="type3">page link</label><br /> 105 105 <img src="menu-example-link.png" width="150" height="72" class="typeImage" alt="page link" /> 106 106 </p> -
trunk/phpbms/modules/base/modules_view.php
r204 r205 57 57 <body><?php include("../../menu.php")?> 58 58 59 <form action="<?php echo $_SERVER["PHP_SELF"] ?>" method="post" name="record" on Submit="return validateForm(this);">59 <form action="<?php echo $_SERVER["PHP_SELF"] ?>" method="post" name="record" onsubmit="return validateForm(this);"> 60 60 <div class="bodyline"> 61 61 <h1 id="topTitle"><span><?php echo $pageTitle ?></span></h1> … … 65 65 <p> 66 66 <label for="id">id</label><br /> 67 <input id="id" name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly=" true" class="uneditable"/>67 <input id="id" name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly="readonly" class="uneditable"/> 68 68 </p> 69 69 <p> 70 70 <label for="version">version</label><br /> 71 <input id="version" name="version" type="text" value="<?php echo $therecord["version"]; ?>" size="8" maxlength="8" readonly=" true" class="uneditable" />71 <input id="version" name="version" type="text" value="<?php echo $therecord["version"]; ?>" size="8" maxlength="8" readonly="readonly" class="uneditable" /> 72 72 </p> 73 73 </fieldset> … … 78 78 <p> 79 79 <label for="displayname">name</label><br /> 80 <input id="displayname" name="displayname" type="text" value="<?php echo htmlQuotes($therecord["displayname"]); ?>" size="45" maxlength="128" readonly=" true" class="uneditable" />80 <input id="displayname" name="displayname" type="text" value="<?php echo htmlQuotes($therecord["displayname"]); ?>" size="45" maxlength="128" readonly="readonly" class="uneditable" /> 81 81 </p> 82 82 83 83 <p> 84 84 <label for="name">folder name/location</label><br /> 85 <input id="name" name="name" type="text" value="<?php echo htmlQuotes($therecord["name"]); ?>" size="64" maxlength="128" readonly=" true" class="uneditable" />85 <input id="name" name="name" type="text" value="<?php echo htmlQuotes($therecord["name"]); ?>" size="64" maxlength="128" readonly="readonly" class="uneditable" /> 86 86 </p> 87 87 </fieldset> -
trunk/phpbms/modules/base/myaccount.php
r204 r205 55 55 </head> 56 56 <body><?php include("../../menu.php")?><div class="bodyline"> 57 <form action="<?php echo $_SERVER["PHP_SELF"]?>" method="post" name="record" id="record" on Submit="return false">57 <form action="<?php echo $_SERVER["PHP_SELF"]?>" method="post" name="record" id="record" onsubmit="return false"> 58 58 <input type="hidden" id="command" name="command" value=""/> 59 59 -
trunk/phpbms/modules/base/notes_addedit.php
r204 r205 63 63 <body ><?php include("../../menu.php")?> 64 64 65 <form action="<?php echo htmlQuotes($_SERVER["REQUEST_URI"]) ?>" method="post" name="record" on Submit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onClick="return false;" /></div>65 <form action="<?php echo htmlQuotes($_SERVER["REQUEST_URI"]) ?>" method="post" name="record" onsubmit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onclick="return false;" /></div> 66 66 <div class="bodyline"> 67 67 <div id="topButtons"><?php showSaveCancel(1); ?></div> … … 72 72 <p id="idP"> 73 73 <label for="id">id</label><br/> 74 <input name="id" id="id" type="text" value="<?php echo $therecord["id"]; ?>" size="8" maxlength="8" readonly=" true" class="uneditable"/>74 <input name="id" id="id" type="text" value="<?php echo $therecord["id"]; ?>" size="8" maxlength="8" readonly="readonly" class="uneditable"/> 75 75 <input name="parentid" id="parentid" type="hidden" value="<?php echo $therecord["parentid"]; ?>" /> 76 76 <input name="thebackurl" id="thebackurl" type="hidden" value="<?php if(isset($_GET["backurl"])) echo $_GET["backurl"]; ?>" /> … … 102 102 <p> 103 103 <label for="startdate" id="starttext">start</label><br /> 104 <input name="dostart" id="startcheck" type="checkbox" value="1" <?php if($therecord["startdate"]) echo "checked " ?> onClick="dateChecked('start')" class="radiochecks" />104 <input name="dostart" id="startcheck" type="checkbox" value="1" <?php if($therecord["startdate"]) echo "checked=\"checked\"" ?> onclick="dateChecked('start')" class="radiochecks" /> 105 105 <?php fieldDatePicker("startdate",$therecord["startdate"],0,"",Array("size"=>"11","maxlength"=>"15","onchange"=>"checkEndDate();setEnglishDates()"));?> 106 106 <?php fieldTimePicker("starttime",$therecord["starttime"],0,"",Array("size"=>"11","maxlength"=>"15","onchange"=>"checkEndDate()"));?> … … 108 108 <p> 109 109 <label for="enddate" id="endtext">end</label><br /> 110 <input name="doend" id="endcheck" type="checkbox" value="1" <?php if($therecord["enddate"]) echo "checked " ?> onClick="dateChecked('end')" class="radiochecks" />110 <input name="doend" id="endcheck" type="checkbox" value="1" <?php if($therecord["enddate"]) echo "checked=\"checked\"" ?> onclick="dateChecked('end')" class="radiochecks" /> 111 111 <?php fieldDatePicker("enddate",$therecord["enddate"],0,"",Array("size"=>"11","maxlength"=>"15"));?> 112 112 <?php fieldTimePicker("endtime",$therecord["endtime"],0,"",Array("size"=>"11","maxlength"=>"15"));?> … … 140 140 <?php if($therecord["assignedbyid"]==$_SESSION["userinfo"]["id"]){?> 141 141 <p> 142 <button type="button" id="sendemailnotice" class="Buttons" on Click="sendEmailNotice('<?php echo $_SESSION["app_path"]?>')">send e-mail notice</button>142 <button type="button" id="sendemailnotice" class="Buttons" onclick="sendEmailNotice('<?php echo $_SESSION["app_path"]?>')">send e-mail notice</button> 143 143 </p> 144 144 <?php } }?> … … 155 155 <p> 156 156 <label for="assocarea">area</label><br /> 157 <input id="assocarea" type="text" readonly=" true" class="uneditable" value="<?php echo $attachedtableinfo["displayname"];?>" />157 <input id="assocarea" type="text" readonly="readonly" class="uneditable" value="<?php echo $attachedtableinfo["displayname"];?>" /> 158 158 </p> 159 159 … … 161 161 <p> 162 162 <label for="attachedid">record id</label><br /> 163 <input id="attachedid " name="attachedid" type="text" readonly=" true" class="uneditable" value="<?php echo $therecord["attachedid"]?>" size="6" /> 163 <input id="attachedid " name="attachedid" type="text" readonly="readonly" class="uneditable" value="<?php echo $therecord["attachedid"]?>" size="6" /> 164 164 <input name="link" type="button" class="Buttons" value=" go to record " onclick="document.location='<?php echo $_SESSION["app_path"]?><?php echo $attachedtableinfo["editfile"]."?id=".$therecord["attachedid"]; ?>'" /> 165 165 </> … … 185 185 <legend><label for="content">memo</label></legend> 186 186 <p align="right" id="timeStampDiv"> 187 <button id="timeStampButton" type="button" class="graphicButtons buttonTimeStamp" on Click="timeStamp();">Time Stamp</button>187 <button id="timeStampButton" type="button" class="graphicButtons buttonTimeStamp" onclick="timeStamp();">Time Stamp</button> 188 188 </p> 189 189 <p> … … 209 209 ?> 210 210 <select id="repeattype" name="repeattype" onchange="changeRepeatType();"> 211 <option value="Daily" <?php if ($therecord["repeattype"]=="repeatDaily") echo "selected "?>>Day<?php echo $plural?></option>212 <option value="Weekly" <?php if ($therecord["repeattype"]=="repeatWeekly") echo "selected "?>>Week<?php echo $plural?></option>213 <option value="Monthly" <?php if (substr($therecord["repeattype"],0,13)=="repeatMonthly") echo "selected "?>>Month<?php echo $plural?></option>214 <option value="Yearly" <?php if ($therecord["repeattype"]=="repeatYearly") echo "selected "?>>Year<?php echo $plural?></option>211 <option value="Daily" <?php if ($therecord["repeattype"]=="repeatDaily") echo "selected=\"selected\""?>>Day<?php echo $plural?></option> 212 <option value="Weekly" <?php if ($therecord["repeattype"]=="repeatWeekly") echo "selected=\"selected\""?>>Week<?php echo $plural?></option> 213 <option value="Monthly" <?php if (substr($therecord["repeattype"],0,13)=="repeatMonthly") echo "selected=\"selected\""?>>Month<?php echo $plural?></option> 214 <option value="Yearly" <?php if ($therecord["repeattype"]=="repeatYearly") echo "selected=\"selected\""?>>Year<?php echo $plural?></option> 215 215 </select><br /> <br /> 216 216 217 217 <p id="weeklyoptions" <?php if ($therecord["repeattype"]!="repeatweekly"){?>style="display:none;"<?php }?>> 218 <span id="wos" class="repeatWeekChecks"><input name="wosc" type="checkbox" value="s" <?php if(strpos(" ".$therecord["repeatdays"],"s",0)) echo "checked "?> class="radiochecks" />Sun</span>219 <span id="wom" class="repeatWeekChecks"><input name="womc" type="checkbox" value="m" <?php if(strpos(" ".$therecord["repeatdays"],"m",0)) echo "checked "?> class="radiochecks" />Mon</span>220 <span id="wot" class="repeatWeekChecks"><input name="wotc" type="checkbox" value="t" <?php if(strpos(" ".$therecord["repeatdays"],"t",0)) echo "checked "?> class="radiochecks" />Tue</span>221 <span id="wow" class="repeatWeekChecks"><input name="wowc" type="checkbox" value="w" <?php if(strpos(" ".$therecord["repeatdays"],"w",0)) echo "checked "?> class="radiochecks" />Wed</span>222 <span id="wor" class="repeatWeekChecks"><input name="worc" type="checkbox" value="r" <?php if(strpos(" ".$therecord["repeatdays"],"r",0)) echo "checked "?> class="radiochecks" />Thu</span>223 <span id="wof" class="repeatWeekChecks"><input name="wofc" type="checkbox" value="f" <?php if(strpos(" ".$therecord["repeatdays"],"f",0)) echo "checked "?> class="radiochecks" />Fri</span>224 <span id="woa" class="repeatWeekChecks"><input name="woac" type="checkbox" value="a" <?php if(strpos(" ".$therecord["repeatdays"],"a",0)) echo "checked "?> class="radiochecks" />Sat</span>218 <span id="wos" class="repeatWeekChecks"><input name="wosc" type="checkbox" value="s" <?php if(strpos(" ".$therecord["repeatdays"],"s",0)) echo "checked=\"checked\""?> class="radiochecks" />Sun</span> 219 <span id="wom" class="repeatWeekChecks"><input name="womc" type="checkbox" value="m" <?php if(strpos(" ".$therecord["repeatdays"],"m",0)) echo "checked=\"checked\""?> class="radiochecks" />Mon</span> 220 <span id="wot" class="repeatWeekChecks"><input name="wotc" type="checkbox" value="t" <?php if(strpos(" ".$therecord["repeatdays"],"t",0)) echo "checked=\"checked\""?> class="radiochecks" />Tue</span> 221 <span id="wow" class="repeatWeekChecks"><input name="wowc" type="checkbox" value="w" <?php if(strpos(" ".$therecord["repeatdays"],"w",0)) echo "checked=\"checked\""?> class="radiochecks" />Wed</span> 222 <span id="wor" class="repeatWeekChecks"><input name="worc" type="checkbox" value="r" <?php if(strpos(" ".$therecord["repeatdays"],"r",0)) echo "checked=\"checked\""?> class="radiochecks" />Thu</span> 223 <span id="wof" class="repeatWeekChecks"><input name="wofc" type="checkbox" value="f" <?php if(strpos(" ".$therecord["repeatdays"],"f",0)) echo "checked=\"checked\""?> class="radiochecks" />Fri</span> 224 <span id="woa" class="repeatWeekChecks"><input name="woac" type="checkbox" value="a" <?php if(strpos(" ".$therecord["repeatdays"],"a",0)) echo "checked=\"checked\""?> class="radiochecks" />Sat</span> 225 225 </p> 226 226 <p id="monthlyoptions" style=" <?php if (substr($therecord["repeattype"],0,13)!="repeatMonthly"){?>display:none;<?php }?>margin-bottom:5px;"> … … 229 229 </p> 230 230 <p id="rpuntilforever"> 231 <input id="rprduntilforever" class="radiochecks" name="rpuntil" type="radio" <?php if($therecord["repeattimes"]==0) echo "checked " ?> value="0" onClick="updateRepeatUntil()"/> <label for="rprduntilforever">forever</label>231 <input id="rprduntilforever" class="radiochecks" name="rpuntil" type="radio" <?php if($therecord["repeattimes"]==0) echo "checked=\"checked\"" ?> value="0" onclick="updateRepeatUntil()"/> <label for="rprduntilforever">forever</label> 232 232 </p> 233 233 <p id="rpuntiltimes"> 234 <input id="rprduntilftimes" class="radiochecks" name="rpuntil" type="radio" <?php if($therecord["repeattimes"]>0) echo "checked " ?> value="1" onClick="updateRepeatUntil()" /> <label for="rprduntilftimes">number of times</label> 234 <input id="rprduntilftimes" class="radiochecks" name="rpuntil" type="radio" <?php if($therecord["repeattimes"]>0) echo "checked=\"checked\"" ?> value="1" onclick="updateRepeatUntil()" /> <label for="rprduntilftimes">number of times</label> 235 235 <?php 236 236 $tempvalue=""; … … 244 244 </p> 245 245 <p id="rpuntildate"> 246 <input id="rprduntildate" class="radiochecks" name="rpuntil" type="radio" <?php if($therecord["repeattimes"]==-1) echo "checked " ?> value="-1" onClick="updateRepeatUntil()"/> <label for="rprduntildate">until</label> 246 <input id="rprduntildate" class="radiochecks" name="rpuntil" type="radio" <?php if($therecord["repeattimes"]==-1) echo "checked=\"checked\"" ?> value="-1" onclick="updateRepeatUntil()"/> <label for="rprduntildate">until</label> 247 247 <?php fieldDatePicker("repeatuntildate",$therecord["repeatuntildate"],0,"",Array("size"=>"11","maxlength"=>"15"));?> 248 248 </p> … … 260 260 (Any unsaved changes with the current record will be lost.) 261 261 </div> 262 <div><input id="goparent" name="goparent" type="button" value="Edit Repeating Options..." on Click="goParent('<?php echo getAddEditFile(12) ?>')" class="Buttons" /></div>262 <div><input id="goparent" name="goparent" type="button" value="Edit Repeating Options..." onclick="goParent('<?php echo getAddEditFile(12) ?>')" class="Buttons" /></div> 263 263 </fieldset> 264 264 <?php include("../../include/createmodifiedby.php"); ?> -
trunk/phpbms/modules/base/notes_records.php
r204 r205 90 90 <h1><?php echo $pageTitle ?></h1> 91 91 <div> 92 <form name="search" id="search" action="<?php echo $_SERVER["REQUEST_URI"]?>" method="post" on Submit="setSelIDs(this);return true;">92 <form name="search" id="search" action="<?php echo $_SERVER["REQUEST_URI"]?>" method="post" onsubmit="setSelIDs(this);return true;"> 93 93 <input name="theids" type="hidden" value="" /> 94 94 <?php -
trunk/phpbms/modules/base/relationships_addedit.php
r204 r205 54 54 </head> 55 55 <body><?php include("../../menu.php")?> 56 <form action="<?php echo $_SERVER["REQUEST_URI"] ?>" method="post" name="record" on Submit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onClick="return false;" /></div>56 <form action="<?php echo $_SERVER["REQUEST_URI"] ?>" method="post" name="record" onsubmit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onclick="return false;" /></div> 57 57 <div class="bodyline"> 58 58 <div id="topButtons"> … … 64 64 <legend>Attributes</legend> 65 65 <p><label for="id">id</label><br /> 66 <input id="id" name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly=" true" class="uneditable"/>66 <input id="id" name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly="readonly" class="uneditable"/> 67 67 </p> 68 68 </fieldset> -
trunk/phpbms/modules/base/reports_addedit.php
r204 r205 56 56 </head> 57 57 <body><?php include("../../menu.php")?> 58 <form action="<?php echo $_SERVER["REQUEST_URI"] ?>" method="post" name="record" on Submit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onClick="return false;" /></div>58 <form action="<?php echo $_SERVER["REQUEST_URI"] ?>" method="post" name="record" onsubmit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onclick="return false;" /></div> 59 59 <div class="bodyline"> 60 60 <div id="topButtons"><?php showSaveCancel(1); ?></div> … … 65 65 <p> 66 66 <label for="id">id</label><br /> 67 <input id="id" name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly=" true" class="uneditable"/>67 <input id="id" name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly="readonly" class="uneditable"/> 68 68 </p> 69 69 <p> -
trunk/phpbms/modules/base/roles_addedit.php
r204 r205 55 55 </head> 56 56 <body><?php include("../../menu.php")?> 57 <form action="<?php echo $_SERVER["REQUEST_URI"] ?>" method="post" name="record" on Submit="return submitForm(this);"><div id="dontSubmit"><input type="submit" value=" " onClick="return false;" /></div>57 <form action="<?php echo $_SERVER["REQUEST_URI"] ?>" method="post" name="record" onsubmit="return submitForm(this);"><div id="dontSubmit"><input type="submit" value=" " onclick="return false;" /></div> 58 58 <div class="bodyline"> 59 59 <div id="topButtons"> … … 66 66 <p> 67 67 <label for="id">id</label><br /> 68 <input id="id" name="id" type="text" value="<?php echo htmlQuotes($therecord["id"]); ?>" size="10" maxlength="10" readonly=" true" class="uneditable" />68 <input id="id" name="id" type="text" value="<?php echo htmlQuotes($therecord["id"]); ?>" size="10" maxlength="10" readonly="readonly" class="uneditable" /> 69 69 </p> 70 70 -
trunk/phpbms/modules/base/scheduler_addedit.php
r204 r205 69 69 <p> 70 70 <label for="id">id</label><br /> 71 <input id="id" name="id" type="text" value="<?php echo htmlQuotes($therecord["id"]); ?>" size="10" maxlength="10" readonly=" true" class="uneditable" />71 <input id="id" name="id" type="text" value="<?php echo htmlQuotes($therecord["id"]); ?>" size="10" maxlength="10" readonly="readonly" class="uneditable" /> 72 72 </p> 73 73 -
trunk/phpbms/modules/base/tabledefs_addedit.php
r204 r205 61 61 62 62 <?php tabledefs_tabs("General",$therecord["id"]);?><div class="bodyline"> 63 <form action="<?php echo $_SERVER["REQUEST_URI"] ?>" method="post" name="record" on Submit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onClick="return false;" /></div>63 <form action="<?php echo $_SERVER["REQUEST_URI"] ?>" method="post" name="record" onsubmit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onclick="return false;" /></div> 64 64 <div id="topButtons"> 65 65 <?php showSaveCancel(1); ?> … … 72 72 <p> 73 73 <label for="id">id</label><br /> 74 <input id="id" name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly=" true" class="uneditable" />74 <input id="id" name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly="readonly" class="uneditable" /> 75 75 </p> 76 76 <p> -
trunk/phpbms/modules/base/tabledefs_columns.php
r204 r205 103 103 <table border="0" cellpadding="0" cellspacing="0" class="querytable"> 104 104 <tr> 105 <th nowrap class="queryheader">move</th>106 <th align="left" nowrap class="queryheader">name</th>107 <th align="left" nowrap class="queryheader">align</th>108 <th align="center" nowrap class="queryheader">wrap</th>109 <th align="left" nowrap class="queryheader">size</th>110 <th align="left" nowrap class="queryheader">format</th>111 <th nowrap class="queryheader"> </th>105 <th nowrap="nowrap" class="queryheader">move</th> 106 <th align="left" nowrap="nowrap" class="queryheader">name</th> 107 <th align="left" nowrap="nowrap" class="queryheader">align</th> 108 <th align="center" nowrap="nowrap" class="queryheader">wrap</th> 109 <th align="left" nowrap="nowrap" class="queryheader">size</th> 110 <th align="left" nowrap="nowrap" class="queryheader">format</th> 111 <th nowrap="nowrap" class="queryheader"> </th> 112 112 </tr> 113 113 <?php … … 119 119 ?> 120 120 <tr class="qr<?php echo $row?> noselects"> 121 <td nowrap valign="top">121 <td nowrap="nowrap"valign="top"> 122 122 <button type="button" class="graphicButtons buttonUp" onclick="document.location='<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"]."&command=moveup&columnid=".$therecord["id"]?>';"><span>Move Up</span></button> 123 123 <button type="button" class="graphicButtons buttonDown" onclick="document.location='<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"]."&command=movedown&columnid=".$therecord["id"]?>';"><span>Move Down</span></button> 124 124 <?php echo $therecord["displayorder"];?> 125 125 </td> 126 <td nowrap valign="top"><strong><?php echo $therecord["name"]?></strong></td>127 <td nowrap valign="top"><?php echo $therecord["align"]?></td>128 <td align="center" nowrap valign="top"><?php echo booleanFormat($therecord["wrap"])?></td>129 <td nowrap valign="top"><?php if($therecord["size"]) echo $therecord["size"]; else echo " ";?></td>126 <td nowrap="nowrap"valign="top"><strong><?php echo $therecord["name"]?></strong></td> 127 <td nowrap="nowrap"valign="top"><?php echo $therecord["align"]?></td> 128 <td align="center" nowrap="nowrap"valign="top"><?php echo booleanFormat($therecord["wrap"])?></td> 129 <td nowrap="nowrap"valign="top"><?php if($therecord["size"]) echo $therecord["size"]; else echo " ";?></td> 130 130 <td valign="top"><?php if($therecord["format"]) echo $therecord["format"]; else echo " "?></td> 131 <td nowrap valign="top">131 <td nowrap="nowrap"valign="top"> 132 132 <button id="edit<?php echo $therecord["id"]?>" name="doedit" type="button" onclick="document.location='<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"]."&command=edit&columnid=".$therecord["id"]?>';" class="graphicButtons buttonEdit"><span>edit</span></button> 133 133 <button id="delete<?php echo $therecord["id"]?>" name="dodelete" type="button" onclick="document.location='<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"]."&command=delete&columnid=".$therecord["id"]?>';" class="graphicButtons buttonDelete"><span>delete</span></button> … … 148 148 <fieldset> 149 149 <legend><?php echo $action?></legend> 150 <form action="<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"] ?>" method="post" name="record" on Submit="return validateForm(this);">150 <form action="<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"] ?>" method="post" name="record" onsubmit="return validateForm(this);"> 151 151 <input id="columnid" name="columnid" type="hidden" value="<?php echo $thecolumn["id"]?>" /> 152 152 <input id="displayorder" name="displayorder" type="hidden" value="<?php if($action=="add column") echo $topdisplayorder+1; else echo $thecolumn["displayorder"]?>" /> -
trunk/phpbms/modules/base/tabledefs_options.php
r204 r205 104 104 </script> 105 105 </head> 106 <body on Load="init()"><?php include("../../menu.php")?>106 <body onload="init()"><?php include("../../menu.php")?> 107 107 108 108 … … 112 112 <table border="0" cellpadding="3" cellspacing="0" class="querytable"> 113 113 <tr> 114 <th nowrap align="center">other</th>115 <th nowrap align="left">name</th>116 <th nowrap align="left">option / function</th>117 <th nowrap align="center">access</th>118 <th nowrap > </th>114 <th nowrap="nowrap"align="center">other</th> 115 <th nowrap="nowrap"align="left">name</th> 116 <th nowrap="nowrap"align="left">option / function</th> 117 <th nowrap="nowrap"align="center">access</th> 118 <th nowrap="nowrap"> </th> 119 119 </tr> 120 120 … … 125 125 ?> 126 126 <tr class="qr<?php echo $row?> noselects"> 127 <td align="center" nowrap ><?php echo booleanFormat($therecord["othercommand"])?></td>128 <td nowrap ><strong><?php127 <td align="center" nowrap="nowrap"><?php echo booleanFormat($therecord["othercommand"])?></td> 128 <td nowrap="nowrap"><strong><?php 129 129 if($therecord["othercommand"]) echo $therecord["option"]; else echo $therecord["name"]; ?></strong> 130 130 </td> 131 <td nowrap class="small"><?php131 <td nowrap="nowrap"class="small"><?php 132 132 if($therecord["othercommand"]) 133 133 echo $therecord["name"]; … … 139 139 } 140 140 ?></td> 141 <td nowrap align="center"><?php displayRights($therecord["roleid"],$therecord["rolename"])?></td>141 <td nowrap="nowrap"align="center"><?php displayRights($therecord["roleid"],$therecord["rolename"])?></td> 142 142 143 <td nowrap valign="top">143 <td nowrap="nowrap"valign="top"> 144 144 <button id="edit<?php echo $therecord["id"]?>" type="button" onclick="document.location='<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"]."&command=edit&optionid=".$therecord["id"]?>';" class="graphicButtons buttonEdit"><span>edit</span></button> 145 145 <button id="delete<?php echo $therecord["id"]?>" type="button" onclick="document.location='<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"]."&command=delete&optionid=".$therecord["id"]?>';" class="graphicButtons buttonDelete"><span>delete</span></button> … … 157 157 <fieldset> 158 158 <legend><?php echo $action?></legend> 159 <form action="<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"] ?>" method="post" name="record" on Submit="return validateForm(this);">159 <form action="<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"] ?>" method="post" name="record" onsubmit="return validateForm(this);"> 160 160 <input id="optionid" name="optionid" type="hidden" value="<?php echo $theoption["id"]?>" /> 161 161 <p>command type</p> 162 162 <p> 163 <input type="radio" id="oc1" name="othercommand" value="0" on Click="switchType()" class="radiochecks" <?php if(!$theoption["othercommand"]) echo "checked=\"checked\""?> /><label for="oc1">pre-defined</label>163 <input type="radio" id="oc1" name="othercommand" value="0" onclick="switchType()" class="radiochecks" <?php if(!$theoption["othercommand"]) echo "checked=\"checked\""?> /><label for="oc1">pre-defined</label> 164 164 165 165 166 <input name="othercommand" id="oc2" type="radio" class="radiochecks" value="1" on Click="switchType()" <?php if($theoption["othercommand"]) echo "checked=\"checked\""?> /><label for="oc2">other</label>166 <input name="othercommand" id="oc2" type="radio" class="radiochecks" value="1" onclick="switchType()" <?php if($theoption["othercommand"]) echo "checked=\"checked\""?> /><label for="oc2">other</label> 167 167 </p> 168 168 -
trunk/phpbms/modules/base/tabledefs_quicksearch.php
r204 r205 101 101 <table border="0" cellpadding="3" cellspacing="0" class="querytable"> 102 102 <tr> 103 <th nowrap >Move</th>104 <th nowrap align="left">Name</th>105 <th width="100%" nowrap align="left">Search</th>106 <th width="100%" nowrap class="queryheader" align="left">Access</th>107 <th nowrap > </th>103 <th nowrap="nowrap">Move</th> 104 <th nowrap="nowrap"align="left">Name</th> 105 <th width="100%" nowrap="nowrap"align="left">Search</th> 106 <th width="100%" nowrap="nowrap"class="queryheader" align="left">Access</th> 107 <th nowrap="nowrap"> </th> 108 108 </tr> 109 109 <?php … … 115 115 ?> 116 116 <tr class="qr<?php echo $row?> noselects"> 117 <td nowrap valign="top">117 <td nowrap="nowrap"valign="top"> 118 118 <button type="button" class="graphicButtons buttonUp" onclick="document.location='<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"]."&command=moveup&quicksearchid=".$therecord["id"]?>';"><span>up</span></button> 119 119 <button type="button" class="graphicButtons buttonDown" onclick="document.location='<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"]."&command=movedown&quicksearchid=".$therecord["id"]?>';"><span>dn</span></button> 120 120 <?php echo $therecord["displayorder"]?> 121 121 </td> 122 <td nowrap valign="top"><strong><?php echo htmlQuotes($therecord["name"])?></strong></td>122 <td nowrap="nowrap"valign="top"><strong><?php echo htmlQuotes($therecord["name"])?></strong></td> 123 123 <td valign="top" class="small"><?php echo htmlQuotes($therecord["search"])?></td> 124 <td valign="top" align= center class="small" nowrap><?php echo displayRights($therecord["roleid"],$therecord["rolename"])?></td>125 <td nowrap valign="top">124 <td valign="top" align="center" class="small" nowrap="nowrap"><?php echo displayRights($therecord["roleid"],$therecord["rolename"])?></td> 125 <td nowrap="nowrap" valign="top"> 126 126 <button id="edit<?php echo $therecord["id"]?>" type="button" onclick="document.location='<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"]."&command=edit&quicksearchid=".$therecord["id"]?>';" class="graphicButtons buttonEdit"><span>edit</span></button> 127 127 <button id="delete<?php echo $therecord["id"]?>" type="button" onclick="document.location='<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"]."&command=delete&quicksearchid=".$therecord["id"]?>';" class="graphicButtons buttonDelete"><span>delete</span></button> … … 138 138 </table> 139 139 </div> 140 <form action="<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"] ?>" method="post" name="record" on Submit="return validateForm(this);">140 <form action="<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"] ?>" method="post" name="record" onsubmit="return validateForm(this);"> 141 141 <fieldset> 142 142 <legend><?php echo $action?></legend> -
trunk/phpbms/modules/base/tabledefs_searchfields.php
r204 r205 102 102 <table border="0" cellpadding="0" cellspacing="0" class="querytable"> 103 103 <tr> 104 <th align="left" nowrap class="queryheader">move</th>105 <th align="center" nowrap class="queryheader">type</th>106 <th align="left" nowrap class="queryheader">name</th>107 <th align="left" width="100%" nowrap class="queryheader">field</th>104 <th align="left" nowrap="nowrap" class="queryheader">move</th> 105 <th align="center" nowrap="nowrap" class="queryheader">type</th> 106 <th align="left" nowrap="nowrap"class="queryheader">name</th> 107 <th align="left" width="100%" nowrap="nowrap" class="queryheader">field</th> 108 108 <th nowrap class="queryheader"> </th> 109 109 </tr> … … 116 116 ?> 117 117 <tr class="qr<?php echo $row?> noselects"> 118 <td nowrap valign="top" class="small">118 <td nowrap="nowrap" valign="top" class="small"> 119 119 <button type="button" class="graphicButtons buttonUp" onclick="document.location='<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"]."&command=moveup&columnid=".$therecord["id"]?>';"><span>up</span></button> 120 120 <button type="button" class="graphicButtons buttonDown" onclick="document.location='<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"]."&command=movedown&columnid=".$therecord["id"]?>';"><span>dn</span></button> 121 121 <?php echo $therecord["displayorder"]?> 122 122 </td> 123 <td nowrap valign="top" class="small" align="center"><strong><?php echo htmlQuotes($therecord["type"]);?></strong></td>124 <td nowrap valign="top" class="small"><strong><?php echo htmlQuotes($therecord["name"])?></strong></td>123 <td nowrap="nowrap" valign="top" class="small" align="center"><strong><?php echo htmlQuotes($therecord["type"]);?></strong></td> 124 <td nowrap="nowrap" valign="top" class="small"><strong><?php echo htmlQuotes($therecord["name"])?></strong></td> 125 125 <td valign="top"><?php echo htmlQuotes($therecord["field"])?></td> 126 <td nowrap valign="top">126 <td nowrap="nowrap" valign="top"> 127 127 <button id="edit<?php echo $therecord["id"]?>" type="button" onclick="document.location='<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"]."&command=edit&searchfieldid=".$therecord["id"]?>';" class="graphicButtons buttonEdit"><span>edit</span></button> 128 128 <button id="delete<?php echo $therecord["id"]?>" type="button" onclick="document.location='<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"]."&command=delete&searchfieldid=".$therecord["id"]?>';" class="graphicButtons buttonDelete"><span>delete</span></button> … … 141 141 <fieldset> 142 142 <legend><?php echo $action?></legend> 143 <form action="<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"] ?>" method="post" name="record" on Submit="return validateForm(this);">143 <form action="<?php echo $_SERVER["PHP_SELF"]."?id=".$_GET["id"] ?>" method="post" name="record" onsubmit="return validateForm(this);"> 144 144 <input id="searchfieldid" name="searchfieldid" type="hidden" value="<?php echo $thesearchfield["id"]?>" /> 145 145 <input id="displayorder" name="displayorder" type="hidden" value="<?php if($action=="add search field") echo $topdisplayorder+1; else echo $thesearchfield["displayorder"]?>" /> -
trunk/phpbms/modules/base/usersearches_edit.php
r204 r205 55 55 </head> 56 56 <body><?php include("../../menu.php")?> 57 <form action="<?php echo $_SERVER["REQUEST_URI"] ?>" method="post" name="record" on Submit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onClick="return false;" /></div>57 <form action="<?php echo $_SERVER["REQUEST_URI"] ?>" method="post" name="record" onsubmit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onclick="return false;" /></div> 58 58 <div class="bodyline"> 59 59 <div id="topButtons"> … … 66 66 <p> 67 67 <label for="id">id</label><br /> 68 <input id="id" name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly=" true" class="uneditable"/>68 <input id="id" name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly="readonly" class="uneditable"/> 69 69 </p> 70 70 … … 81 81 <p> 82 82 <label for="username">user</label><br /> 83 <input id="username" name="username" type="text" value="<?php echo htmlQuotes($username) ?>" size="32" readonly=" true" class="uneditable" />83 <input id="username" name="username" type="text" value="<?php echo htmlQuotes($username) ?>" size="32" readonly="readonly" class="uneditable" /> 84 84 </p> 85 85 -
trunk/phpbms/modules/base/users_addedit.php
r204 r205 57 57 </head> 58 58 <body><?php include("../../menu.php")?> 59 <form action="<?php echo $_SERVER["REQUEST_URI"] ?>" method="post" name="record" on Submit="return submitForm(this);"><div id="dontSubmit"><input type="submit" value=" " onClick="return false;" /></div>59 <form action="<?php echo $_SERVER["REQUEST_URI"] ?>" method="post" name="record" onsubmit="return submitForm(this);"><div id="dontSubmit"><input type="submit" value=" " onclick="return false;" /></div> 60 60 <div class="bodyline"> 61 61 <div id="topButtons"><?php showSaveCancel(1); ?></div> … … 67 67 <p> 68 68 <label for="id">id</label><br /> 69 <input name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly=" true" class="uneditable"/>69 <input name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly="readonly" class="uneditable"/> 70 70 </p> 71 71 … … 106 106 <p> 107 107 <label for="lastlogin" >last log in</label><br /> 108 <input id="lastlogin" name="lastlogin" type="text" value="<?php echo formatFromSQLDate($therecord["lastlogin"]); ?>" size="32" maxlength="64" readonly=" true" class="uneditable" />108 <input id="lastlogin" name="lastlogin" type="text" value="<?php echo formatFromSQLDate($therecord["lastlogin"]); ?>" size="32" maxlength="64" readonly="readonly" class="uneditable" /> 109 109 </p> 110 110 -
trunk/phpbms/modules/bms/adminsettings.php
r197 r205 24 24 <legend>clients</legend> 25 25 <p><br/> 26 <input type="button" name="mngclientemail" id="mngclientemail" class="Buttons" value="Manage Client E-Mail Projects" on Click="document.location='../../search.php?id=22'" />26 <input type="button" name="mngclientemail" id="mngclientemail" class="Buttons" value="Manage Client E-Mail Projects" onclick="document.location='../../search.php?id=22'" /> 27 27 </p> 28 28 </fieldset> -
trunk/phpbms/modules/bms/clientemailprojects_edit.php
r204 r205 55 55 <body><?php include("../../menu.php")?> 56 56 57 <form action="<?php echo $_SERVER["REQUEST_URI"] ?>" method="post" name="record" on Submit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onClick="return false;" /></div>57 <form action="<?php echo $_SERVER["REQUEST_URI"] ?>" method="post" name="record" onsubmit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onclick="return false;" /></div> 58 58 <div class="bodyline"> 59 59 <div id="topButtons"> … … 66 66 <p> 67 67 <br /> 68 <input id="id" name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly=" true" class="uneditable"/>68 <input id="id" name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly="readonly" class="uneditable"/> 69 69 </p> 70 70 </fieldset> … … 83 83 <legend><label for="username">user</label></legend> 84 84 <p><br /> 85 <input id="username" name="username" type="text" value="<?php echo $username ?>" size="50" readonly=" true" class="uneditable" />85 <input id="username" name="username" type="text" value="<?php echo $username ?>" size="50" readonly="readonly" class="uneditable" /> 86 86 </p> 87 87 <?php if($therecord["userid"]!=0) {?> … … 97 97 <label for="from">from</label><br /> 98 98 <?php if(is_numeric($therecord["emailfrom"])) $therecord["emailfrom"]=getEmailInfo($therecord["emailfrom"]);?> 99 <input id="from" name="from" value="<?php echo htmlQuotes($therecord["emailfrom"])?>" readonly=" true" class="uneditable" size="60" />99 <input id="from" name="from" value="<?php echo htmlQuotes($therecord["emailfrom"])?>" readonly="readonly" class="uneditable" size="60" /> 100 100 </p> 101 101 <p> 102 102 <label for="to">to</label><br /> 103 <input id="to" name="to" value="<?php if($therecord["emailto"]=="selected" or $therecord["emailto"]=="all") echo htmlQuotes($therecord["emailto"]); else echo "saved search"?>" size="60" readonly=" true" class="uneditable" />103 <input id="to" name="to" value="<?php if($therecord["emailto"]=="selected" or $therecord["emailto"]=="all") echo htmlQuotes($therecord["emailto"]); else echo "saved search"?>" size="60" readonly="readonly" class="uneditable" /> 104 104 <?php if(is_numeric($therecord["emailto"])) {?> 105 <br /><input id="to2" name="to2" value="<?php echo htmlQuotes(showSavedSearch($therecord["emailto"]))?>" readonly=" true" class="uneditable" size="60"/>105 <br /><input id="to2" name="to2" value="<?php echo htmlQuotes(showSavedSearch($therecord["emailto"]))?>" readonly="readonly" class="uneditable" size="60"/> 106 106 <?php } ?> 107 107 </p> … … 109 109 <p> 110 110 <label for="subject">subject</label><br /> 111 <input id="subject" name="subject" type="text" value="<?php echo $therecord["subject"]?>" size="32" readonly=" true" class="uneditable" />111 <input id="subject" name="subject" type="text" value="<?php echo $therecord["subject"]?>" size="32" readonly="readonly" class="uneditable" /> 112 112 </p> 113 113 <p> 114 <textarea id="body" name="body" readonly=" true" class="uneditable" cols="80" rows="40"><?php echo htmlQuotes($therecord["body"])?></textarea>114 <textarea id="body" name="body" readonly="readonly" class="uneditable" cols="80" rows="40"><?php echo htmlQuotes($therecord["body"])?></textarea> 115 115 </p> 116 116 </fieldset> -
trunk/phpbms/modules/bms/clients_addedit.php
r204 r205 62 62 <body><?php include("../../menu.php")?> 63 63 64 <form action="<?php echo htmlQuotes($_SERVER["REQUEST_URI"]); if(isset($_GET["invoiceid"])) echo "&invoiceid=".$_GET["invoiceid"]; ?>" method="post" name="record" on Submit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onClick="return false;" /></div>64 <form action="<?php echo htmlQuotes($_SERVER["REQUEST_URI"]); if(isset($_GET["invoiceid"])) echo "&invoiceid=".$_GET["invoiceid"]; ?>" method="post" name="record" onsubmit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onclick="return false;" /></div> 65 65 <?php client_tabs("General",$therecord["id"]); ?> 66 66 <div class="bodyline"> … … 81 81 <p> 82 82 <label for="id">id</label><br /> 83 <input id="id" name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly=" true" class="uneditable" tabindex="0" />83 <input id="id" name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly="readonly" class="uneditable" tabindex="0" /> 84 84 </p> 85 85 … … 106 106 <p id="becameclientDiv" <?php if($therecord["type"]=="prospect") echo "style=\"display:none;\"" ?>> 107 107 <label for="becameclient">became a client</label><br /> 108 <input type="text" id="becameclient" name="becameclient" readonly=" true" class="uneditable" value="<?php echo formatFromSQLDate($therecord["becameclient"])?>" size="8" />108 <input type="text" id="becameclient" name="becameclient" readonly="readonly" class="uneditable" value="<?php echo formatFromSQLDate($therecord["becameclient"])?>" size="8" /> 109 109 </p> 110 110 -
trunk/phpbms/modules/bms/clients_email.php
r204 r205 132 132 <label for="therecords">to</label><br /> 133 133 <select id="therecords" name="therecords" onchange="showSavedSearches(this);"> 134 <option value="selected" <?php if ($therecord["emailto"]=="selected") echo "selected "?>>e-mail addresses from selected records (<?php echo count($_SESSION["emailids"]) ?> record<?php if(count($_SESSION["emailids"])>1) echo "s"?>)</option>135 <option value="savedsearch" <?php if ($therecord["emailto"]!="selected" AND $therecord["emailto"]!="all") echo "selected "?>>e-mail addresses from saved search...</option>134 <option value="selected" <?php if ($therecord["emailto"]=="selected") echo "selected=\"selected\""?>>e-mail addresses from selected records (<?php echo count($_SESSION["emailids"]) ?> record<?php if(count($_SESSION["emailids"])>1) echo "s"?>)</option> 135 <option value="savedsearch" <?php if ($therecord["emailto"]!="selected" AND $therecord["emailto"]!="all") echo "selected=\"selected\""?>>e-mail addresses from saved search...</option> 136 136 </select> 137 137 <?php if($therecord["emailto"]!="selected" AND $therecord["emailto"]!="all"){ … … 198 198 <p><?php showSavedProjects()?></p> 199 199 <p align="right"> 200 <input type="button" name="deleteproject" id="deleteproject" value="delete project" class="Buttons" disabled=" true" onclick="deleteProject()" />201 <input type="button" name="loadproject" id="loadproject" value="load project" class="Buttons" disabled=" true" onclick="loadProject()" />200 <input type="button" name="deleteproject" id="deleteproject" value="delete project" class="Buttons" disabled="disabled" onclick="deleteProject()" /> 201 <input type="button" name="loadproject" id="loadproject" value="load project" class="Buttons" disabled="disabled" onclick="loadProject()" /> 202 202 <input type="button" name="closeproject" id="closeproject" value="cancel" onclick="hideSavedProjects()" class="Buttons" /> 203 203 </p> … … 227 227 <table id="results" cellpadding="0" cellspacing="0" border="0" class="querytable"> 228 228 <tr> 229 <th nowrap id="tablereference">#</th>230 <th nowrap >Client ID</th>231 <th nowrap align="left">Name</th>232 <th nowrap >E-Mail Address</th>233 <th nowrap width=50% align="right">Status</th>229 <th nowrap="nowrap" id="tablereference">#</th> 230 <th nowrap="nowrap">Client ID</th> 231 <th nowrap="nowrap" align="left">Name</th> 232 <th nowrap="nowrap">E-Mail Address</th> 233 <th nowrap="nowrap" width=50% align="right">Status</th> 234 234 </tr> 235 235 <tr class="queryfooter" id="lastrow"> -
trunk/phpbms/modules/bms/clients_purchasehistory.php
r204 r205 123 123 <label for="status">type</label><br /> 124 124 <select name="status" id="status"> 125 <option value="Orders/Invoices" <?php if($_POST["status"]=="Orders/Invoices") echo "selected "?>>Orders/Invoices</option>126 <option value="Invoices" <?php if($_POST["status"]=="Invoices") echo "selected "?>>Invoices</option>127 <option value="Orders" <?php if($_POST["status"]=="Orders") echo "selected "?>>Orders</option>125 <option value="Orders/Invoices" <?php if($_POST["status"]=="Orders/Invoices") echo "selected=\"selected\""?>>Orders/Invoices</option> 126 <option value="Invoices" <?php if($_POST["status"]=="Invoices") echo "selected=\"selected\""?>>Invoices</option> 127 <option value="Orders" <?php if($_POST["status"]=="Orders") echo "selected=\"selected\""?>>Orders</option> 128 128 </select> 129 129 </p> … … 145 145 <table border="0" cellpadding="0" cellspacing="0" class="querytable"> 146 146 <tr> 147 <th align="left" nowrap class="queryheader" colspan="4">invoice</th>148 <th align="left" nowrap class="queryheader" colspan="3">product</th>149 <th align="left" nowrap class="queryheader" colspan="2">line item</th>147 <th align="left" nowrap="nowrap" class="queryheader" colspan="4">invoice</th> 148 <th align="left" nowrap="nowrap" class="queryheader" colspan="3">product</th> 149 <th align="left" nowrap="nowrap" class="queryheader" colspan="2">line item</th> 150 150 </tr> 151 151 <tr> 152 <th align="center" nowrap class="queryheader" colspan=2>id</th>153 <th align="left" nowrap class="queryheader">type</th>154 <th align="left" nowrap class="queryheader">date</th>155 <th nowrap class="queryheader" align="left">part num. </th>152 <th align="center" nowrap="nowrap" class="queryheader" colspan="2">id</th> 153 <th align="left" nowrap="nowrap" class="queryheader">type</th> 154 <th align="left" nowrap="nowrap" class="queryheader">date</th> 155 <th nowrap="nowrap" class="queryheader" align="left">part num. </th> 156 156 <th width="100%" class="queryheader" align="left">name</th> 157 <th align="right" nowrap class="queryheader">price</th>158 <th align="center" nowrap class="queryheader">qty.</th>159 <th align="right" nowrap class="queryheader">ext.</th>157 <th align="right" nowrap="nowrap" class="queryheader">price</th> 158 <th align="center" nowrap="nowrap" class="queryheader">qty.</th> 159 <th align="right" nowrap="nowrap" class="queryheader">ext.</th> 160 160 </tr> 161 161 <?php … … 168 168 <tr class="row<?php echo $row?>"> 169 169 <td > 170 <button type="button" class="invisibleButtons" on Click="location.href='<?php echo getAddEditFile(3) ?>?id=<?php echo $therecord["id"]?>'"><img src="<?php echo $_SESSION["app_path"] ?>common/stylesheet/<?php echo $_SESSION["stylesheet"] ?>/image/button-edit.png" align="middle" alt="edit" width="16" height="16" border="0" /></button>170 <button type="button" class="invisibleButtons" onclick="location.href='<?php echo getAddEditFile(3) ?>?id=<?php echo $therecord["id"]?>'"><img src="<?php echo $_SESSION["app_path"] ?>common/stylesheet/<?php echo $_SESSION["stylesheet"] ?>/image/button-edit.png" align="middle" alt="edit" width="16" height="16" border="0" /></button> 171 171 </td> 172 <td align="left" nowrap ><?php echo $therecord["id"]?$therecord["id"]:" " ?></td>173 <td align="left" nowrap ><?php echo $therecord["type"]?$therecord["type"]:" " ?></td>174 <td align="left" nowrap ><?php echo $therecord["thedate"]?formatFromSQLDate($therecord["thedate"]):" " ?></td>175 <td nowrap ><?php echo $therecord["partnumber"]?></td>172 <td align="left" nowrap="nowrap"><?php echo $therecord["id"]?$therecord["id"]:" " ?></td> 173 <td align="left" nowrap="nowrap"><?php echo $therecord["type"]?$therecord["type"]:" " ?></td> 174 <td align="left" nowrap="nowrap"><?php echo $therecord["thedate"]?formatFromSQLDate($therecord["thedate"]):" " ?></td> 175 <td nowrap="nowrap"><?php echo $therecord["partnumber"]?></td> 176 176 <td ><?php echo $therecord["partname"]?></td> 177 <td align="right" nowrap ><?php echo "\$".number_format($therecord["price"],2)?></td>178 <td align="center" nowrap ><?php echo $therecord["qty"]?></td>179 <td align="right" nowrap ><?php echo "\$".number_format($therecord["extended"],2)?></td>177 <td align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["price"],2)?></td> 178 <td align="center" nowrap="nowrap"><?php echo $therecord["qty"]?></td> 179 <td align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["extended"],2)?></td> 180 180 </tr> 181 181 <?php }//end while ?> … … 184 184 <?php }?> 185 185 <tr> 186 <td align="center" class="queryfooter" colspan= 2> </td>186 <td align="center" class="queryfooter" colspan="2"> </td> 187 187 <td align="center" class="queryfooter"> </td> 188 188 <td align="center" class="queryfooter"> </td> -
trunk/phpbms/modules/bms/discounts_addedit.php
r204 r205 55 55 <script language="JavaScript" src="javascript/discount.js" type="text/javascript"></script> 56 56 </head> 57 <body on Load="init()"><?php include("../../menu.php")?>57 <body onload="init()"><?php include("../../menu.php")?> 58 58 <div class="bodyline"> 59 <form action="<?php echo $_SERVER["PHP_SELF"] ?>" method="post" name="record" on Submit="return validateForm(this);">59 <form action="<?php echo $_SERVER["PHP_SELF"] ?>" method="post" name="record" onsubmit="return validateForm(this);"> 60 60 <div id="topButtons"> 61 61 <?php showSaveCancel(1); ?> … … 68 68 <p> 69 69 <label for="id">id</label><br /> 70 <input id="id" name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="22" maxlength="5" readonly=" true" class="uneditable" />70 <input id="id" name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="22" maxlength="5" readonly="readonly" class="uneditable" /> 71 71 </p> 72 72 <p> … … 100 100 <p> 101 101 <strong>type</strong><br /> 102 <input type="radio" class="radiochecks" id="typePercentage" name="type" value="percent" <?php if($therecord["type"]=="percent") echo "checked " ?> onClick="changeType()" /><label for="typePercentage">percentage</label>102 <input type="radio" class="radiochecks" id="typePercentage" name="type" value="percent" <?php if($therecord["type"]=="percent") echo "checked=\"checked\"" ?> onclick="changeType()" /><label for="typePercentage">percentage</label> 103 103 104 <input type="radio" class="radiochecks" id="typeAmount" name="type" value="amount" <?php if($therecord["type"]=="amount") echo "checked " ?> onClick="changeType()" /><label for="typeAmount">amount</label>104 <input type="radio" class="radiochecks" id="typeAmount" name="type" value="amount" <?php if($therecord["type"]=="amount") echo "checked=\"checked\"" ?> onclick="changeType()" /><label for="typeAmount">amount</label> 105 105 </p> 106 106 <p id="pValue"> -
trunk/phpbms/modules/bms/include/clients_email_include.php
r204 r205 66 66 ?><option value="NA">----- user ------</option><?php 67 67 } 68 ?><option value="<?php echo $therecord["id"]?>" <?php if($therecord["id"]==$selected) echo "selected "?>><?php echo $therecord["name"]?></option><?php68 ?><option value="<?php echo $therecord["id"]?>" <?php if($therecord["id"]==$selected) echo "selected=\"selected\""?>><?php echo $therecord["name"]?></option><?php 69 69 }// end while 70 70 }//end if -
trunk/phpbms/modules/bms/invoicestatuses_addedit.php
r204 r205 55 55 <body><?php include("../../menu.php")?> 56 56 <div class="bodyline"> 57 <form action="<?php echo $_SERVER["PHP_SELF"] ?>" method="post" name="record" on Submit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onClick="return false;" /></div>57 <form action="<?php echo $_SERVER["PHP_SELF"] ?>" method="post" name="record" onsubmit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onclick="return false;" /></div> 58 58 <div id="topButtons"> 59 59 <?php showSaveCancel(1); ?> … … 65 65 <p> 66 66 <label for="id">id</label><br /> 67 <input name="id" id="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly=" true" class="uneditable" />67 <input name="id" id="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly="readonly" class="uneditable" /> 68 68 </p> 69 69 <p> -
trunk/phpbms/modules/bms/invoices_addedit.php
r204 r205 64 64 <?php $paymentMethods=getPayments($dblink)?> 65 65 </head> 66 <body on Load="initializePage()"><?php include("../../menu.php")?>67 <form action="<?php echo $_SERVER["REQUEST_URI"] ?>" method="post" name="record" onsubmit="setLineItems();return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " on Click="return false;" /></div>66 <body onload="initializePage()"><?php include("../../menu.php")?> 67 <form action="<?php echo $_SERVER["REQUEST_URI"] ?>" method="post" name="record" onsubmit="setLineItems();return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onclick="return false;" /></div> 68 68 <?php invoice_tabs("General",$therecord["id"]);?><div class="bodyline"> 69 69 <div id="topButtons"> 70 70 <?php if($therecord["id"]){ 71 71 ?><div id="printButton"> 72 <input name="doprint" type="button" value="print" accesskey="p" on Click="doPrint('<?php echo $_SESSION["app_path"]?>',<?php echo $therecord["id"]?>)" class="Buttons" />72 <input name="doprint" type="button" value="print" accesskey="p" onclick="doPrint('<?php echo $_SESSION["app_path"]?>',<?php echo $therecord["id"]?>)" class="Buttons" /> 73 73 </div><?php 74 74 }//end if … … 102 102 <label for="id">id</label> 103 103 <br /> 104 <input name="id" id="id" type="text" value="<?php echo $therecord["id"]; ?>" size="11" maxlength="11" readonly=" true" class="uneditable" tabindex="0" />104 <input name="id" id="id" type="text" value="<?php echo $therecord["id"]; ?>" size="11" maxlength="11" readonly="readonly" class="uneditable" tabindex="0" /> 105 105 </p> 106 106 … … 108 108 <label for="type" class="important">type</label><br /> 109 109 <?php if($therecord["type"]=="VOID" || $therecord["type"]=="Invoice") {?> 110 <input id="type" name="type" type="text" value="<?php echo htmlQuotes($therecord["type"])?>" size="11" maxlength="11" readonly=" true" class="uneditable important" tabindex=9 />110 <input id="type" name="type" type="text" value="<?php echo htmlQuotes($therecord["type"])?>" size="11" maxlength="11" readonly="readonly" class="uneditable important" tabindex=9 /> 111 111 <?php }else { 112 112 $thechoices=array(); … … 123 123 <label for="ponumber">client PO#</label> 124 124 <br /> 125 <input name="ponumber" id="ponumber" type="text" value="<?php echo htmlQuotes($therecord["ponumber"])?>" size="11" maxlength="64" tabindex= 12/>125 <input name="ponumber" id="ponumber" type="text" value="<?php echo htmlQuotes($therecord["ponumber"])?>" size="11" maxlength="64" tabindex="12" /> 126 126 </p> 127 127 </div> … … 164 164 <legend><label for="address1">shipping address</label></legend> 165 165 <p> 166 <input name="address1" id="address1" type="text" value="<?php echo htmlQuotes($therecord["address1"])?>" size="65" maxlength="128" tabindex= 3/><br />166 <input name="address1" id="address1" type="text" value="<?php echo htmlQuotes($therecord["address1"])?>" size="65" maxlength="128" tabindex="3" /><br /> 167 167 <input name="address2" id="address2" type="text" value="<?php echo htmlQuotes($therecord["address2"])?>" size="65" maxlength="128" tabindex="4" /> 168 168 </p> … … 173 173 <p class="cszP"> 174 174 <label for="state">state/prov</label><br /> 175 <input name="state" type="text" id="state" value="<?php echo htmlQuotes($therecord["state"])?>" size="3" maxlength="5" tabindex= 6 />175 <input name="state" type="text" id="state" value="<?php echo htmlQuotes($therecord["state"])?>" size="3" maxlength="5" tabindex="6" /> 176 176 </p> 177 177 <p class="cszP"> 178 178 <label for="postalcode">zip/postal code</label><br /> 179 <input name="postalcode" type="text" id="postalcode" value="<?php echo htmlQuotes($therecord["postalcode"])?>" size="12" maxlength="15" tabindex= 7/>179 <input name="postalcode" type="text" id="postalcode" value="<?php echo htmlQuotes($therecord["postalcode"])?>" size="12" maxlength="15" tabindex="7" /> 180 180 </p> 181 181 <p id="countryP"> 182 182 <label for="country">country</label><br /> 183 <input name="country" id="country" type="text" value="<?php echo htmlQuotes($therecord["country"])?>" size="45" maxlength="64" tabindex= 8/>183 <input name="country" id="country" type="text" value="<?php echo htmlQuotes($therecord["country"])?>" size="45" maxlength="64" tabindex="8" /> 184 184 </p> 185 185 </fieldset> … … 210 210 <table border="0" cellpadding="0" cellspacing="0" id="LITable"> 211 211 <tr id="LIHeader"> 212 <th nowrap class="queryheader" align="left">part number</th>213 <th nowrap class="queryheader" align="left" id="partnameHeader"><div>name</div></th>214 <th nowrap class="queryheader" align="left" id="memoHeader">memo</th>215 <th align="right" nowrap class="queryheader">price</th>216 <th align="center" nowrap class="queryheader">qty.</th>217 <th align="right" nowrap class="queryheader">extended</th>218 <th nowrap class="queryheader"> </th>212 <th nowrap="nowrap" class="queryheader" align="left">part number</th> 213 <th nowrap="nowrap" class="queryheader" align="left" id="partnameHeader"><div>name</div></th> 214 <th nowrap="nowrap" class="queryheader" align="left" id="memoHeader">memo</th> 215 <th align="right" nowrap="nowrap" class="queryheader">price</th> 216 <th align="center" nowrap="nowrap" class="queryheader">qty.</th> 217 <th align="right" nowrap="nowrap" class="queryheader">extended</th> 218 <th nowrap="nowrap" class="queryheader"> </th> 219 219 </tr> 220 220 <?php if($therecord["type"]!="Invoice"){?> 221 221 <tr id="LIAdd"> 222 <td nowrap >222 <td nowrap="nowrap"> 223 223 <?php fieldAutofill("partnumber","",4,"products.id","products.partnumber","products.partname","products.status=\"In Stock\" and products.inactive=0",Array("size"=>"16","maxlength"=>"32","tabindex"=>"15"),false,"") ?> 224 224 <script language="JavaScript" type="text/javascript"> … … 226 226 </script> 227 227 </td> 228 <td nowrap >228 <td nowrap="nowrap"> 229 229 <?php fieldAutofill("partname","",4,"products.id","products.partname","products.partnumber","products.status=\"In Stock\" and products.inactive=0",Array("size"=>"20","maxlength"=>"128","tabindex"=>"16"),false,"") ?> 230 230 <script language="JavaScript" type="text/javascript"> … … 233 233 </td> 234 234 <td><input name="memo" type="text" id="memo" size="12" maxlength="255" tabindex="17" /></td> 235 <td align="right" nowrap ><input name="price" type="text" id="price" value="<?php echo htmlQuotes(numberToCurrency(0))?>" size="10" maxlength="16" onchange="calculateExtended()" class="fieldCurrency" tabindex="18" /></td>236 <td align="center" nowrap ><input name="qty" type="text" id="qty" value="1" size="5" maxlength="16" onchange="calculateExtended()" tabindex="19" /></td>237 <td align="right" nowrap ><input name="extended" type="text" id="extended" class="uneditable fieldCurrency" value="<?php echo htmlQuotes(numberToCurrency(0))?>" size="12" maxlength="16" readonly="true" /></td>238 <td nowrap align="center"><button type="button" onclick="addLine(this.parentNode);" tabindex="20" class="graphicButtons buttonPlus" title="Add Line Item"><span>+</span></button></td>235 <td align="right" nowrap="nowrap"><input name="price" type="text" id="price" value="<?php echo htmlQuotes(numberToCurrency(0))?>" size="10" maxlength="16" onchange="calculateExtended()" class="fieldCurrency" tabindex="18" /></td> 236 <td align="center" nowrap="nowrap"><input name="qty" type="text" id="qty" value="1" size="5" maxlength="16" onchange="calculateExtended()" tabindex="19" /></td> 237 <td align="right" nowrap="nowrap"><input name="extended" type="text" id="extended" class="uneditable fieldCurrency" value="<?php echo htmlQuotes(numberToCurrency(0))?>" size="12" maxlength="16" readonly="readonly" /></td> 238 <td nowrap="nowrap" align="center"><button type="button" onclick="addLine(this.parentNode);" tabindex="20" class="graphicButtons buttonPlus" title="Add Line Item"><span>+</span></button></td> 239 239 </tr><?php }//end if 240 240 $lineitemsresult=getLineItems($therecord["id"]); … … 244 244 while($lineitem=mysql_fetch_array($lineitemsresult)){ 245 245 ?><tr class="lineitems" id="LIN<?php echo $lineitem["id"]?>"> 246 <td nowrap class="lineitemsLeft important"><?php if($lineitem["partnumber"]) echo htmlQuotes($lineitem["partnumber"]); else echo " ";?></td>246 <td nowrap="nowrap" class="lineitemsLeft important"><?php if($lineitem["partnumber"]) echo htmlQuotes($lineitem["partnumber"]); else echo " ";?></td> 247 247 <td width="150"><strong><?php if($lineitem["partname"]) echo htmlQuotes($lineitem["partname"]); else echo " ";?></strong></td> 248 248 <td><?php if($lineitem["memo"]) echo htmlQuotes($lineitem["memo"]); else echo " "?></td> 249 <td align="right" nowrap ><?php echo htmlQuotes(numberToCurrency($lineitem["unitprice"]))?></td>250 <td align="center" nowrap ><?php echo $lineitem["quantity"]?></td>251 <td align="right" nowrap ><?php echo htmlQuotes(numbertoCurrency($lineitem["extended"]))?></td>249 <td align="right" nowrap="nowrap"><?php echo htmlQuotes(numberToCurrency($lineitem["unitprice"]))?></td> 250 <td align="center" nowrap="nowrap"><?php echo $lineitem["quantity"]?></td> 251 <td align="right" nowrap="nowrap"><?php echo htmlQuotes(numbertoCurrency($lineitem["extended"]))?></td> 252 252 <td align="center"><span class="LIRealInfo"><?php echo $lineitem["productid"]?>[//]<?php echo $lineitem["unitcost"]?>[//]<?php echo $lineitem["unitweight"]?>[//]<?php echo $lineitem["numprice"]?>[//]<?php echo $lineitem["quantity"]?>[//]<?php echo htmlQuotes($lineitem["memo"])?>[//]<?php echo $lineitem["taxable"]?></span> 253 <?php if($therecord["type"]=="Invoice") echo " "; else {?><button type="button" class="graphicButtons buttonMinus" on Click="return deleteLine(this)" tabindex="21" title="Remove line item"><span>-</span></button><?php } ?>253 <?php if($therecord["type"]=="Invoice") echo " "; else {?><button type="button" class="graphicButtons buttonMinus" onclick="return deleteLine(this)" tabindex="21" title="Remove line item"><span>-</span></button><?php } ?> 254 254 </td> 255 255 </tr> … … 286 286 <p id="pTotalweight"> 287 287 <label for="totalweight">total wt.</label><br/> 288 <input id="totalweight" name="totalweight" type="text" value="<?php echo $therecord["totalweight"]?>" size="5" maxlength="15" readonly=" true" class="uneditable" />288 <input id="totalweight" name="totalweight" type="text" value="<?php echo $therecord["totalweight"]?>" size="5" maxlength="15" readonly="readonly" class="uneditable" /> 289 289 </p> 290 290 … … 381 381 processing center. 382 382 </p> 383 <p><label for="paymentNotice Results">payment process results</label><br /><textarea readonly="readonly" id="paymentNoticeResults" rows="5" cols=""></textarea></p>383 <p><label for="paymentNoticeResults">payment process results</label><br /><textarea readonly="readonly" id="paymentNoticeResults" rows="5" cols=""></textarea></p> 384 384 <p align="right"> 385 385 <button type="button" class="Buttons" onclick="performPaymentProcess('<?php echo $_SESSION["app_path"] ?>')">process payment</button> … … 414 414 </tr><tr> 415 415 <td colspan="2" class="invoiceTotalLabels"><div>subtotal</div></td> 416 <td class="totalItems"><input class="uneditable fieldCurrency fieldTotal" name="totaltni" id="totaltni" type="text" value="<?php echo numberToCurrency($therecord["totaltni"])?>" size="12" maxlength="15" readonly=" true" onchange="calculateTotal();" /></td>416 <td class="totalItems"><input class="uneditable fieldCurrency fieldTotal" name="totaltni" id="totaltni" type="text" value="<?php echo numberToCurrency($therecord["totaltni"])?>" size="12" maxlength="15" readonly="readonly" onchange="calculateTotal();" /></td> 417 417 <td class="totalItems"> </td> 418 418 </tr> … … 430 430 <td colspan="2" class="invoiceTotalLabels important"><div>total</div></td> 431 431 <td class="totalItems"> 432 <input class="uneditable fieldCurrency important fieldTotal" name="totalti" id="totalti" type="text" value="<?php echo numberToCurrency($therecord["totalti"])?>" size="12" maxlength="15" onchange="calculateTotal();" readonly=" true" />432 <input class="uneditable fieldCurrency important fieldTotal" name="totalti" id="totalti" type="text" value="<?php echo numberToCurrency($therecord["totalti"])?>" size="12" maxlength="15" onchange="calculateTotal();" readonly="readonly" /> 433 433 <input id="totalcost" name="totalcost" type="hidden" value="<?php echo $therecord["totalcost"] ?>" /> 434 434 <input id="totaltaxable" name="totaltaxable" type="hidden" value="<?php echo $therecord["totaltaxable"] ?>" /> -
trunk/phpbms/modules/bms/invoices_statushistory.php
r204 r205 102 102 <form action="<?PHP echo $_SERVER["REQUEST_URI"] ?>" method="post" name="record" onsubmit="return validateForm(this);"> 103 103 <p> 104 <input accesskey="s" title="(a lt+s)" name="command" type="submit" value="update statuses" class="Buttons" <?php if($refrecord["type"]=="Invoice") echo "disabled=\"disabled\""?>/>104 <input accesskey="s" title="(access key+s)" name="command" type="submit" value="update statuses" class="Buttons" <?php if($refrecord["type"]=="Invoice") echo "disabled=\"disabled\""?>/> 105 105 </p> 106 106 <div class="fauxP"> -
trunk/phpbms/modules/bms/javascript/clientemail.js
r204 r205 107 107 else{ 108 108 text="<p><input type=\"text\" id=\"saveInput\" maxlength=\"128\"onkeyup=\"updateSaveProject(this)\" /></p>"; 109 text+="<p align=\"right\"><input type=\"button\" class=\"Buttons\" id=\"saveSave\" value=\"save\" disabled=\" true\" onclick=\"finishSaveProject();\" />";109 text+="<p align=\"right\"><input type=\"button\" class=\"Buttons\" id=\"saveSave\" value=\"save\" disabled=\"disabled\" onclick=\"finishSaveProject();\" />"; 110 110 text+=" <input class=\"Buttons\" type=\"button\" value=\"cancel\" id=\"saveCancel\" onclick=\"closeModal()\" /></>"; 111 111 showModal(text,"Save Project As...",300); -
trunk/phpbms/modules/bms/javascript/invoice.js
r204 r205 421 421 message+= "Make sure the client has been entered and that they have purchased<br />"; 422 422 message+= "any prerequiste products before adding this product."; 423 message+= "<DIV align=\"right\"><button class=\"Buttons\" on Click=\"closeModal()\" style=\"width:75px\">ok</button></DIV>";423 message+= "<DIV align=\"right\"><button class=\"Buttons\" onclick=\"closeModal()\" style=\"width:75px\">ok</button></DIV>"; 424 424 425 425 … … 836 836 for(i=0;i<theform.length;i++){ 837 837 if(theform[i].type=="submit" && theform[i].value=="save"){ 838 theform[i].disabled=" true";838 theform[i].disabled="disabled"; 839 839 } 840 840 } -
trunk/phpbms/modules/bms/paymentmethods_addedit.php
r204 r205 55 55 <body><?php include("../../menu.php")?> 56 56 <div class="bodyline"> 57 <form action="<?php echo $_SERVER["PHP_SELF"] ?>" method="post" name="record" on Submit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onClick="return false;" /></div>57 <form action="<?php echo $_SERVER["PHP_SELF"] ?>" method="post" name="record" onsubmit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onclick="return false;" /></div> 58 58 <div id="topButtons"> 59 59 <?php showSaveCancel(1); ?> … … 65 65 <p> 66 66 <label for="id">id</label><br /> 67 <input name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly=" true" class="uneditable" />67 <input name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly="readonly" class="uneditable" /> 68 68 </p> 69 69 <p> … … 88 88 <label for="type">type</label><br /> 89 89 <select name="type"> 90 <option value="" <?PHP if($therecord["type"]=="") echo "selected "; ?>><None></option>91 <option value="draft" <?PHP if($therecord["type"]=="draft") echo "selected "; ?>>Draft</option>92 <option value="charge"<?PHP if($therecord["type"]=="charge") echo "selected "; ?>>Charge</option>93 <option value="receivable"<?PHP if($therecord["type"]=="receivable") echo "selected "; ?>>Receivable</option>90 <option value="" <?PHP if($therecord["type"]=="") echo "selected=\"selected\""; ?>><None></option> 91 <option value="draft" <?PHP if($therecord["type"]=="draft") echo "selected=\"selected\""; ?>>Draft</option> 92 <option value="charge"<?PHP if($therecord["type"]=="charge") echo "selected=\"selected\""; ?>>Charge</option> 93 <option value="receivable"<?PHP if($therecord["type"]=="receivable") echo "selected=\"selected\""; ?>>Receivable</option> 94 94 </select> 95 95 </p> -
trunk/phpbms/modules/bms/productcategories_addedit.php
r204 r205 56 56 <body><?php include("../../menu.php")?> 57 57 <div class="bodyline"> 58 <form action="<?php echo $_SERVER["PHP_SELF"] ?>" method="post" name="record" on Submit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onClick="return false;" /></div>58 <form action="<?php echo $_SERVER["PHP_SELF"] ?>" method="post" name="record" onsubmit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onclick="return false;" /></div> 59 59 <div id="topButtons"> 60 60 <?php showSaveCancel(1); ?> … … 66 66 <p> 67 67 <label for="id">id</label><br /> 68 <input id="id" name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly=" true" class="uneditable" style="" />68 <input id="id" name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly="readonly" class="uneditable" style="" /> 69 69 </p> 70 70 <p> -
trunk/phpbms/modules/bms/products_addedit.php
r204 r205 63 63 <body><?php include("../../menu.php")?> 64 64 65 <form action="<?php echo $_SERVER["PHP_SELF"] ?>" method="post" enctype="multipart/form-data" name="record" on Submit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onClick="return false;" /></div>65 <form action="<?php echo $_SERVER["PHP_SELF"] ?>" method="post" enctype="multipart/form-data" name="record" onsubmit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onclick="return false;" /></div> 66 66 <?php product_tabs("General",$therecord["id"]);?><div class="bodyline"> 67 67 … … 74 74 <p> 75 75 <label for="id">id</label><br /> 76 <input id="id" name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly=" true" class="uneditable" />76 <input id="id" name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly="readonly" class="uneditable" /> 77 77 </p> 78 78 … … 87 87 <p> 88 88 <span class="important">product type</span><br /> 89 <input type="radio" name="type" id="typeInventory" value="Inventory" <?php if($therecord["type"]=="Inventory") echo "checked "?> class="radiochecks" align="baseline" tabindex="70"/><label for="typeInventory">inventory</label><br />90 <input type="radio" name="type" id="typeNonInventory" value="Non-Inventory" <?php if($therecord["type"]=="Non-Inventory") echo "checked "?> class="radiochecks" align="baseline" tabindex="80"/><label for="typeNonInventory" >non-inventory</label><br />91 <input type="radio" name="type" id="typeService" value="Service" <?php if($therecord["type"]=="Service") echo "checked "?> class="radiochecks" align="baseline"tabindex="90"/><label for="typeService" >service</label><br />92 <input type="radio" name="type" id="typeKit" value="Kit" <?php if($therecord["type"]=="Kit") echo "checked "?> class="radiochecks" align="baseline"tabindex="100"/><label for="typeKit" >kit</label><br />93 <input type="radio" name="type" id="typeAssembly" value="Assembly" <?php if($therecord["type"]=="Assembly") echo "checked "?> class="radiochecks" align="baseline"tabindex="110"/><label for="typeAssembly">assembly</label>89 <input type="radio" name="type" id="typeInventory" value="Inventory" <?php if($therecord["type"]=="Inventory") echo "checked=\"checked\""?> class="radiochecks" tabindex="70"/><label for="typeInventory">inventory</label><br /> 90 <input type="radio" name="type" id="typeNonInventory" value="Non-Inventory" <?php if($therecord["type"]=="Non-Inventory") echo "checked=\"checked\""?> class="radiochecks" tabindex="80"/><label for="typeNonInventory" >non-inventory</label><br /> 91 <input type="radio" name="type" id="typeService" value="Service" <?php if($therecord["type"]=="Service") echo "checked=\"checked\""?> class="radiochecks" tabindex="90"/><label for="typeService" >service</label><br /> 92 <input type="radio" name="type" id="typeKit" value="Kit" <?php if($therecord["type"]=="Kit") echo "checked=\"checked\""?> class="radiochecks" tabindex="100"/><label for="typeKit" >kit</label><br /> 93 <input type="radio" name="type" id="typeAssembly" value="Assembly" <?php if($therecord["type"]=="Assembly") echo "checked=\"checked\""?> class="radiochecks" tabindex="110"/><label for="typeAssembly">assembly</label> 94 94 </p> 95 95 96 96 <p> 97 97 <span class="important">available status</span><br /> 98 <input type="radio" name="status" id="statusInStock" value="In Stock" <?php if($therecord["status"]=="In Stock") echo "checked "?> class="radiochecks" align="baseline"tabindex="120"/> <label for="statusInStock">in stock / available</label><br />99 <input type="radio" name="status" id="statusOutOfStock" value="Out of Stock" <?php if($therecord["status"]=="Out of Stock") echo "checked "?> class="radiochecks" align="baseline"tabindex="130"/><label for="statusOutOfStock">out of stock / unavailable</label><br />100 <input type="radio" name="status" id="statusBackordered" value="Backordered" <?php if($therecord["status"]=="Backordered") echo "checked "?> class="radiochecks" align="baseline"tabindex="140"/><label for="statusBackordered">backordered</label>98 <input type="radio" name="status" id="statusInStock" value="In Stock" <?php if($therecord["status"]=="In Stock") echo "checked=\"checked\""?> class="radiochecks" tabindex="120"/> <label for="statusInStock">in stock / available</label><br /> 99 <input type="radio" name="status" id="statusOutOfStock" value="Out of Stock" <?php if($therecord["status"]=="Out of Stock") echo "checked=\"checked\""?> class="radiochecks" tabindex="130"/><label for="statusOutOfStock">out of stock / unavailable</label><br /> 100 <input type="radio" name="status" id="statusBackordered" value="Backordered" <?php if($therecord["status"]=="Backordered") echo "checked=\"checked\""?> class="radiochecks" tabindex="140"/><label for="statusBackordered">backordered</label> 101 101 </p> 102 102 </fieldset> … … 125 125 126 126 <div class="fauxP"> 127 <label for=" ds-categoryid" class="important">product category</label><br />127 <label for="categoryid" class="important">product category</label><br /> 128 128 <?php displayProductCategories($therecord["categoryid"],$dblink) ?> 129 129 </div> … … 170 170 <p> 171 171 <br /> 172 <input type="button" name="updateprice" value="update price" class="Buttons" on Click="calculatePrice()" tabindex="160" />172 <input type="button" name="updateprice" value="update price" class="Buttons" onclick="calculatePrice()" tabindex="160" /> 173 173 </p> 174 174 </fieldset> … … 226 226 <?php echo $therecord["webdescription"] ?> 227 227 </div> 228 <div><input id="buttonWebPreview" type="button" class="Buttons" on Click="editPreviewWebDesc(this)" value="<?php if(!$therecord["webdescription"]) echo "preview"; else echo "edit"?>" tabindex="250"/></div>228 <div><input id="buttonWebPreview" type="button" class="Buttons" onclick="editPreviewWebDesc(this)" value="<?php if(!$therecord["webdescription"]) echo "preview"; else echo "edit"?>" tabindex="250"/></div> 229 229 230 230 </div> … … 239 239 upload thumbnail<br /> 240 240 <input type="hidden" id="thumbchange" name="thumbchange" value="" /> 241 <div id="thumbdelete" style="display:<?php if($therecord["thumbnailmime"]) echo "block"; else echo "none";?>"><input type="button" class="Buttons" value="delete thumbnail" on Click="deletePicture('thumb')" tabindex="260"/></div>241 <div id="thumbdelete" style="display:<?php if($therecord["thumbnailmime"]) echo "block"; else echo "none";?>"><input type="button" class="Buttons" value="delete thumbnail" onclick="deletePicture('thumb')" tabindex="260"/></div> 242 242 <div id="thumbadd" style="display:<?php if($therecord["thumbnailmime"]) echo "none"; else echo "block";?>"><input id="thumbnailupload" name="thumbnailupload" type="file" size="40" onchange="updatePictureStatus('thumb','upload')" tabindex="260" /></div> 243 243 </div> … … 252 252 upload picture <br /> 253 253 <input type="hidden" id="picturechange" name="picturechange" value="" /> 254 <div id="picturedelete" style="display:<?php if($therecord["picturemime"]) echo "block"; else echo "none";?>"><input type="button" class="Buttons" value="delete picture" on Click="deletePicture('picture')" tabindex="270"/></div>254 <div id="picturedelete" style="display:<?php if($therecord["picturemime"]) echo "block"; else echo "none";?>"><input type="button" class="Buttons" value="delete picture" onclick="deletePicture('picture')" tabindex="270"/></div> 255 255 <div id="pictureadd" style="display:<?php if($therecord["picturemime"]) echo "none"; else echo "block";?>"><input id="pictureupload" name="pictureupload" type="file" size="40" onchange="updatePictureStatus('picture','upload')" tabindex="270"/></div> 256 256 </div> -
trunk/phpbms/modules/bms/products_prereq.php
r204 r205 89 89 <table border="0" cellpadding="3" cellspacing="0" class="querytable"> 90 90 <tr> 91 <th align="left" nowrap class="queryheader">Part Number</th>92 <th align="left" nowrap class="queryheader">Name</th>91 <th align="left" nowrap="nowrap" class="queryheader">Part Number</th> 92 <th align="left" nowrap="nowrap" class="queryheader">Name</th> 93 93 <th align="left" width=100% class="queryheader">Description</th> 94 <th align="center" nowrap class="queryheader"> </th>94 <th align="center" nowrap="nowrap" class="queryheader"> </th> 95 95 </tr> 96 96 <?php … … 99 99 ?> 100 100 <tr> 101 <td align="left" nowrap ><?php echo $prereq["partnumber"] ?></td>102 <td align="left" nowrap ><?php echo $prereq["partname"] ?></td>101 <td align="left" nowrap="nowrap"><?php echo $prereq["partnumber"] ?></td> 102 <td align="left" nowrap="nowrap"><?php echo $prereq["partname"] ?></td> 103 103 <td align="left" width="100%"><?php echo $prereq["description"]?$prereq["description"]:" " ?></td> 104 104 <td align="center"> … … 116 116 <?php 117 117 } else {?> 118 <tr><td colspan="4" align= centerstyle="padding:0px;"><div class="norecords">No Prerequisites to Display</div></td></tr>118 <tr><td colspan="4" align="center" style="padding:0px;"><div class="norecords">No Prerequisites to Display</div></td></tr> 119 119 <?php 120 120 }//end if -
trunk/phpbms/modules/bms/products_saleshistory.php
r204 r205 116 116 <label for="status">type</label><br /> 117 117 <select name="status" id="status"> 118 <option value="Orders/Invoices" <?php if($_POST["status"]=="Orders/Invoices") echo "selected "?>>Orders/Invoices</option>119 <option value="Invoices" <?php if($_POST["status"]=="Invoices") echo "selected "?>>Invoices</option>120 <option value="Orders" <?php if($_POST["status"]=="Orders") echo "selected "?>>Orders</option>118 <option value="Orders/Invoices" <?php if($_POST["status"]=="Orders/Invoices") echo "selected=\"selected\""?>>Orders/Invoices</option> 119 <option value="Invoices" <?php if($_POST["status"]=="Invoices") echo "selected=\"selected\""?>>Invoices</option> 120 <option value="Orders" <?php if($_POST["status"]=="Orders") echo "selected=\"selected\""?>>Orders</option> 121 121 </select> 122 122 </p> … … 138 138 <table border="0" cellpadding="3" cellspacing="0" class="querytable"> 139 139 <tr> 140 <th align="center" nowrap class="queryheader">ID</th>141 <th align="center" nowrap class="queryheader">Order Date</th>142 <th nowrap class="queryheader" width="100%" align="left">Client</th>143 <th align="center" nowrap class="queryheader">Qty.</th>144 <th align="right" nowrap class="queryheader">Unit Cost</th>145 <th align="right" nowrap class="queryheader">Cost Ext.</th>146 <th align="right" nowrap class="queryheader">Unit Price</th>147 <th align="right" nowrap class="queryheader">Price Ext.</th>140 <th align="center" nowrap="nowrap" class="queryheader">ID</th> 141 <th align="center" nowrap="nowrap" class="queryheader">Order Date</th> 142 <th nowrap="nowrap" class="queryheader" width="100%" align="left">Client</th> 143 <th align="center" nowrap="nowrap" class="queryheader">Qty.</th> 144 <th align="right" nowrap="nowrap" class="queryheader">Unit Cost</th> 145 <th align="right" nowrap="nowrap" class="queryheader">Cost Ext.</th> 146 <th align="right" nowrap="nowrap" class="queryheader">Unit Price</th> 147 <th align="right" nowrap="nowrap" class="queryheader">Price Ext.</th> 148 148 </tr> 149 149 <?php … … 163 163 ?> 164 164 <tr class="row<?php echo $row?>"> 165 <td align="center" nowrap ><?php echo $therecord["id"]?></td>166 <td align="center" nowrap ><?php echo $therecord["thedate"]?formatFromSQLDate($therecord["thedate"]):" " ?></td>167 <td nowrap ><?php echo $therecord["client"]?></td>168 <td align="center" nowrap ><?php echo number_format($therecord["qty"],2)?></td>169 <td align="right" nowrap ><?php echo "\$".number_format($therecord["cost"],2)?></td>170 <td align="right" nowrap ><?php echo "\$".number_format($therecord["extendedcost"],2)?></td>171 <td align="right" nowrap ><?php echo "\$".number_format($therecord["price"],2)?></td>172 <td align="right" nowrap ><?php echo "\$".number_format($therecord["extended"],2)?></td>165 <td align="center" nowrap="nowrap"><?php echo $therecord["id"]?></td> 166 <td align="center" nowrap="nowrap"><?php echo $therecord["thedate"]?formatFromSQLDate($therecord["thedate"]):" " ?></td> 167 <td nowrap="nowrap"><?php echo $therecord["client"]?></td> 168 <td align="center" nowrap="nowrap"><?php echo number_format($therecord["qty"],2)?></td> 169 <td align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["cost"],2)?></td> 170 <td align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["extendedcost"],2)?></td> 171 <td align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["price"],2)?></td> 172 <td align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["extended"],2)?></td> 173 173 </tr> 174 174 <?php } if(!mysql_num_rows($queryresult)) {?> 175 <tr><td colspan="9" align= centerstyle="padding:0px;"><div class="norecords">No Sales Data for Given Timeframe</div></td></tr>175 <tr><td colspan="9" align="center" style="padding:0px;"><div class="norecords">No Sales Data for Given Timeframe</div></td></tr> 176 176 <?php }?> 177 177 <tr> … … 180 180 <td class="queryfooter"> </td> 181 181 <td align="center" class="queryfooter"><?php echo number_format($totalquantity,2)?></td> 182 <td align="right" nowrap class="queryfooter">avg. = <?php $numrows?$avgcost=$avgcost/$numrows:$avgcost=0; echo "\$".number_format($avgcost,2)?></td>182 <td align="right" nowrap="nowrap" class="queryfooter">avg. = <?php $numrows?$avgcost=$avgcost/$numrows:$avgcost=0; echo "\$".number_format($avgcost,2)?></td> 183 183 <td align="right" class="queryfooter"><?php echo "\$".number_format($totalcostextended,2)?></td> 184 <td align="right" nowrap class="queryfooter">avg. = <?php $numrows?$avgprice=$avgprice/$numrows:$avgprice=0; echo "\$".number_format($avgprice,2)?></td>184 <td align="right" nowrap="nowrap" class="queryfooter">avg. = <?php $numrows?$avgprice=$avgprice/$numrows:$avgprice=0; echo "\$".number_format($avgprice,2)?></td> 185 185 <td align="right" class="queryfooter"><?php echo "\$".number_format($totalextended,2)?></td> 186 186 </tr> -
trunk/phpbms/modules/bms/quickview.php
r204 r205 56 56 <body> 57 57 <?php include("../../menu.php");?> 58 <form method="post" name="record" id="record" on Submit="return false;" action="">58 <form method="post" name="record" id="record" onsubmit="return false;" action=""> 59 59 <div class="bodyline"> 60 60 <h1><?php echo $pagetitle?></h1> … … 72 72 </p> 73 73 <p id="lookupButtonsP"> 74 <input type="button" value="view" id="dolookup" class="Buttons" disabled=" true" tabindex="20" onclick="viewClient('<?php echo $_SESSION["app_path"]?>')" />74 <input type="button" value="view" id="dolookup" class="Buttons" disabled="disabled" tabindex="20" onclick="viewClient('<?php echo $_SESSION["app_path"]?>')" /> 75 75 <input type="button" value="add new" id="addnew" class="Buttons" tabindex="20" onclick="addEditRecord('new','client','<?php echo getAddEditFile(2,"add")?>')" /> 76 76 </p> … … 103 103 </p> 104 104 <p id="lookupMobilePhoneLabel" class="disabledP"> 105 <label for=" lookupname">mobile phone</label><br />105 <label for="ds-mobilephonecid">mobile phone</label><br /> 106 106 <?php fieldAutofill("mobilephonecid","",2,"clients.id","clients.mobilephone","if(clients.lastname!=\"\",concat(clients.lastname,\", \",clients.firstname,if(clients.company!=\"\",concat(\" (\",clients.company,\")\"),\"\")),clients.company)","clients.inactive=0",Array("size"=>"45","maxlength"=>"128","style"=>"","class"=>"important lookupWhats","tabindex"=>"10"),0) ?> 107 107 <script language="JavaScript" type="text/javascript">document.forms["record"]["mobilephonecid"].onchange=updateViewButton;</script> 108 108 </p> 109 109 <p id="lookupMainAddressLabel" class="disabledP"> 110 <label for=" lookupname" >address</label><br />110 <label for="ds-mainaddresscid" >address</label><br /> 111 111 <?php fieldAutofill("mainaddresscid","",2,"clients.id","clients.address1","if(clients.lastname!=\"\",concat(clients.lastname,\", \",clients.firstname,if(clients.company!=\"\",concat(\" (\",clients.company,\")\"),\"\")),clients.company)","clients.inactive=0",Array("size"=>"45","maxlength"=>"128","style"=>"","class"=>"important lookupWhats","tabindex"=>"10"),0) ?> 112 112 <script language="JavaScript" type="text/javascript">document.forms["record"]["mainaddresscid"].onchange=updateViewButton;</script> -
trunk/phpbms/modules/bms/quickview_ajax.php
r204 r205 99 99 if($invoicerecord["type"]=="VOID") 100 100 $invoicerecord["totalti"]="-----" 101 ?><tr on Click="selectEdit(this,<?php echo $invoicerecord["id"]?>,'invoice')">101 ?><tr onclick="selectEdit(this,<?php echo $invoicerecord["id"]?>,'invoice')"> 102 102 <td><?php echo $invoicerecord["id"]?></td> 103 103 <td><?php echo $invoicerecord["type"]?></td> … … 113 113 114 114 <div class="salesNotesButtons"> 115 <button id="noteedit" type="button" class="graphicButtons buttonEditDisabled" on Click="addEditRecord('edit','note','<?php echo getAddEditFile(12)?>')"><span>edit</span></button>116 <button type="button" class="graphicButtons buttonNew" on Click="addEditRecord('new','note','<?php echo getAddEditFile(12,"add")?>')"><span>new</span></button>115 <button id="noteedit" type="button" class="graphicButtons buttonEditDisabled" onclick="addEditRecord('edit','note','<?php echo getAddEditFile(12)?>')"><span>edit</span></button> 116 <button type="button" class="graphicButtons buttonNew" onclick="addEditRecord('new','note','<?php echo getAddEditFile(12,"add")?>')"><span>new</span></button> 117 117 </div> 118 118 … … 137 137 if(strlen($noterecord["category"])>17) 138 138 $noterecord["category"]=substr($noterecord["category"],0,17)."..."; 139 ?><tr on Click="selectEdit(this,<?php echo $noterecord["id"]?>,'note')">140 <td align= center><?php echo $noterecord["importance"]?></td>139 ?><tr onclick="selectEdit(this,<?php echo $noterecord["id"]?>,'note')"> 140 <td align="center"><?php echo $noterecord["importance"]?></td> 141 141 <td><?php echo $noterecord["type"]?></td> 142 142 <td><?php echo $noterecord["category"]?></td> -
trunk/phpbms/modules/bms/report/clients_purchasehistory.php
r204 r205 121 121 <table border="0" cellpadding="0" cellspacing="0" > 122 122 <tr> 123 <th align="left" nowrap colspan="3">invoice</th>124 <th align="left" nowrap colspan="3">product</th>125 <th align="left" nowrap colspan="2">line item</th>123 <th align="left" nowrap="nowrap" colspan="3">invoice</th> 124 <th align="left" nowrap="nowrap" colspan="3">product</th> 125 <th align="left" nowrap="nowrap" colspan="2">line item</th> 126 126 </tr> 127 127 <tr> 128 <th align="center" nowrap >id</th>129 <th align="left" nowrap >type</th>130 <th align="left" nowrap >date</th>131 <th align="left" nowrap >part num.</th>132 <th width="100%" nowrap align="left">name</th>133 <th align="right" nowrap >price</th>134 <th align="center" nowrap >qty.</th>135 <th align="right" nowrap >ext.</th>128 <th align="center" nowrap="nowrap">id</th> 129 <th align="left" nowrap="nowrap" >type</th> 130 <th align="left" nowrap="nowrap" >date</th> 131 <th align="left" nowrap="nowrap" >part num.</th> 132 <th width="100%" nowrap="nowrap" align="left">name</th> 133 <th align="right" nowrap="nowrap" >price</th> 134 <th align="center" nowrap="nowrap" >qty.</th> 135 <th align="right" nowrap="nowrap" >ext.</th> 136 136 </tr> 137 137 <?php … … 141 141 ?> 142 142 <tr> 143 <td align="left" nowrap ><?php echo $therecord["id"]?$therecord["id"]:" " ?></td>144 <td align="left" nowrap ><?php echo $therecord["type"]?$therecord["type"]:" " ?></td>145 <td align="left" nowrap ><?php echo $therecord["formateddate"]?$therecord["formateddate"]:" " ?></td>146 <td nowrap ><?php echo $therecord["partnumber"]?></td>147 <td nowrap ><?php echo $therecord["partname"]?></td>148 <td align="right" nowrap ><?php echo "\$".number_format($therecord["price"],2)?></td>149 <td align="center" nowrap ><?php echo $therecord["qty"]?></td>150 <td align="right" nowrap ><?php echo "\$".number_format($therecord["extended"],2)?></td>143 <td align="left" nowrap="nowrap"><?php echo $therecord["id"]?$therecord["id"]:" " ?></td> 144 <td align="left" nowrap="nowrap"><?php echo $therecord["type"]?$therecord["type"]:" " ?></td> 145 <td align="left" nowrap="nowrap"><?php echo $therecord["formateddate"]?$therecord["formateddate"]:" " ?></td> 146 <td nowrap="nowrap"><?php echo $therecord["partnumber"]?></td> 147 <td nowrap="nowrap"><?php echo $therecord["partname"]?></td> 148 <td align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["price"],2)?></td> 149 <td align="center" nowrap="nowrap"><?php echo $therecord["qty"]?></td> 150 <td align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["extended"],2)?></td> 151 151 </tr> 152 152 <?php }//end while ?> -
trunk/phpbms/modules/bms/report/invoices_totals.php
r204 r205 85 85 86 86 function showReportTable(){ 87 ?><table border= 0 cellspacing=0 cellpadding=0>87 ?><table border="0" cellspacing="0" cellpadding="0"> 88 88 <tr> 89 89 <th> </th> 90 90 <?php 91 91 foreach($this->selectcolumns as $name=>$column){ 92 ?><th align=right nowrap ><?php echo $name?></td><?php92 ?><th align=right nowrap="nowrap"><?php echo $name?></td><?php 93 93 }//end foreach 94 94 ?> … … 218 218 ?> 219 219 <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=0style="border:0px;">220 <table border="0" cellspacing="0" cellpadding="0" style="border:0px;"> 221 221 <?php 222 222 … … 224 224 ?> 225 225 <tr> 226 <td width="65%" class="lineitems" nowrap ><?php echo $therecord["partnumber"]?> <?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"]?> <?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> 230 230 </tr> 231 231 <?php … … 368 368 <div class="bodyline" style="width:550px;padding:4px;"> 369 369 <h1>Invoice Total Options</h1> 370 <form action="<?php echo $_SERVER["PHP_SELF"]?>" method="post" name="totals" on Submit="return submitForm(this)">370 <form action="<?php echo $_SERVER["PHP_SELF"]?>" method="post" name="totals" onsubmit="return submitForm(this)"> 371 371 <div> 372 372 report title<br /> … … 375 375 <div class="box"> 376 376 <strong>Grouping</strong><br /> 377 <table border= 0 cellspacing=0 cellpadding=0>377 <table border="0" cellspacing="0" cellpadding="0"> 378 378 <tr> 379 379 <td width="50%"> … … 385 385 <td> 386 386 <div><br /> 387 <input type="button" value="<<" class="Buttons" on Click="moveItem('groupings','to',this.form);"><br /><br />388 <input type="button" value=">>" class="Buttons" on Click="moveItem('groupings','from',this.form);">387 <input type="button" value="<<" class="Buttons" onclick="moveItem('groupings','to',this.form);"><br /><br /> 388 <input type="button" value=">>" class="Buttons" onclick="moveItem('groupings','from',this.form);"> 389 389 </div> 390 390 </td> … … 420 420 <div class="box"> 421 421 <strong>Columns</strong><br /> 422 <table border= 0 cellspacing=0 cellpadding=0>422 <table border="0" cellspacing="0" cellpadding="0"> 423 423 <tr> 424 424 <td width="50%"> … … 431 431 <td> 432 432 <div><br /> 433 <input type="button" value="<<" class="Buttons" on Click="moveItem('columns','to',this.form);"><br /><br />434 <input type="button" value=">>" class="Buttons" on Click="moveItem('columns','from',this.form);">433 <input type="button" value="<<" class="Buttons" onclick="moveItem('columns','to',this.form);"><br /><br /> 434 <input type="button" value=">>" class="Buttons" onclick="moveItem('columns','from',this.form);"> 435 435 </div> 436 436 </td> … … 465 465 information shown<br /> 466 466 <select name="showwhat"> 467 <option selected value="totals">Totals Only</option>467 <option selected="selected" value="totals">Totals Only</option> 468 468 <option value="invoices">Invoices</option> 469 469 <option value="lineitems">Invoices & Line Items</option> … … 475 475 <div align="right" class="box"> 476 476 <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;" on Click="window.close();">477 <input name="cancel" type="button" class="Buttons" id="cancel" value="cancel" style="width:75px;" onclick="window.close();"> 478 478 </div> 479 479 </form> -
trunk/phpbms/modules/bms/report/lineitems_totals.php
r204 r205 92 92 93 93 function showReportTable(){ 94 ?><table border= 0 cellspacing=0 cellpadding=0>94 ?><table border="0" cellspacing="0" cellpadding="0"> 95 95 <tr> 96 96 <th> </th> 97 97 <?php 98 98 foreach($this->selectcolumns as $name=>$column){ 99 ?><th align=right nowrap ><?php echo $name?></td><?php99 ?><th align=right nowrap="nowrap"><?php echo $name?></td><?php 100 100 }//end foreach 101 101 ?> … … 193 193 ?> 194 194 <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=0style="border:0px;">195 <table border="0" cellspacing="0" cellpadding="0" style="border:0px;"> 196 196 <?php 197 197 … … 199 199 ?> 200 200 <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 " "?></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 " "?></td> 203 203 <td class="lineitems" width="20%"><?php echo $therecord["thename"]?></td> 204 <td width="60%" class="lineitems" nowrap ><?php echo $therecord["partnumber"]?> <?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"]?> <?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> 208 208 </tr> 209 209 <?php … … 344 344 <div class="bodyline" style="width:550px;padding:4px;"> 345 345 <h1>Line Item Total Options</h1> 346 <form action="<?php echo $_SERVER["PHP_SELF"]?>" method="post" name="totals" on Submit="return submitForm(this)">346 <form action="<?php echo $_SERVER["PHP_SELF"]?>" method="post" name="totals" onsubmit="return submitForm(this)"> 347 347 <div> 348 348 report title<br /> … … 351 351 <div class="box"> 352 352 <strong>Grouping</strong><br /> 353 <table border= 0 cellspacing=0 cellpadding=0>353 <table border="0" cellspacing="0" cellpadding="0"> 354 354 <tr> 355 355 <td width="50%"> … … 361 361 <td> 362 362 <div><br /> 363 <input type="button" value="<<" class="Buttons" on Click="moveItem('groupings','to',this.form);"><br /><br />364 <input type="button" value=">>" class="Buttons" on Click="moveItem('groupings','from',this.form);">363 <input type="button" value="<<" class="Buttons" onclick="moveItem('groupings','to',this.form);"><br /><br /> 364 <input type="button" value=">>" class="Buttons" onclick="moveItem('groupings','from',this.form);"> 365 365 </div> 366 366 </td> … … 400 400 <div class="box"> 401 401 <strong>Columns</strong><br /> 402 <table border= 0 cellspacing=0 cellpadding=0>402 <table border="0" cellspacing="0" cellpadding="0"> 403 403 <tr> 404 404 <td width="50%"> … … 411 411 <td> 412 412 <div><br /> 413 <input type="button" value="<<" class="Buttons" on Click="moveItem('columns','to',this.form);"><br /><br />414 <input type="button" value=">>" class="Buttons" on Click="moveItem('columns','from',this.form);">413 <input type="button" value="<<" class="Buttons" onclick="moveItem('columns','to',this.form);"><br /><br /> 414 <input type="button" value=">>" class="Buttons" onclick="moveItem('columns','from',this.form);"> 415 415 </div> 416 416 </td> … … 436 436 </table> 437 437 </div> 438 <div class= box>438 <div class="box"> 439 439 <strong>Additional Options</strong><br /> 440 440 information shown<br /> 441 441 <select name="showwhat"> 442 <option selected value="totals">Totals Only</option>442 <option selected="selected" value="totals">Totals Only</option> 443 443 <option value="lineitems">Line Items</option> 444 444 </select> … … 448 448 <div align="right" class="box"> 449 449 <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;" on Click="window.close();">450 <input name="cancel" type="button" class="Buttons" id="cancel" value="cancel" style="width:75px;" onclick="window.close();"> 451 451 </div> 452 452 </form> -
trunk/phpbms/modules/bms/report/products_saleshistory.php
r204 r205 117 117 <table border="0" cellpadding="3" cellspacing="0"> 118 118 <tr> 119 <th align="center" nowrap >ID</th>120 <th align="center" nowrap >Order Date</th>121 <th align="center" nowrap >Invc. Date</th>122 <th nowrap width="100%" align="left">Client</th>123 <th align="center" nowrap >Qty.</th>124 <th align="right" nowrap >Unit Cost</th>125 <th align="right" nowrap >Cost Ext.</th>126 <th align="right" nowrap >Unit Price</th>127 <th align="right" nowrap >Price Ext.</th>119 <th align="center" nowrap="nowrap" >ID</th> 120 <th align="center" nowrap="nowrap" >Order Date</th> 121 <th align="center" nowrap="nowrap" >Invc. Date</th> 122 <th nowrap="nowrap" width="100%" align="left">Client</th> 123 <th align="center" nowrap="nowrap" >Qty.</th> 124 <th align="right" nowrap="nowrap" >Unit Cost</th> 125 <th align="right" nowrap="nowrap" >Cost Ext.</th> 126 <th align="right" nowrap="nowrap" >Unit Price</th> 127 <th align="right" nowrap="nowrap">Price Ext.</th> 128 128 </tr> 129 129 <?php … … 141 141 ?> 142 142 <tr> 143 <td align="center" nowrap ><?php echo $therecord["id"]?></td>144 <td align="center" nowrap ><?php echo $therecord["orderdate"]?formatFromSQLDate($therecord["orderdate"]):" " ?></td>145 <td align="center" nowrap ><?php echo $therecord["invoicedate"]?formatFromSQLDate($therecord["invoicedate"]):" " ?></td>146 <td nowrap ><?php echo $therecord["client"]?></td>147 <td align="center" nowrap ><?php echo number_format($therecord["qty"],2)?></td>148 <td align="right" nowrap ><?php echo "\$".number_format($therecord["cost"],2)?></td>149 <td align="right" nowrap ><?php echo "\$".number_format($therecord["extendedcost"],2)?></td>150 <td align="right" nowrap ><?php echo "\$".number_format($therecord["price"],2)?></td>151 <td align="right" nowrap ><?php echo "\$".number_format($therecord["extended"],2)?></td>143 <td align="center" nowrap="nowrap"><?php echo $therecord["id"]?></td> 144 <td align="center" nowrap="nowrap"><?php echo $therecord["orderdate"]?formatFromSQLDate($therecord["orderdate"]):" " ?></td> 145 <td align="center" nowrap="nowrap"><?php echo $therecord["invoicedate"]?formatFromSQLDate($therecord["invoicedate"]):" " ?></td> 146 <td nowrap="nowrap"><?php echo $therecord["client"]?></td> 147 <td align="center" nowrap="nowrap"><?php echo number_format($therecord["qty"],2)?></td> 148 <td align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["cost"],2)?></td> 149 <td align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["extendedcost"],2)?></td> 150 <td align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["price"],2)?></td> 151 <td align="right" nowrap="nowrap"><?php echo "\$".number_format($therecord["extended"],2)?></td> 152 152 </tr> 153 153 <?php } ?> … … 158 158 <td class="grandtotals"> </td> 159 159 <td align="center" class="grandtotals"><?php echo number_format($totalquantity,2)?></td> 160 <td align="right" nowrap class="grandtotals">avg. = <?php $numrows?$avgcost=$avgcost/$numrows:$avgcost=0; echo "\$".number_format($avgcost,2)?></td>160 <td align="right" nowrap="nowrap"class="grandtotals">avg. = <?php $numrows?$avgcost=$avgcost/$numrows:$avgcost=0; echo "\$".number_format($avgcost,2)?></td> 161 161 <td align="right" class="grandtotals"><?php echo "\$".number_format($totalcostextended,2)?></td> 162 <td align="right" nowrap class="grandtotals">avg. = <?php $numrows?$avgprice=$avgprice/$numrows:$avgprice=0; echo "\$".number_format($avgprice,2)?></td>162 <td align="right" nowrap="nowrap" class="grandtotals">avg. = <?php $numrows?$avgprice=$avgprice/$numrows:$avgprice=0; echo "\$".number_format($avgprice,2)?></td> 163 163 <td align="right" class="grandtotals"><?php echo "\$".number_format($totalextended,2)?></td> 164 164 </tr> -
trunk/phpbms/modules/bms/shippingmethods_addedit.php
r204 r205 55 55 <body><?php include("../../menu.php")?> 56 56 <div class="bodyline"> 57 <form action="<?php echo $_SERVER["PHP_SELF"] ?>" method="post" name="record" on Submit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onClick="return false;" /></div>57 <form action="<?php echo $_SERVER["PHP_SELF"] ?>" method="post" name="record" onsubmit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onclick="return false;" /></div> 58 58 <div id="topButtons"> 59 59 <?php showSaveCancel(1); ?> … … 65 65 <p> 66 66 <label for="id">id</label><br /> 67 <input name="id" id="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly=" true" class="uneditable" />67 <input name="id" id="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly="readonly" class="uneditable" /> 68 68 </p> 69 69 <p> <br /> -
trunk/phpbms/modules/bms/snapshot.php
r204 r205 55 55 <th align="left">Type</th> 56 56 <th align="left" width="100%">Name</th> 57 <th nowrap align="right">Location</th>57 <th nowrap="nowrap" align="right">Location</th> 58 58 </tr> 59 59 <?php … … 66 66 if($displayCSZ==", ") $displayCSZ=" "; 67 67 ?><tr onclick="document.location='<?php echo getAddEditFile(2)."?id=".$therecord["id"] ?>'" class="qr<?php echo $i?>"> 68 <td align="left" nowrap ><?php echo $therecord["id"]?></td>69 <td align="left" nowrap ><?php echo $therecord["type"]?></td>68 <td align="left" nowrap="nowrap"><?php echo $therecord["id"]?></td> 69 <td align="left" nowrap="nowrap"><?php echo $therecord["type"]?></td> 70 70 <td><?php echo htmlQuotes($therecord["thename"])?></td> 71 <td align="right" nowrap ><?php echo $displayCSZ?></td>71 <td align="right" nowrap="nowrap"><?php echo $displayCSZ?></td> 72 72 </tr><?php }?> 73 73 <tr class="queryfooter"> … … 113 113 $total+=$therecord["total"]; 114 114 $totaldue+=$therecord["amtdue"]; 115 ?><tr on Click="document.location='<?php echo getAddEditFile(3)."?id=".$therecord["id"] ?>'" class="qr<?php echo $i?>">115 ?><tr onclick="document.location='<?php echo getAddEditFile(3)."?id=".$therecord["id"] ?>'" class="qr<?php echo $i?>"> 116 116 <td><?php echo $therecord["id"]?></td> 117 117 <td nowrap="nowrap"><?php echo $therecord["status"]?></td> -
trunk/phpbms/modules/bms/tax_addedit.php
r204 r205 54 54 <body><?php include("../../menu.php")?> 55 55 <div class="bodyline"> 56 <form action="<?php echo $_SERVER["PHP_SELF"] ?>" method="post" name="record" on Submit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onClick="return false;" /></div>56 <form action="<?php echo $_SERVER["PHP_SELF"] ?>" method="post" name="record" onsubmit="return validateForm(this);"><div id="dontSubmit"><input type="submit" value=" " onclick="return false;" /></div> 57 57 <div id="topButtons"> 58 58 <?php showSaveCancel(1); ?> … … 64 64 <p> 65 65 <label for="id">id</label><br /> 66 <input name="id" id="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly=" true" class="uneditable" />66 <input name="id" id="id" type="text" value="<?php echo $therecord["id"]; ?>" size="5" maxlength="5" readonly="readonly" class="uneditable" /> 67 67 </p> 68 68 <p> -
trunk/phpbms/print.php
r204 r205 161 161 <input name="reportid" type="hidden" value="<?php echo $therecord["id"] ?>" /> 162 162 <input name="reportfile" type="hidden" value="<?php echo htmlQuotes($therecord["reportfile"]) ?>" /> 163 <input name="name" type="text" class="uneditable important" id="name" value="<?php echo htmlQuotes($therecord["name"]) ?>" size="32" maxlength="64" readonly=" true" />163 <input name="name" type="text" class="uneditable important" id="name" value="<?php echo htmlQuotes($therecord["name"]) ?>" size="32" maxlength="64" readonly="readonly" /> 164 164 </p> 165 165 166 166 <p> 167 167 type<br /> 168 <input name="type" type="text" class="uneditable" id="type" value="<?php echo $therecord["type"] ?>" size="20" maxlength="64" readonly=" true" />168 <input name="type" type="text" class="uneditable" id="type" value="<?php echo $therecord["type"] ?>" size="20" maxlength="64" readonly="readonly" /> 169 169 </p> 170 170 <p> -
trunk/phpbms/README
r145 r205 7 7 Your server must be running at least: 8 8 * MySQL 3.2358+ 9 * PHP 4. 1.2+ with MySQL support enabled.9 * PHP 4.3.0+ with MySQL support enabled. 10 10 11 11 -
trunk/phpbms/requirements.php
r204 r205 69 69 <table border="0" cellpadding="0" cellspacing="0" class="querytable" id="browserTable"> 70 70 <tr> 71 <th class="queryheader" nowrap >Browser Application</th>71 <th class="queryheader" nowrap="nowrap">Browser Application</th> 72 72 <th class="queryheader">Version</th> 73 73 <th class="queryheader">Platform(s)</th> -
trunk/phpbms/timepicker.php
r204 r205 42 42 ?> 43 43 44 <table border="0" cellspacing= 0 cellpadding=0style="width:230px;">44 <table border="0" cellspacing="0" cellpadding="0" style="width:230px;"> 45 45 <tr> 46 46 <td width="100%" class="tpHead"> </td> 47 <td class="tpHead"><button type="buttton" class="invisibleButtons" id="TPCancel" on Click="closeTPBox();"><img src="<?php echo $_SESSION["app_path"] ?>common/stylesheet/<?php echo $_SESSION["stylesheet"] ?>/image/button-x.png" align="absmiddle" alt="x" width="16" height="16" border="0" /></button></td>47 <td class="tpHead"><button type="buttton" class="invisibleButtons" id="TPCancel" onclick="closeTPBox();"><img src="<?php echo $_SESSION["app_path"] ?>common/stylesheet/<?php echo $_SESSION["stylesheet"] ?>/image/button-x.png" align="absmiddle" alt="x" width="16" height="16" border="0" /></button></td> 48 48 </tr> 49 49 </table> 50 <table border="0" cellspacing= 0 cellpadding=0class="tpHour" style="width:230px;">50 <table border="0" cellspacing="0" cellpadding="0" class="tpHour" style="width:230px;"> 51 51 <tr> 52 <td on Click="tpClickHour(0)">00</td>53 <td on Click="tpClickHour(1)">01</td>54 <td on Click="tpClickHour(2)">02</td>55 <td on Click="tpClickHour(3)">03</td>56 <td on Click="tpClickHour(4)">04</td>57 <td on Click="tpClickHour(5)">05</td>58 <td on Click="tpClickHour(6)">06</td>59 <td on Click="tpClickHour(7)">07</td>60 <td on Click="tpClickHour(8)">08</td>61 <td on Click="tpClickHour(9)">09</td>62 <td on Click="tpClickHour(10)">10</td>63 <td on Click="tpClickHour(11)">11</td>52 <td onclick="tpClickHour(0)">00</td> 53 <td onclick="tpClickHour(1)">01</td> 54 <td onclick="tpClickHour(2)">02</td> 55 <td onclick="tpClickHour(3)">03</td> 56 <td onclick="tpClickHour(4)">04</td> 57 <td onclick="tpClickHour(5)">05</td> 58 <td onclick="tpClickHour(6)">06</td> 59 <td onclick="tpClickHour(7)">07</td> 60 <td onclick="tpClickHour(8)">08</td> 61 <td onclick="tpClickHour(9)">09</td> 62 <td onclick="tpClickHour(10)">10</td> 63 <td onclick="tpClickHour(11)">11</td> 64 64 </tr> 65 65 <tr> 66 <td on Click="tpClickHour(12)">12</td>67 <td on Click="tpClickHour(13)">13</td>68 <td on Click="tpClickHour(14)">14</td>69 <td on Click="tpClickHour(15)">15</td>70 <td on Click="tpClickHour(16)">16</td>71 <td on Click="tpClickHour(17)">17</td>72 <td on Click="tpClickHour(18)">18</td>73 <td on Click="tpClickHour(19)">19</td>74 <td on Click="tpClickHour(20)">20</td>75 <td on Click="tpClickHour(21)">21</td>76 <td on Click="tpClickHour(22)">22</td>77 <td on Click="tpClickHour(23)">23</td>66 <td onclick="tpClickHour(12)">12</td> 67 <td onclick="tpClickHour(13)">13</td> 68 <td onclick="tpClickHour(14)">14</td> 69 <td onclick="tpClickHour(15)">15</td> 70 <td onclick="tpClickHour(16)">16</td> 71 <td onclick="tpClickHour(17)">17</td> 72 <td onclick="tpClickHour(18)">18</td> 73 <td onclick="tpClickHour(19)">19</td> 74 <td onclick="tpClickHour(20)">20</td> 75 <td onclick="tpClickHour(21)">21</td> 76 <td onclick="tpClickHour(22)">22</td> 77 <td onclick="tpClickHour(23)">23</td> 78 78 </tr> 79 79 </table> 80 <table border="0" cellspacing= 0 cellpadding=0class="tpMinute" id="tpMinuteLess" width="230px">80 <table border="0" cellspacing="0" cellpadding="0" class="tpMinute" id="tpMinuteLess" width="230px"> 81 81 <tr> 82 <td on Click="tpClickMinute(this)">:00</td>83 <td on Click="tpClickMinute(this)">:05</td>84 <td on Click="tpClickMinute(this)">:10</td>85 <td on Click="tpClickMinute(this)">:15</td>86 <td on Click="tpClickMinute(this)">:20</td>87 <td on Click="tpClickMinute(this)">:25</td>82 <td onclick="tpClickMinute(this)">:00</td> 83 <td onclick="tpClickMinute(this)">:05</td> 84 <td onclick="tpClickMinute(this)">:10</td> 85 <td onclick="tpClickMinute(this)">:15</td> 86 <td onclick="tpClickMinute(this)">:20</td> 87 <td onclick="tpClickMinute(this)">:25</td> 88 88 </tr> 89 89 <tr> 90 <td on Click="tpClickMinute(this)">:30</td>91 <td on Click="tpClickMinute(this)">:35</td>92 <td on Click="tpClickMinute(this)">:40</td>93 <td on Click="tpClickMinute(this)">:45</td>94 <td on Click="tpClickMinute(this)">:50</td>95 <td on Click="tpClickMinute(this)">:55</td>90 <td onclick="tpClickMinute(this)">:30</td> 91 <td onclick="tpClickMinute(this)">:35</td> 92 <td onclick="tpClickMinute(this)">:40</td> 93 <td onclick="tpClickMinute(this)">:45</td> 94 <td onclick="tpClickMinute(this)">:50</td> 95 <td onclick="tpClickMinute(this)">:55</td> 96 96 </tr> 97 97 </table> 98 <table border="0" cellspacing= 0 cellpadding=0class="tpMinute" id="tpMinuteMore" width="230px" style="display:none;">98 <table border="0" cellspacing="0" cellpadding="0" class="tpMinute" id="tpMinuteMore" width="230px" style="display:none;"> 99 99 <tr> 100 100 <?php … … 102 102 if($i!=0 && ($i/6)==round($i/6,0)) 103 103 echo ("</TR><TR>"); 104 ?><td on Click="tpClickMinute(this)">:<?php echo str_pad($i,2,"0",STR_PAD_LEFT)?></td><?php104 ?><td onclick="tpClickMinute(this)">:<?php echo str_pad($i,2,"0",STR_PAD_LEFT)?></td><?php 105 105 } 106 106 ?> … … 109 109 110 110 <div align=right> 111 <input name="TPmoreless" id="TPmoreless" type="button" value="more" class="smallButtons" on Click="switchMinutes(this)">111 <input name="TPmoreless" id="TPmoreless" type="button" value="more" class="smallButtons" onclick="switchMinutes(this)"> 112 112 </div> 113 113 <?php }//end function