aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-07-02 11:21:25 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-07-02 11:21:25 +0000
commitc2060719d358d60cb4f4204a6c79abebf6ff9b90 (patch)
tree62a40d7befd907b3b2ed87d05091f603ccbfa64b
parent20d27f6b743bc3425a75b0d07fd79b76e68d37e8 (diff)
downloadrails-c2060719d358d60cb4f4204a6c79abebf6ff9b90.tar.gz
rails-c2060719d358d60cb4f4204a6c79abebf6ff9b90.tar.bz2
rails-c2060719d358d60cb4f4204a6c79abebf6ff9b90.zip
Added a DOCTYPE of HTML transitional to the HTML files generated by Rails #1124 [Michael Koziarski]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1605 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r--actionpack/lib/action_controller/templates/scaffolds/layout.rhtml2
-rw-r--r--railties/CHANGELOG4
-rw-r--r--railties/html/404.html2
-rw-r--r--railties/html/500.html2
-rw-r--r--railties/html/index.html2
5 files changed, 11 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/templates/scaffolds/layout.rhtml b/actionpack/lib/action_controller/templates/scaffolds/layout.rhtml
index 80996985d2..f03588ffa0 100644
--- a/actionpack/lib/action_controller/templates/scaffolds/layout.rhtml
+++ b/actionpack/lib/action_controller/templates/scaffolds/layout.rhtml
@@ -1,3 +1,5 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Scaffolding</title>
diff --git a/railties/CHANGELOG b/railties/CHANGELOG
index 18ab2ba0b9..b22851552a 100644
--- a/railties/CHANGELOG
+++ b/railties/CHANGELOG
@@ -1,8 +1,10 @@
*SVN*
+* Added a DOCTYPE of HTML transitional to the HTML files generated by Rails #1124 [Michael Koziarski]
+
* SIGTERM also gracefully exits dispatch.fcgi. Ignore SIGUSR1 on Windows.
-* Add the option to manually manage garbage collection in the FastCGI dispatcher. Set the number of requests between GC runs in your public/dispatch.fcgi. [skaes@web.de]
+* Add the option to manually manage garbage collection in the FastCGI dispatcher. Set the number of requests between GC runs in your public/dispatch.fcgi [skaes@web.de]
* Allow dynamic application reloading for dispatch.fcgi processes by sending a SIGHUP. If the process is currently handling a request, the request will be allowed to complete first. This allows production fcgi's to be reloaded without having to restart them.
diff --git a/railties/html/404.html b/railties/html/404.html
index edbc89bf99..0e1845619d 100644
--- a/railties/html/404.html
+++ b/railties/html/404.html
@@ -1,3 +1,5 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
<h1>File not found</h1>
diff --git a/railties/html/500.html b/railties/html/500.html
index ee0c919c4a..a1001a008d 100644
--- a/railties/html/500.html
+++ b/railties/html/500.html
@@ -1,3 +1,5 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
<h1>Application error (Apache)</h1>
diff --git a/railties/html/index.html b/railties/html/index.html
index f1d84b2c94..d547e7fa04 100644
--- a/railties/html/index.html
+++ b/railties/html/index.html
@@ -1,3 +1,5 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Rails: Welcome on board</title>