SF Feature #2997986 - DTD stuff

This commit is contained in:
Deon George
2011-05-03 23:14:16 +10:00
parent a2828b2cf0
commit 66e24fb86c
6 changed files with 42 additions and 9 deletions

View File

@@ -212,7 +212,7 @@ abstract class DS {
case 'cookie':
set_cookie($method.'-USER',blowfish_encrypt($user),NULL,'/');
set_cookie($method.'-PASS',blowfish_encrypt($pass),NULL,'/');
return TRUE;
return true;
case 'config':
return true;
@@ -588,7 +588,6 @@ class Datastore {
'untested'=>true,
'default'=>null);
# Prefix for custom pages
$this->default->custom['pages_prefix'] = array(
'desc'=>'Prefix name for custom pages',

View File

@@ -79,8 +79,6 @@ class page {
ob_start();
# Initial Values
#$this->_pageheader[] .= '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"';
#$this->_pageheader[] .= '"http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">'."\n";
$this->_pageheader[] = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">';
$this->_pageheader[] .= '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="auto">'."\n";
}