}
input {
+ font-size: 12px;
background-color: #408080;
color: #FFFFFF;
border-color: #102020;
}
select {
+ font-size: 12px;
padding: 3px;
background-color: #408080;
color: #FFFFFF;
print $kiriwrite_lang{$language_selected}{presentationmodule};
print end_td();
print start_td({ -class => "tabledata" });
-print popup_menu({ -name => 'presmodule', -values => $presentation_modules_ref });
+print popup_menu({ -name => 'presmodule', -values => $presentation_modules_ref, -default => "HTML4S" });
print end_td();
print end_Tr();
print $kiriwrite_lang{$language_selected}{databasemodule};
print end_td();
print start_td({ -class => "tabledata" });
-print popup_menu({ -name => 'dbmodule', -values => $database_modules_ref });
+print popup_menu({ -name => 'dbmodule', -values => $database_modules_ref, -default => "SQLite" });
print end_td();
print end_Tr();
# Convert the password to make sure it can be read properly.
- $settings_database_password =~ s/\0//g;
- $settings_database_password =~ s/</</g;
- $settings_database_password =~ s/>/>/g;
+ if ($settings_database_password){
+
+ $settings_database_password =~ s/\0//g;
+ $settings_database_password =~ s/</</g;
+ $settings_database_password =~ s/>/>/g;
+
+ }
# Convert the less than and greater than characters are there and
# convert them.
- $settings_imagesuri =~ s/</</g;
- $settings_imagesuri =~ s/>/>/g;
+ if ($settings_imagesuri){
+
+ $settings_imagesuri =~ s/</</g;
+ $settings_imagesuri =~ s/>/>/g;
+
+ }
+
+ # Check if the database password value is undefined and if it is then
+ # set it blank.
+
+ if (!$settings_database_password){
+
+ $settings_database_password = "";
+
+ }
# Create the XML data layout.