1 #=====================================================================
 
   4 # Based on SQL-Ledger Version 2.1.9
 
   5 # Web http://www.lx-office.org
 
   7 ######################################################################
 
   8 # SQL-Ledger Accounting
 
   9 # Copyright (c) 1998-2002
 
  11 #  Author: Dieter Simader
 
  12 #   Email: dsimader@sql-ledger.org
 
  13 #     Web: http://www.sql-ledger.org
 
  16 # This program is free software; you can redistribute it and/or modify
 
  17 # it under the terms of the GNU General Public License as published by
 
  18 # the Free Software Foundation; either version 2 of the License, or
 
  19 # (at your option) any later version.
 
  21 # This program is distributed in the hope that it will be useful,
 
  22 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 
  23 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
  24 # GNU General Public License for more details.
 
  25 # You should have received a copy of the GNU General Public License
 
  26 # along with this program; if not, write to the Free Software
 
  27 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
  28 #######################################################################
 
  35 require "bin/mozilla/common.pl";
 
  36 require "bin/mozilla/todo.pl";
 
  45   $main::lxdebug->enter_sub();
 
  47   my %myconfig = %main::myconfig;
 
  48   $form->{todo_list}  =  create_todo_list('login_screen' => 1) if (!$form->{no_todo_list});
 
  50   $form->{stylesheet} =  $myconfig{stylesheet};
 
  51   $form->{title}      =  $::locale->text('kivitendo');
 
  52   $form->{interface}  = $::dispatcher->interface_type;
 
  54   # create the logo screen
 
  55   $form->header() unless $form->{noheader};
 
  57   print $form->parse_html_template('login/company_logo');
 
  59   $main::lxdebug->leave_sub();