# Language file contains invalid permissions so return an critical error.
- kiriwrite_critical("languagefilepermissions");
+ kiriwrite_critical("languagefilenameinvalidpermissions");
}
# date is set in the past.
print "Expires: Sun, 01 Jan 2006 00:00:00 GMT\r\n";
- print "Content-Type: charset=utf-8;\r\n\r\n";
+ print "Content-Type: text/html; charset=utf-8;\r\n\r\n";
return;
}
}
print "Expires: Sun, 01 Jan 2006 00:00:00 GMT\r\n";
- print "Content-Type: charset=utf-8;\r\n\r\n";
+ print "Content-Type: text/html; charset=utf-8;\r\n\r\n";
print "Critical Error: " . $error_list{$error_type};
exit;
if (@permissions_list){
+ $kiriwrite_presmodule->addlinebreak();
+
$kiriwrite_presmodule->addtext($kiriwrite_lang->{database}->{databaseinvalidpermissions}, { Style => "smallpageheader" });
$kiriwrite_presmodule->addlinebreak();
$kiriwrite_presmodule->addtext($kiriwrite_lang->{database}->{databaseinvalidpermissionstext});
$kiriwrite_presmodule->addtext($database);
}
-
- $kiriwrite_presmodule->addlinebreak();
- $kiriwrite_presmodule->addlinebreak();
+ $kiriwrite_presmodule->addlinebreak();
+
}
if (@error_list){
+ $kiriwrite_presmodule->addlinebreak();
+
$kiriwrite_presmodule->addtext($kiriwrite_lang->{database}->{databaseerrors}, { Style => "smallpageheader" });
$kiriwrite_presmodule->addlinebreak();
$kiriwrite_presmodule->addtext($kiriwrite_lang->{database}->{databaseerrorstext});
# The filter database doesn't exist so write
# a message.
- $filterswarning = $kiriwrite_lang->{filter}->{filterdatabasedoesnotexist};
+ $kiriwrite_presmodule->clear();
+ $kiriwrite_presmodule->addtext(kiriwrite_language($kiriwrite_lang->{filter}->{viewfilters}, $db_name), { Style => "pageheader" });
+ $kiriwrite_presmodule->addlinebreak();
+ $kiriwrite_presmodule->addlinebreak();
+ $kiriwrite_presmodule->startbox("errorbox");
+ $kiriwrite_presmodule->enterdata($kiriwrite_lang->{filter}->{filterdatabasedoesnotexist});
+ $kiriwrite_presmodule->endbox();
+
+ # Disconnect from the filter database.
+
+ $kiriwrite_dbmodule->disconnectfilter();
+ # Disconnect from the database server.
+
+ $kiriwrite_dbmodule->disconnect();
+ return $kiriwrite_presmodule->grab();
}
$kiriwrite_presmodule->addtext($kiriwrite_lang->{pages}->{pagename});
$kiriwrite_presmodule->endcell();
$kiriwrite_presmodule->addcell("tablecell2");
- $kiriwrite_presmodule->addinputbox("pagename", { Size => 64, MaxLength => 256, Value => $data_name });
+ $kiriwrite_presmodule->addinputbox("pagename", { Size => 64, MaxLength => 512, Value => $data_name });
$kiriwrite_presmodule->endcell();
$kiriwrite_presmodule->endrow();
$kiriwrite_presmodule->addtext($kiriwrite_lang->{pages}->{pagedescription});
$kiriwrite_presmodule->endcell();
$kiriwrite_presmodule->addcell("tablecell2");
- $kiriwrite_presmodule->addinputbox("pagedescription", { Size => 64, MaxLength => 256, Value => $data_description });
+ $kiriwrite_presmodule->addinputbox("pagedescription", { Size => 64, MaxLength => 512, Value => $data_description });
$kiriwrite_presmodule->endcell();
$kiriwrite_presmodule->endrow();
# The database permissions are invalid so return an error.
- kiriwrite_error("databaseinvalidpermissions");
+ kiriwrite_error("oldmovedatabasefileinvalidpermissions");
}
# The database permissions are invalid so return an error.
- kiriwrite_error("databaseinvalidpermissions");
+ kiriwrite_error("newmovedatabasefileinvalidpermissions");
}
# The database permissions are invalid so return an error.
- kiriwrite_error("databaseinvalidpermissions");
+ kiriwrite_error("newcopydatabasefileinvalidpermissions");
}
$kiriwrite_presmodule->addcell($template_stylename);
$kiriwrite_presmodule->addtext($template_info{"TemplateFilename"});
- # Check if the blank template value was set.
-
- if (!$template_info{"TemplateLayout"}){
- $kiriwrite_presmodule->additalictext(" " . "[Blank Template]");
- }
+# # Check if the blank template value was set.
+#
+# if (!$template_info{"TemplateLayout"}){
+# $kiriwrite_presmodule->additalictext(" " . "[Blank Template]");
+# }
$kiriwrite_presmodule->endcell();
$kiriwrite_presmodule->addcell($template_stylename);