Revision 871a70f0
Von Moritz Bunkus vor fast 12 Jahren hinzugefügt
bin/mozilla/admin.pl | ||
---|---|---|
80 | 80 |
my @all_menustyles = ( |
81 | 81 |
{ id => 'old', title => $::locale->text('Old (on the side)') }, |
82 | 82 |
{ id => 'v3', title => $::locale->text('Top (CSS)') }, |
83 |
{ id => 'v4', title => $::locale->text('Top (CSS) new') }, |
|
84 | 83 |
{ id => 'neu', title => $::locale->text('Top (Javascript)') }, |
85 | 84 |
); |
86 | 85 |
|
... | ... | |
380 | 379 |
sub add_user { |
381 | 380 |
$::form->{title} = "kivitendo " . $::locale->text('Administration') . " / " . $::locale->text('Add User'); |
382 | 381 |
|
383 |
# Note: Menu Style 'v3' is not compatible to all browsers! |
|
384 |
# "menustyle" => "old" sets the HTML Menu to default. |
|
385 |
# User does not have a well behaved new constructor, so we#Ll just have to build one ourself |
|
382 |
# User does not have a well behaved new constructor, so we'll just have to build one ourself |
|
386 | 383 |
my $user = bless { |
387 | 384 |
"vclimit" => 200, |
388 | 385 |
"countrycode" => "de", |
389 | 386 |
"numberformat" => "1.000,00", |
390 | 387 |
"dateformat" => "dd.mm.yy", |
391 | 388 |
"stylesheet" => "kivitendo.css", |
392 |
"menustyle" => "old",
|
|
389 |
"menustyle" => "neu",
|
|
393 | 390 |
dbport => $::auth->{DB_config}->{port} || 5432, |
394 | 391 |
dbuser => $::auth->{DB_config}->{user} || 'lxoffice', |
395 | 392 |
dbhost => $::auth->{DB_config}->{host} || 'localhost', |
Auch abrufbar als: Unified diff
Menüsysteme v3 & v4 verschmolzen (Stil von v4, Name & Code von v3)