Kosmetik
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 29 Jun 2011 08:45:56 +0000 (10:45 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 29 Jun 2011 08:45:56 +0000 (10:45 +0200)
SL/Controller/Base.pm
SL/Dispatcher.pm
scripts/console

index 392f441..f8eee88 100644 (file)
@@ -65,15 +65,15 @@ sub render {
   }
 
   my %params = ( %locals,
-                 AUTH     => $::auth,
-                 FLASH    => $::form->{FLASH},
-                 FORM     => $::form,
+                 AUTH          => $::auth,
+                 FLASH         => $::form->{FLASH},
+                 FORM          => $::form,
                  INSTANCE_CONF => $::instance_conf,
-                 LOCALE   => $::locale,
-                 LXCONFIG => \%::lx_office_conf,
-                 LXDEBUG  => $::lxdebug,
-                 MYCONFIG => \%::myconfig,
-                 SELF     => $self,
+                 LOCALE        => $::locale,
+                 LXCONFIG      => \%::lx_office_conf,
+                 LXDEBUG       => $::lxdebug,
+                 MYCONFIG      => \%::myconfig,
+                 SELF          => $self,
                );
 
   my $output;
index 03f1c57..4aadef7 100644 (file)
@@ -169,10 +169,10 @@ sub handle_request {
 
   $self->unrequire_bin_mozilla;
 
-  $::cgi         = CGI->new('');
-  $::locale      = Locale->new($::lx_office_conf{system}->{language});
-  $::form        = Form->new;
-  %::called_subs = ();
+  $::cgi           = CGI->new('');
+  $::locale        = Locale->new($::lx_office_conf{system}->{language});
+  $::form          = Form->new;
+  %::called_subs   = ();
   $::instance_conf = SL::InstanceConfiguration->new;
 
   my $session_result = $::auth->restore_session;
index b9b4745..d567c56 100755 (executable)
@@ -60,11 +60,11 @@ sub lxinit {
 
   package main;
 
-  $::lxdebug = LXDebug->new(file => $debug_file);
-  $::locale = Locale->new($::lx_office_conf{system}->{language});
-  $::cgi    = CGI->new qw();
-  $::form   = Form->new;
-  $::auth   = SL::Auth->new;
+  $::lxdebug       = LXDebug->new(file => $debug_file);
+  $::locale        = Locale->new($::lx_office_conf{system}->{language});
+  $::cgi           = CGI->new qw();
+  $::form          = Form->new;
+  $::auth          = SL::Auth->new;
   $::instance_conf = SL::InstanceConfiguration->new;
 
   die 'cannot reach auth db'               unless $::auth->session_tables_present;