diff options
Diffstat (limited to 'UI')
-rw-r--r-- | UI/Customer/customer.html | 110 | ||||
-rw-r--r-- | UI/lib/elements.html (renamed from UI/elements.html) | 0 | ||||
-rw-r--r-- | UI/lib/ui-header.html (renamed from UI/ui-header.html) | 0 | ||||
-rw-r--r-- | UI/payments/payment1.html | 2 | ||||
-rw-r--r-- | UI/payments/payment2.html | 2 |
5 files changed, 75 insertions, 39 deletions
diff --git a/UI/Customer/customer.html b/UI/Customer/customer.html index fd0933ca..23bb064b 100644 --- a/UI/Customer/customer.html +++ b/UI/Customer/customer.html @@ -1,3 +1,17 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title><?lsmb form.titlebar ?></title> + <meta http-equiv="Pragma" content="no-cache" /> + <meta http-equiv="Expires" content="-1" /> + <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> + <link rel="stylesheet" href="css/<?lsmb form.stylesheet ?>" type="text/css" title="LedgerSMB stylesheet" /> + + <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> + <meta name="robots" content="noindex,nofollow" /> + +</head> <div class="customer"> <font size="17"><?lsmb customer.name?></font> @@ -6,9 +20,9 @@ <table> <tr> - <td><b>Shipping Address</b></td> + <td><b><?lsmb text('Shipping Address') ?></b></td> - <td><b>Billing Address (if different)</p></td> + <td><b><?lsmb text('Billing Address (if different)') ?></p></td> </tr> @@ -17,51 +31,64 @@ <?lsmb FOREACH entry = customer.ordered ?> <tr> <td> - <label for="shipping_<?entry?>"><?entry?>:</label> - <input id="shipping_<?entry?>" type="textarea" name="shipping_<?entry?>" value="<? customer.entry ?>"> + <label for="shipping_<?lsmb entry ?>"><?lsmb text(entry) ?>: + </label> + <input id="shipping_<?lsmb entry ?>" type="textarea" + name="shipping_<?lsmb entry ?>" + value="<?lsmb customer.entry ?>"> </td> <td> - <input type="textarea" name="billing_<? entry ?>" value="<? customer.entry ?>"> + <input type="textarea" name="billing_<?lsmb entry ?>" + value="<?lsmb customer.entry ?>"> </td> </tr> - <?lsmb end ?> + <?lsmb END ?> <tr> <td> - <label for="startdate">Starting Date:</label> - <input id="startdate" type="textarea" name="startdate" value="<? customer.startdate ?>"> + <label for="startdate"><?lsmb text('Starting Date:') ?></label> + <input id="startdate" type="textarea" name="startdate" + value="<?lsmb customer.startdate ?>"> </td> <td> - <label for="enddate">End date:</label> - <input id="enddate" type="textarea" name="startdate" value="<? customer.enddate ?>"> + <label for="enddate"><?lsmb('End date:') ?></label> + <input id="enddate" type="textarea" name="startdate" + value="<?lsmb customer.enddate ?>"> </td> </tr> <tr> <td> - <label for"creditlimit">Credit Limit:</label> - <input id="creditlimit" name="creditlimit" type="textarea" value="<?customer.creditlimit?>"> + <label for"creditlimit"><?lsmb text('Credit Limit:') ?></label> + <input id="creditlimit" name="creditlimit" type="textarea" + value="<?lsmb customer.creditlimit ?>"> </td> <td> - <label for="terms">Terms:</label> - <input id="terms" name="terms" type="textarea" value="<?customer.terms?>"> days + <label for="terms"><?lsmb text('Terms:') ?></label> + <input id="terms" name="terms" type="textarea" + value="<?lsmb customer.terms ?>"> days </td> <td> - <label for="discount">Discount %:</label> - <input id="discount" name="discount" type="textarea" value="<?customer.discount?>"> + <label for="discount"><?lsmb text('Discount %:') ?></label> + <input id="discount" name="discount" type="textarea" + value="<?lsmb customer.discount ?>"> </td> </tr> <tr> <td> - <label for="taxnumber">Tax Number/SSN:</label> - <input id="taxnumber" name="taxnumber" type="textarea" value="<?customer.taxnumber?>"> + <label for="taxnumber"><?lsmb text('Tax Number/SSN:') ?></label> + <input id="taxnumber" name="taxnumber" type="textarea" + value="<?lsmb customer.taxnumber ?>"> </td> <td> - <label for"gifi_accno">Subcontract GFI:</label> - <input id="gifi_accno" name="gifi_accno" type="textarea" value="<?customer.gifi_accno?>"> + <label for"gifi_accno"><?lsmb text('Subcontract GIFI:') ?> + </label> + <input id="gifi_accno" name="gifi_accno" type="textarea" + value="<?lsmb customer.gifi_accno ?>"> </td> <td> - <label for"sic_code">SIC Code:</label> - <input id="sic_code" name="sic_code" type="textarea" value="<?customer.sic_code?>"> + <label for"sic_code"><?lsmb text('SIC Code:') ?></label> + <input id="sic_code" name="sic_code" type="textarea" + value="<?lsmb customer.sic_code ?>"> </td> </tr> @@ -69,21 +96,26 @@ <td></td> <td> - <label for"bic">BIC:</label> - <input id="bic" name="bic" type="textarea" value="<?customer.bic?>"> + <label for"bic"><?lsmb text('BIC:') ?></label> + <input id="bic" name="bic" type="textarea" + value="<?lsmb customer.bic ?>"> </td> <td> - <label for="iban">IBAN:</label> - <input id="iban" name="iban" type="textarea" value="<?customer.iban?>"> + <label for="iban"><?lsmb text('IBAN:') ?></label> + <input id="iban" name="iban" type="textarea" + value="<?lsmb customer.iban ?>"> </td> </tr> <tr> <td> - <label for="notes">Notes:</label><br/> - <textarea name="notes" rows="3" cols="40" id="notes"> - <?customer.notes?> - </textarea> + <label for="notes"><?lsmb text('Notes:') ?></label><br/> + <textarea name="notes" rows="3" cols="40" id="notes"><?lsmb + customer.notes + ?></textarea> + <!-- The prior funny whitespace may look funny but it prevents + additional whitespace from being added to the data every time + it is saved --> </td> </tr> @@ -91,7 +123,7 @@ <hr/> <br/> <td> - <button class="submit" type="submit" name="action" value="save" accesskey="S" title="Save [Alt-S]">Save</button> + <button class="submit" type="submit" name="action" value="save" accesskey="S" title="Save [Alt-S]"><?lsmb text('Save') ?></button> </td> <td> <button class="submit" @@ -99,7 +131,8 @@ name="action" value="ap_transaction" accesskey="A" - title="AP Transaction [Alt-A]">AP Transaction</button> + title="AP Transaction [Alt-A]"> + <?lsmb text('AP Transaction') ?></button> </td> <td> <button class="submit" @@ -107,7 +140,8 @@ name="action" value="customer_invoice" accesskey="I" - title="customer Invoice [Alt-I]">customer Invoice</button> + title="customer Invoice [Alt-I]"> + <?lsmb text('Customer Invoice') ?></button> </td> <td> <button class="submit" @@ -115,7 +149,8 @@ name="action" value="purchase_order" accesskey="O" - title="Purchase Order [Alt-O]">Purchase Order</button> + title="Purchase Order [Alt-O]"> + <?lsmb text('Purchase Order') ?></button> </td> <td> <button class="submit" @@ -123,7 +158,7 @@ name="action" value="rfq" accesskey="Q" - title="RFQ [Alt-Q]">RFQ</button> + title="RFQ [Alt-Q]"><?lsmb text('RFQ') ?></button> </td> <td> <button class="submit" @@ -131,9 +166,10 @@ name="action" value="pricelist" accesskey="P" - title="Pricelist [Alt-P]">Pricelist</button> + title="Pricelist [Alt-P]"> + <?lsmb text('Pricelist') ?></button> </td> </tr> </table> </form> -</div>
\ No newline at end of file +</div> diff --git a/UI/elements.html b/UI/lib/elements.html index c7893831..c7893831 100644 --- a/UI/elements.html +++ b/UI/lib/elements.html diff --git a/UI/ui-header.html b/UI/lib/ui-header.html index 5a429866..5a429866 100644 --- a/UI/ui-header.html +++ b/UI/lib/ui-header.html diff --git a/UI/payments/payment1.html b/UI/payments/payment1.html index 50fa1ca9..7857032e 100644 --- a/UI/payments/payment1.html +++ b/UI/payments/payment1.html @@ -17,7 +17,7 @@ <form name="search" method="post" action="payment.pl"> -<?lsmb PROCESS '../elements.html' # Include form elements helper. ?> +<?lsmb PROCESS 'elements.html' # Include form elements helper. ?> <?lsmb PROCESS input element_data=sort ?> <?lsmb PROCESS input element_data=nextsub ?> diff --git a/UI/payments/payment2.html b/UI/payments/payment2.html index d395b170..1b53d6da 100644 --- a/UI/payments/payment2.html +++ b/UI/payments/payment2.html @@ -14,7 +14,7 @@ <body id="payment_2_body"> <form name="pay_single_dues" method="post" action="payment.pl"> - <?lsmb PROCESS ../elements.html # Include form elements helper. ?> + <?lsmb PROCESS elements.html # Include form elements helper. ?> <table width=100%> <tr id="top_bar" class="listtop"> |