X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fadmin.pl;h=3b37dab5ea5800b456fd19e9c63ee8542fc5f3dc;hb=840aea131eef33512dccc13184e01affafaafb37;hp=86d66018825165f0ffbe3049f91614d559f52532;hpb=311d35807a9a5fe47b24f7dc7b457ba832d53c1b;p=kivitendo-erp.git diff --git a/bin/mozilla/admin.pl b/bin/mozilla/admin.pl index 86d660188..3b37dab5e 100644 --- a/bin/mozilla/admin.pl +++ b/bin/mozilla/admin.pl @@ -473,9 +473,13 @@ sub form_header { } } - opendir CSS, "css/."; - @all = sort(grep({ /\.css$/ && ($_ ne "tabcontent.css") } readdir(CSS))); - closedir CSS; +# opendir CSS, "css/."; +# @all = grep /.*\.css$/, readdir CSS; +# closedir CSS; + +# css dir has styles that are not intended as general layouts. +# reverting to hardcoded list + @all = qw(lx-office-erp.css Win2000.css); foreach $item (@all) { if ($item eq $myconfig->{stylesheet}) { @@ -508,16 +512,16 @@ sub form_header { - + - - {password}> + + - + @@ -635,24 +639,25 @@ sub form_header { print qq| - + - + |; if ($item eq 'Pg') { + print qq| - + - + - + - + |; } @@ -668,13 +673,13 @@ sub form_header { - + |; } print qq| - {dbpasswd}> +
| . $locale->text('Login') . qq|
| . $locale->text('Password') . qq|{password}>
| . $locale->text('Name') . qq|
| . $locale->text('E-mail') . qq|| . $locale->text('Driver') . qq| $item $item | . $locale->text('Host') . qq|{"${item}_dbhost"}>
| . $locale->text('Dataset') . qq|{Pg_dbname}> | . $locale->text('Port') . qq|{Pg_dbport}>
| . $locale->text('User') . qq|{"${item}_dbuser"}> | . $locale->text('Password') . qq|{"${item}_dbpasswd"}>
| . $locale->text('Dataset') . qq| {"${item}_dbuser"}> | . $locale->text('Password') . qq|{"${item}_dbpasswd"}>
@@ -1286,9 +1291,9 @@ sub dbselect_source { | . $locale->text('User') . qq| - {dbuser}> + | . $locale->text('Password') . qq| - + @@ -1379,12 +1384,12 @@ sub update_dataset { {script}> -{dbdriver}> -{dbhost}> -{dbport}> -{dbuser}> -{dbpasswd}> -{dbdefault}> + + + + + + @@ -1467,7 +1472,7 @@ sub create_dataset { } opendir SQLDIR, "sql/." or $form - error($!); - foreach $item (sort grep /-chart\.sql/, readdir SQLDIR) { + foreach $item (sort grep /-chart\.sql\z/, readdir SQLDIR) { next if ($item eq 'Default-chart.sql'); $item =~ s/-chart\.sql//; push @charts, @@ -1483,7 +1488,7 @@ sub create_dataset {
| . $locale->text('The following Datasets need to be updated') . qq|

-{dbdriver}> -{dbuser}> -{dbhost}> -{dbport}> -{dbpasswd}> -{dbdefault}> + + + + + + @@ -1662,12 +1667,12 @@ sub delete_dataset {

-{dbdriver}> -{dbuser}> -{dbhost}> -{dbport}> -{dbpasswd}> -{dbdefault}> + + + + + +