From eca3a47857617e4283e53c30bba3588f5cf0d31c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 7 Dec 2011 19:03:42 +0100 Subject: [PATCH] gl.pl:search -> templates --- bin/mozilla/gl.pl | 239 +++--------------------------- templates/webpages/gl/search.html | 128 ++++++++++++++++ 2 files changed, 145 insertions(+), 222 deletions(-) create mode 100644 templates/webpages/gl/search.html diff --git a/bin/mozilla/gl.pl b/bin/mozilla/gl.pl index 625490dc8..6ed1e4c44 100644 --- a/bin/mozilla/gl.pl +++ b/bin/mozilla/gl.pl @@ -211,232 +211,27 @@ sub edit { sub search { - $main::lxdebug->enter_sub(); - - $main::auth->assert('general_ledger'); - - my $form = $main::form; - my %myconfig = %main::myconfig; - my $locale = $main::locale; - my $cgi = $::request->{cgi}; - - $form->{title} = $locale->text('Journal'); - - $form->all_departments(\%myconfig); - - # departments - if (@{ $form->{all_departments} || [] }) { - $form->{selectdepartment} = "