summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristopherm <christopherm@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-13 17:16:34 +0000
committerchristopherm <christopherm@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-13 17:16:34 +0000
commitf2cc5ce11878176e3fe9d2bd723ca483ffebbbfc (patch)
tree099ccad25283ced44792e3385b376bf2852b5e02
parentef50db090dc34710f475d10f7caf9178761457c8 (diff)
$form->{menubar} is now deprecated, replaced with $form->{lynx} which will be used for all lynx related things
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@212 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xbin/aa.pl6
-rwxr-xr-xbin/am.pl28
-rwxr-xr-xbin/bp.pl2
-rwxr-xr-xbin/cp.pl4
-rwxr-xr-xbin/ct.pl10
-rwxr-xr-xbin/gl.pl6
-rwxr-xr-xbin/hr.pl10
-rwxr-xr-xbin/ic.pl12
-rwxr-xr-xbin/ir.pl2
-rwxr-xr-xbin/is.pl2
-rwxr-xr-xbin/jc.pl10
-rwxr-xr-xbin/oe.pl16
-rwxr-xr-xbin/pe.pl24
-rwxr-xr-xbin/pos.pl4
-rwxr-xr-xbin/rc.pl4
-rwxr-xr-xbin/rp.pl6
16 files changed, 73 insertions, 73 deletions
diff --git a/bin/aa.pl b/bin/aa.pl
index 5f8edb83..aa6f8d67 100755
--- a/bin/aa.pl
+++ b/bin/aa.pl
@@ -739,7 +739,7 @@ sub form_footer {
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1198,7 +1198,7 @@ sub search {
</form>
|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1595,7 +1595,7 @@ sub transactions {
}
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
diff --git a/bin/am.pl b/bin/am.pl
index b9a38eb9..4c5dcb5e 100755
--- a/bin/am.pl
+++ b/bin/am.pl
@@ -262,7 +262,7 @@ sub form_footer {
for (sort { $button{$a}->{ndx} <=> $button{$b}->{ndx} } keys %button) { $form->print_button(\%button, $_) }
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -591,7 +591,7 @@ sub gifi_footer {
for (sort { $button{$a}->{ndx} <=> $button{$b}->{ndx} } keys %button) { $form->print_button(\%button, $_) }
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -750,7 +750,7 @@ sub list_department {
print qq|
<input class=submit type=submit name=action value="|.$locale->text('Add Department').qq|">|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -940,7 +940,7 @@ sub list_business {
print qq|
<input class=submit type=submit name=action value="|.$locale->text('Add Business').qq|">|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1141,7 +1141,7 @@ sub list_sic {
print qq|
<input class=submit type=submit name=action value="|.$locale->text('Add SIC').qq|">|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1329,7 +1329,7 @@ sub list_language {
print qq|
<input class=submit type=submit name=action value="|.$locale->text('Add Language').qq|">|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1574,7 +1574,7 @@ sub list_templates {
<input type=hidden name=sessionid value=$form->{sessionid}>
|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1626,7 +1626,7 @@ $form->{body}
print qq|
<input name=action type=submit class=submit value="|.$locale->text('Edit').qq|">|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1673,7 +1673,7 @@ $form->{body}
<br>
<input type=submit class=submit name=action value="|.$locale->text('Save').qq|">|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1842,7 +1842,7 @@ sub defaults {
print qq|
<input type=submit class=submit name=action value="|.$locale->text('Save').qq|">|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1962,7 +1962,7 @@ sub display_taxes {
<input type=submit class=submit name=action value="|.$locale->text('Update').qq|">
<input type=submit class=submit name=action value="|.$locale->text('Save').qq|">|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -2187,7 +2187,7 @@ sub config {
print qq|
<input type=submit class=submit name=action value="|.$locale->text('Save').qq|">|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -2468,7 +2468,7 @@ sub list_warehouse {
print qq|
<input class=submit type=submit name=action value="|.$locale->text('Add Warehouse').qq|">|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -2886,7 +2886,7 @@ print qq|
print qq|
<input class=submit type=submit name=action value="|.$locale->text('Process Transactions').qq|">| if $k;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
diff --git a/bin/bp.pl b/bin/bp.pl
index 0e969dcf..f4afe558 100755
--- a/bin/bp.pl
+++ b/bin/bp.pl
@@ -519,7 +519,7 @@ sub list_spool {
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
diff --git a/bin/cp.pl b/bin/cp.pl
index 2caf4e7a..86ae69b2 100755
--- a/bin/cp.pl
+++ b/bin/cp.pl
@@ -506,7 +506,7 @@ sub payments_footer {
$form->hide_form(qw(callback rowcount path login sessionid));
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1109,7 +1109,7 @@ sub payment_footer {
$form->hide_form(qw(callback rowcount path login sessionid));
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
diff --git a/bin/ct.pl b/bin/ct.pl
index 6392cbab..937c10c7 100755
--- a/bin/ct.pl
+++ b/bin/ct.pl
@@ -182,7 +182,7 @@ sub history {
&search_name;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -370,7 +370,7 @@ sub search {
&include_in_report;
&search_name;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -954,7 +954,7 @@ sub list_names {
}
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1253,7 +1253,7 @@ sub list_history {
|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1730,7 +1730,7 @@ sub form_footer {
for (keys %button) { delete $button{$_} if ! $a{$_} }
for (sort { $button{$a}->{ndx} <=> $button{$b}->{ndx} } keys %button) { $form->print_button(\%button, $_) }
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
diff --git a/bin/gl.pl b/bin/gl.pl
index ac22be49..6d51151a 100755
--- a/bin/gl.pl
+++ b/bin/gl.pl
@@ -353,7 +353,7 @@ sub search {
</form>
|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -689,7 +689,7 @@ sub generate_report {
print $item->{code};
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1072,7 +1072,7 @@ sub form_footer {
print qq|<div align=right>|.$locale->text('Scheduled').qq|</div>|;
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
diff --git a/bin/hr.pl b/bin/hr.pl
index 446b516b..6ba51329 100755
--- a/bin/hr.pl
+++ b/bin/hr.pl
@@ -170,7 +170,7 @@ sub search_employee {
</form>
|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -378,7 +378,7 @@ sub list_employees {
print $item->{code};
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -690,7 +690,7 @@ sub employee_footer {
}
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -872,7 +872,7 @@ sub search_deduction {
print $item->{code};
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1123,7 +1123,7 @@ sub deduction_footer {
}
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
diff --git a/bin/ic.pl b/bin/ic.pl
index 05828ca2..02befd5a 100755
--- a/bin/ic.pl
+++ b/bin/ic.pl
@@ -774,7 +774,7 @@ sub form_footer {
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1144,7 +1144,7 @@ sub search {
</form>
|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1803,7 +1803,7 @@ sub generate_report {
print $item->{code};
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1968,7 +1968,7 @@ sub requirements {
</form>
|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -2171,7 +2171,7 @@ sub requirements_report {
$form->hide_form(qw(callback path login sessionid));
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -3091,7 +3091,7 @@ sub stock_assembly {
</form>
|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
diff --git a/bin/ir.pl b/bin/ir.pl
index 4027098e..a43cd2f5 100755
--- a/bin/ir.pl
+++ b/bin/ir.pl
@@ -613,7 +613,7 @@ sub form_footer {
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
diff --git a/bin/is.pl b/bin/is.pl
index eeaf13cb..b1e4664c 100755
--- a/bin/is.pl
+++ b/bin/is.pl
@@ -682,7 +682,7 @@ sub form_footer {
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
diff --git a/bin/jc.pl b/bin/jc.pl
index 91d32afb..d80c5557 100755
--- a/bin/jc.pl
+++ b/bin/jc.pl
@@ -298,7 +298,7 @@ sub search {
</form>
|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -656,7 +656,7 @@ sub timecard_footer {
for (keys %button) { delete $button{$_} if ! $a{$_} }
for (sort { $button{$a}->{ndx} <=> $button{$b}->{ndx} } keys %button) { $form->print_button(\%button, $_) }
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -866,7 +866,7 @@ sub storescard_footer {
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1525,7 +1525,7 @@ sub list_timecard {
print $item->{code};
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1704,7 +1704,7 @@ sub list_storescard {
print $item->{code};
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
diff --git a/bin/oe.pl b/bin/oe.pl
index 39ab620e..90d8fd89 100755
--- a/bin/oe.pl
+++ b/bin/oe.pl
@@ -774,7 +774,7 @@ sub form_footer {
for (keys %button) { delete $button{$_} if ! $a{$_} }
for (sort { $button{$a}->{ndx} <=> $button{$b}->{ndx} } keys %button) { $form->print_button(\%button, $_) }
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1260,7 +1260,7 @@ sub search {
</form>
|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1672,7 +1672,7 @@ sub transactions {
for (sort { $a->{order} <=> $b->{order} } %button) { print $_->{code} }
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -2439,7 +2439,7 @@ sub display_ship_receive {
$form->print_button(\%button, 'Done');
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -2556,7 +2556,7 @@ sub search_transfer {
</form>
|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -2708,7 +2708,7 @@ print qq|
print qq|
<input class=submit type=submit name=action value="|.$locale->text('Transfer').qq|">|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -2917,7 +2917,7 @@ BLANKROW:
print qq|
<input class=submit type=submit name=action value="|.$locale->text('Select Vendor').qq|">|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -3001,7 +3001,7 @@ sub select_vendor {
</form>
|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
diff --git a/bin/pe.pl b/bin/pe.pl
index 8fdc4aae..67222607 100755
--- a/bin/pe.pl
+++ b/bin/pe.pl
@@ -398,7 +398,7 @@ sub job_footer {
for (sort { $button{$a}->{ndx} <=> $button{$b}->{ndx} } keys %button) { $form->print_button(\%button, $_) }
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -745,7 +745,7 @@ sub search {
</form>
|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -953,7 +953,7 @@ sub list_projects {
print $item->{code};
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1065,7 +1065,7 @@ sub project_footer {
for (sort { $button{$a}->{ndx} <=> $button{$b}->{ndx} } keys %button) { $form->print_button(\%button, $_) }
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1284,7 +1284,7 @@ sub partsgroup_report {
print $item->{code};
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1360,7 +1360,7 @@ sub partsgroup_footer {
}
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1480,7 +1480,7 @@ sub pricegroup_report {
print $item->{code};
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1554,7 +1554,7 @@ sub pricegroup_footer {
}
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1763,7 +1763,7 @@ sub list_translations {
$form->hide_form(qw(path login sessionid));
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1899,7 +1899,7 @@ sub translation_footer {
for (sort { $button{$a}->{ndx} <=> $button{$b}->{ndx} } keys %button) { $form->print_button(\%button, $_) }
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -2223,7 +2223,7 @@ sub project_sales_order {
</form>
|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -2406,7 +2406,7 @@ sub jcitems {
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
diff --git a/bin/pos.pl b/bin/pos.pl
index 3a1b2c99..d9d1d4bd 100755
--- a/bin/pos.pl
+++ b/bin/pos.pl
@@ -577,7 +577,7 @@ sub form_footer {
}
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1041,7 +1041,7 @@ sub receipts {
<input type=submit class=submit name=action value="|.$locale->text('Continue').qq|">
|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
diff --git a/bin/rc.pl b/bin/rc.pl
index 9e47abeb..2daed931 100755
--- a/bin/rc.pl
+++ b/bin/rc.pl
@@ -172,7 +172,7 @@ sub reconciliation {
</form>
|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -744,7 +744,7 @@ sub display_form {
$close_next |;
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
diff --git a/bin/rp.pl b/bin/rp.pl
index c5b1d9cc..752ea264 100755
--- a/bin/rp.pl
+++ b/bin/rp.pl
@@ -778,7 +778,7 @@ $gifi
</form>
|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -1700,7 +1700,7 @@ sub aging {
}
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}
@@ -2505,7 +2505,7 @@ sub list_payments {
</table>
|;
- if ($form->{menubar}) {
+ if ($form->{lynx}) {
require "bin/menu.pl";
&menubar;
}