Skip to content

Commit

Permalink
Print and post buttons removed
Browse files Browse the repository at this point in the history
Some additional suexec issues fixed

git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/branches/1.3@3878 4979c152-3d1c-0410-bac9-87ea11338e46
  • Loading branch information
einhverfr committed Oct 17, 2011
1 parent 930b8df commit 3a87694
Show file tree
Hide file tree
Showing 13 changed files with 40 additions and 35 deletions.
5 changes: 0 additions & 5 deletions account.pl
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,4 @@ BEGIN
}

require "lsmb-request.pl";
#!/usr/bin/perl

require "lsmb-request.pl";
#!/usr/bin/perl

require "lsmb-request.pl";
5 changes: 5 additions & 0 deletions admin.pl
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/usr/bin/perl
use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}


require 'lsmb-request.pl';
7 changes: 0 additions & 7 deletions bin/aa.pl
Original file line number Diff line number Diff line change
Expand Up @@ -947,11 +947,9 @@ sub form_footer {
# type=submit $locale->text('Update')
# type=submit $locale->text('Print')
# type=submit $locale->text('Post')
# type=submit $locale->text('Print and Post')
# type=submit $locale->text('Schedule')
# type=submit $locale->text('Ship to')
# type=submit $locale->text('Post as new')
# type=submit $locale->text('Print and Post as new')
# type=submit $locale->text('Delete')

if ( !$form->{readonly} ) {
Expand All @@ -970,11 +968,6 @@ sub form_footer {
'print' =>
{ ndx => 2, key => 'P', value => $locale->text('Print') },
'post' => { ndx => 3, key => 'O', value => $locale->text('Post') },
'print_and_post' => {
ndx => 4,
key => 'R',
value => $locale->text('Print and Post')
},
'schedule' =>
{ ndx => 7, key => 'H', value => $locale->text('Schedule') },
'delete' =>
Expand Down
14 changes: 0 additions & 14 deletions bin/is.pl
Original file line number Diff line number Diff line change
Expand Up @@ -895,11 +895,9 @@ sub form_footer {
# type=submit $locale->text('Update')
# type=submit $locale->text('Print')
# type=submit $locale->text('Post')
# type=submit $locale->text('Print and Post')
# type=submit $locale->text('Schedule')
# type=submit $locale->text('Ship to')
# type=submit $locale->text('Post as new')
# type=submit $locale->text('Print and Post as new')
# type=submit $locale->text('E-mail')
# type=submit $locale->text('Delete')
# type=submit $locale->text('Sales Order')
Expand All @@ -922,18 +920,6 @@ sub form_footer {
{ ndx => 4, key => 'T', value => $locale->text('Ship to') },
'e_mail' =>
{ ndx => 5, key => 'E', value => $locale->text('E-mail') },
'print_and_post' => {
ndx => 6,
key => 'R',
value => $locale->text('Print and Post')
},
'post_as_new' =>
{ ndx => 7, key => 'N', value => $locale->text('Post as new') },
'print_and_post_as_new' => {
ndx => 8,
key => 'W',
value => $locale->text('Print and Post as new')
},
'sales_order' =>
{ ndx => 9, key => 'L', value => $locale->text('Sales Order') },
'schedule' =>
Expand Down
5 changes: 5 additions & 0 deletions customer.pl
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/usr/bin/perl
use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}


require 'lsmb-request.pl';
5 changes: 5 additions & 0 deletions drafts.pl
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/usr/bin/perl
use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}


require 'lsmb-request.pl';
5 changes: 5 additions & 0 deletions file.pl
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/usr/bin/perl
use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}


require 'lsmb-request.pl';
6 changes: 0 additions & 6 deletions journal.pl
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,3 @@ BEGIN
}

require "lsmb-request.pl";
#!/usr/bin/perl

require "lsmb-request.pl";
#!/usr/bin/perl

require "lsmb-request.pl";
5 changes: 5 additions & 0 deletions login.pl
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}

require 'lsmb-request.pl';
5 changes: 5 additions & 0 deletions recon.pl
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}

require 'lsmb-request.pl';
5 changes: 5 additions & 0 deletions setup.pl
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}

require 'lsmb-request.pl';
3 changes: 0 additions & 3 deletions upgrade.pl
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
#!/usr/bin/perl

`perl -ibak -pe 's|<\%(\.)\%>|<?lsmb $1 ?>|g' templates/*`
5 changes: 5 additions & 0 deletions vouchers.pl
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}

require 'lsmb-request.pl';

0 comments on commit 3a87694

Please sign in to comment.