summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2005-11-18 23:08:51 +0000
committerxue <>2005-11-18 23:08:51 +0000
commit53cb82bd1525adac534404657310961dc53796b2 (patch)
tree00bd4c17c146a5fef1d5a398e7e20507dff496d3
parent54f6740a4aeeae3463759031674922acfe421748 (diff)
-rw-r--r--.gitattributes2
-rw-r--r--framework/Exceptions/error500-en.tpl29
-rw-r--r--framework/Exceptions/error500-zh.tpl28
3 files changed, 59 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 8edc9342..08f1b974 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -43,6 +43,8 @@ framework/Exceptions/error.tpl -text
framework/Exceptions/error404-en.tpl -text
framework/Exceptions/error404-zh.tpl -text
framework/Exceptions/error404.tpl -text
+framework/Exceptions/error500-en.tpl -text
+framework/Exceptions/error500-zh.tpl -text
framework/Exceptions/error500.tpl -text
framework/Exceptions/exception.tpl -text
framework/Exceptions/messages.en -text
diff --git a/framework/Exceptions/error500-en.tpl b/framework/Exceptions/error500-en.tpl
new file mode 100644
index 00000000..2f0901fb
--- /dev/null
+++ b/framework/Exceptions/error500-en.tpl
@@ -0,0 +1,29 @@
+<html>
+<head>
+<title>Internal Server Error</title>
+<style>
+body {font-family:"Verdana";font-weight:normal;color:black;}
+h1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
+h2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
+h3 {font-family:"Verdana";font-weight:bold;font-size:11pt}
+p {font-family:"Verdana";font-weight:normal;color:black;font-size:9pt;margin-top: -5px}
+.version {color: gray;font-size:8pt;border-top:1px solid #aaaaaa;}
+</style>
+</head>
+
+<body bgcolor="white">
+<h1>Internal Server Error</h1>
+<h2>%%ErrorMessage%%</h2>
+<p>
+An internal error occurred while the Web server was handling your request.
+Please contact the <a href="mailto:%%ServerAdmin%%">webmaster</a> to report this problem.
+</p>
+<p>
+Thank you.
+</p>
+<div class="version">
+%%Version%%<br/>
+%%Time%%
+</div>
+</body>
+</html> \ No newline at end of file
diff --git a/framework/Exceptions/error500-zh.tpl b/framework/Exceptions/error500-zh.tpl
new file mode 100644
index 00000000..4c7f6436
--- /dev/null
+++ b/framework/Exceptions/error500-zh.tpl
@@ -0,0 +1,28 @@
+<html>
+<head>
+<title>服务器内部错误</title>
+<style>
+body {font-family:"Verdana";font-weight:normal;color:black;}
+h1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
+h2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
+h3 {font-family:"Verdana";font-weight:bold;font-size:11pt}
+p {font-family:"Verdana";font-weight:normal;color:black;font-size:9pt;margin-top: -5px}
+.version {color: gray;font-size:8pt;border-top:1px solid #aaaaaa;}
+</style>
+</head>
+
+<body bgcolor="white">
+<h1>服务器内部错误</h1>
+<h2>%%ErrorMessage%%</h2>
+<p>
+服务器在处理您的请求时发生了一个内部错误。请向<a href="mailto:%%ServerAdmin%%">系统管理员</a>汇报这个错误。
+</p>
+<p>
+谢谢。
+</p>
+<div class="version">
+%%Version%%<br/>
+%%Time%%
+</div>
+</body>
+</html> \ No newline at end of file