Revision aa7497ba
Von Sven Schöling vor mehr als 3 Jahren hinzugefügt
SL/Controller/LoginScreen.pm | ||
---|---|---|
168 | 168 |
$::request->{layout} = $::request->is_mobile |
169 | 169 |
? SL::Layout::Dispatcher->new(style => 'mobile_login') |
170 | 170 |
: SL::Layout::Dispatcher->new(style => 'login'); |
171 |
|
|
172 |
$::lxdebug->dump(0, "layout", $::request->{layout}); |
|
173 | 171 |
} |
174 | 172 |
|
175 | 173 |
sub init_clients { |
... | ... | |
185 | 183 |
sub show_login_form { |
186 | 184 |
my ($self, %params) = @_; |
187 | 185 |
|
188 |
if ($::request->is_mobile) { |
|
189 |
$self->render('login_screen/mobile_login', %params, version => SL::Version->get_version, callback => $::form->{callback}); |
|
190 |
} else { |
|
191 |
$self->render('login_screen/user_login', %params, version => SL::Version->get_version, callback => $::form->{callback}); |
|
192 |
} |
|
186 |
$self->render('login_screen/user_login', %params, version => SL::Version->get_version, callback => $::form->{callback}); |
|
193 | 187 |
} |
194 | 188 |
|
195 | 189 |
1; |
Auch abrufbar als: Unified diff
LoginScreen: dump entfernt