#19653080 New Feature : You can use HTML5 DTD as a document type.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8279 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-04-07 06:32:55 +00:00
parent 52f37ded17
commit 283f1e6334
13 changed files with 49 additions and 5 deletions

View file

@ -33,6 +33,7 @@
Context::set('time_zone', $GLOBALS['_time_zone']);
Context::set('use_rewrite', $db_info->use_rewrite=='Y'?'Y':'N');
Context::set('use_sso', $db_info->use_sso=='Y'?'Y':'N');
Context::set('use_html5', $db_info->use_html5=='Y'?'Y':'N');
Context::set('use_spaceremover', $db_info->use_spaceremover?$db_info->use_spaceremover:'Y');
Context::set('qmail_compatibility', $db_info->qmail_compatibility=='Y'?'Y':'N');
Context::set('use_db_session', $db_info->use_db_session=='N'?'N':'Y');

View file

@ -91,4 +91,7 @@
$lang->last_week = 'Last week';
$lang->this_week = 'This week';
$lang->use_html5 = 'HTML5 DTD';
$lang->about_html5 = 'Use HTML5 DTD';
?>

View file

@ -90,4 +90,7 @@
$lang->last_week = 'Last week';
$lang->this_week = 'This week';
$lang->use_html5 = 'HTML5 DTD';
$lang->about_html5 = 'Use HTML5 DTD';
?>

View file

@ -90,4 +90,7 @@
$lang->last_week = '先週';
$lang->this_week = '今週';
$lang->use_html5 = 'HTML5 DTD';
$lang->about_html5 = 'Use HTML5 DTD';
?>

View file

@ -90,4 +90,7 @@
$lang->last_week = '지난 주';
$lang->this_week = '이번 주';
$lang->use_html5 = 'HTML5 DTD';
$lang->about_html5 = 'HTML5를 문서의 DTD로 사용합니다.';
?>

View file

@ -88,4 +88,7 @@
$lang->last_week = 'Last week';
$lang->this_week = 'This week';
$lang->use_html5 = 'HTML5 DTD';
$lang->about_html5 = 'Use HTML5 DTD';
?>

View file

@ -89,4 +89,7 @@
$lang->last_week = 'Geçen Hafta';
$lang->this_week = 'Bu Hafta';
$lang->use_html5 = 'HTML5 DTD';
$lang->about_html5 = 'Use HTML5 DTD';
?>

View file

@ -92,4 +92,7 @@
$lang->last_week = 'Last week';
$lang->this_week = 'This week';
$lang->use_html5 = 'HTML5 DTD';
$lang->about_html5 = 'Use HTML5 DTD';
?>

View file

@ -89,4 +89,7 @@
$lang->last_week = 'Last week';
$lang->this_week = 'This week';
$lang->use_html5 = 'HTML5 DTD';
$lang->about_html5 = 'Use HTML5 DTD';
?>

View file

@ -89,4 +89,7 @@
$lang->last_week = '上週';
$lang->this_week = '本週';
$lang->use_html5 = 'HTML5 DTD';
$lang->about_html5 = 'Use HTML5 DTD';
?>

View file

@ -10,10 +10,10 @@
<script type="text/javascript">
function insertSelectedModule(id, module_srl, mid, browser_title) {
var obj= xGetElementById('_'+id);
var sObj = xGetElementById(id);
sObj.value = module_srl;
obj.value = decodeURIComponent(browser_title.replace(/\+/g," "))+' ('+mid+')';
jQuery('#'+id).val(module_srl);
browser_title = decodeURIComponent(browser_title.replace(/\+/g,' '));
jQuery('#_'+id).val( browser_title+' ('+mid+')' );
}
var xe_root = "{_XE_PATH_}";
</script>
@ -24,6 +24,13 @@
<form action="./" method="get" onsubmit="return procFilter(this, update_env_config);">
<table cellspacing="0" class="rowTable">
<tr>
<th><div>{$lang->use_html5}</div></th>
<td>
<input type="checkbox" id="use_html5" name="use_html5" value="Y" checked="checked"|cond="$use_html5=='Y'" />
<label for="use_html5">{$lang->about_html5}</label>
</td>
</tr>
<tr>
<th><div>{$lang->use_rewrite}</div></th>
<td>

View file

@ -62,6 +62,9 @@
$use_ssl = Context::get('use_ssl');
if(!$use_ssl) $use_ssl = 'none';
$use_html5 = Context::get('use_html5');
if(!$use_html5) $use_html5 = 'N';
$http_port = Context::get('http_port');
$https_port = Context::get('https_port');
@ -77,6 +80,7 @@
$db_info->use_rewrite = $use_rewrite;
$db_info->use_sso = $use_sso;
$db_info->use_ssl = $use_ssl;
$db_info->use_html5 = $use_html5;
$db_info->use_mobile_view = $use_mobile_view;
if($http_port) $db_info->http_port = (int) $http_port;
else if($db_info->http_port) unset($db_info->http_port);