--- /dev/null
+<?php
+
+/**
+ * This file contains an array of doctype settings.
+ * These declarations have been taken directly from the w3c website:
+ * http://www.w3c.org/
+ *
+ */
+
+// Array of defaults:
+$default['default'][0] = 'XHTML 1.0 Transitional';
+
+$default['xhtml'][0] = 'XHTML 1.0 Strict';
+$default['xhtml']['1.0'][0] = 'XHTML 1.0 Strict';
+$default['xhtml']['basic'][0] = 'XHTML Basic 1.0';
+
+$default['html'][0] = 'HTML 4.01 Strict';
+$default['html']['4.01'][0] = 'HTML 4.01 Strict';
+
+// Array of doctype declarations:
+
+// XHTML 1.0 Strict
+$doctype['xhtml']['1.0']['strict'][] = '<!DOCTYPE html';
+$doctype['xhtml']['1.0']['strict'][] = ' PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"';
+$doctype['xhtml']['1.0']['strict'][] = ' "http://www.w3c.org/TR/xhtml1/DTD/xhtml1-strict.dtd">';
+
+// XHTML 1.0 Transitional
+$doctype['xhtml']['1.0']['transitional'][] = '<!DOCTYPE html';
+$doctype['xhtml']['1.0']['transitional'][] = ' PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"';
+$doctype['xhtml']['1.0']['transitional'][] = ' "http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">';
+
+// XHTML 1.0 Frameset
+$doctype['xhtml']['1.0']['frameset'][] = '<!DOCTYPE html';
+$doctype['xhtml']['1.0']['frameset'][] = ' PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"';
+$doctype['xhtml']['1.0']['frameset'][] = ' "http://www.w3c.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">';
+
+// all ready for this :)
+// XHTML 1.1
+$doctype['xhtml']['1.1'][] = '<!DOCTYPE html';
+$doctype['xhtml']['1.1'][] = ' PUBLIC "-//W3C//DTD XHTML 1.1//EN"';
+$doctype['xhtml']['1.1'][] = ' "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">';
+
+// XHTML Basic 1.0
+$doctype['xhtml']['basic']['1.0'][] = '<!DOCTYPE html';
+$doctype['xhtml']['basic']['1.0'][] = ' PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"';
+$doctype['xhtml']['basic']['1.0'][] = ' "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">';
+
+// HTML 4.01 Strict
+$doctype['html']['4.01']['strict'][] = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"';
+$doctype['html']['4.01']['strict'][] = ' "http://www.w3.org/TR/html4/strict.dtd">';
+
+// HTML 4.01 Transitional
+$doctype['html']['4.01']['transitional'][] = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"';
+$doctype['html']['4.01']['transitional'][] = ' "http://www.w3.org/TR/html4/loose.dtd">';
+
+// HTML 4.01 Frameset
+$doctype['html']['4.01']['frameset'][] = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"';
+$doctype['html']['4.01']['frameset'][] = ' "http://www.w3.org/TR/html4/frameset.dtd">';
+
+// Since the following is simply historic, I'm not adding the level 1 & 2 or strict stuff.
+// This doctype should be sufficient for most historic uses.
+
+// HTML 2.0
+$doctype['html']['2.0'][] = '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">';
+
+// HTML 3.2
+$doctype['html']['3.2'][] = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">';
+
+?>
\ No newline at end of file