mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 04:24:14 +09:00
mobile layout code cleanning
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12632 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4034d17455
commit
62be5d41ab
1 changed files with 44 additions and 45 deletions
|
|
@ -1,72 +1,71 @@
|
||||||
|
{@
|
||||||
|
$lang_type = Context::getLangType();
|
||||||
|
$ssl_actions = Context::getSSLActions();
|
||||||
|
$css_files=Context::getCssFile();
|
||||||
|
$js_files=Context::getJsFile();
|
||||||
|
}
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="{Context::getLangType()}">
|
<html lang="{$lang_type}">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" />
|
||||||
|
<!--// TITLE -->
|
||||||
<title>{Context::getBrowserTitle()}</title>
|
<title>{Context::getBrowserTitle()}</title>
|
||||||
{@ $css_files = Context::getCssFile() }
|
<!--// CSS-->
|
||||||
<!--@foreach($css_files as $key => $css_file)-->
|
<!--@foreach($css_files as $key => $css_file)-->
|
||||||
<!--@if($css_file['targetie'])-->
|
<!--@if($css_file['targetie'])--><!--[if {$css_file['targetie']}]><!--@end-->
|
||||||
<!--[if {$css_file['targetie']}]>
|
|
||||||
<!--@end-->
|
|
||||||
<link rel="stylesheet" href="{$css_file['file']}" media="{$css_file['media']}"|cond="$css_file['media'] != 'all'" />
|
<link rel="stylesheet" href="{$css_file['file']}" media="{$css_file['media']}"|cond="$css_file['media'] != 'all'" />
|
||||||
<!--@if($css_file['targetie'])-->
|
<!--@if($css_file['targetie'])--><![endif]--><!--@end-->
|
||||||
<![endif]-->
|
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
<!--@end-->
|
|
||||||
{@ $js_files = Context::getJsFile() }
|
<!--// JS -->
|
||||||
<!--@foreach($js_files as $key => $js_file)-->
|
<!--@foreach($js_files as $key => $js_file)-->
|
||||||
<!--@if($js_file['targetie'])-->
|
<!--@if($js_file['targetie'])--><!--[if {$js_file['targetie']}]><!--@end-->
|
||||||
<!--[if {$js_file['targetie']}]>
|
|
||||||
<!--@end-->
|
|
||||||
<script src="{$js_file['file']}"></script>
|
<script src="{$js_file['file']}"></script>
|
||||||
<!--@if($js_file['targetie'])-->
|
<!--@if($js_file['targetie'])--><![endif]--><!--@end-->
|
||||||
<![endif]-->
|
|
||||||
<!--@end-->
|
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
|
<!--[if lt IE 9]><script src="../js/html5.js"></script><![endif]-->
|
||||||
|
|
||||||
|
<!--// RSS -->
|
||||||
<!--@if($rss_url)-->
|
<!--@if($rss_url)-->
|
||||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="{$rss_url}" />
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="{$rss_url}" />
|
||||||
<link rel="alternate" type="application/atom+xml" title="Atom" href="{$atom_url}" />
|
<link rel="alternate" type="application/atom+xml" title="Atom" href="{$atom_url}" />
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
<!--@if($general_rss_url)-->
|
<!--@if($general_rss_url)-->
|
||||||
<link rel="alternate" type="application/rss+xml" title="Site RSS" href="{$general_rss_url}" />
|
<link rel="alternate" type="application/rss+xml" title="Site RSS" href="{$general_rss_url}" />
|
||||||
<link rel="alternate" type="application/atom+xml" title="Site Atom" href="{$general_atom_url}" />
|
<link rel="alternate" type="application/atom+xml" title="Site Atom" href="{$general_atom_url}" />
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
|
|
||||||
|
<!--// ICON-->
|
||||||
<link cond="$favicon_url" rel="shortcut icon" href="{$favicon_url}" />
|
<link cond="$favicon_url" rel="shortcut icon" href="{$favicon_url}" />
|
||||||
<link cond="$mobicon_url" rel="apple-touch-icon" href="{$mobicon_url}" />
|
<link cond="$mobicon_url" rel="apple-touch-icon" href="{$mobicon_url}" />
|
||||||
<!--[if lt IE 9]><script src="../js/html5.js"></script><![endif]-->
|
{Context::getHtmlHeader()}
|
||||||
{@ $ssl_actions = Context::getSSLActions() }
|
<script>
|
||||||
<script>//<![CDATA[
|
//<![CDATA[
|
||||||
var current_url = "{$current_url}";
|
var current_url = "{$current_url}";
|
||||||
var request_uri = "{$request_uri}";
|
var request_uri = "{$request_uri}";
|
||||||
<!--@if($vid)-->var xeVid = "{$vid}";<!--@end-->
|
<block cond="$vid">var xeVid = "{$vid}";</block>
|
||||||
var current_mid = "{$mid}";
|
var current_mid = "{$mid}";
|
||||||
var waiting_message = "{$lang->msg_call_server}";
|
var waiting_message = "{$lang->msg_call_server}";
|
||||||
var ssl_actions = new Array(<!--@if(count($ssl_actions))-->"{implode('","',array_keys($ssl_actions))}"<!--@end-->);
|
var ssl_actions = new Array(<!--@if(count($ssl_actions))-->"{implode('","',array_keys($ssl_actions))}"<!--@end-->);
|
||||||
var default_url = "{Context::getDefaultUrl()}";
|
var default_url = "{Context::getDefaultUrl()}";
|
||||||
<!--@if(Context::get("_http_port"))-->var http_port = {Context::get("_http_port")};<!--@end-->
|
<block cond="Context::get('_http_port')">var http_port = {Context::get("_http_port")};</block>
|
||||||
<!--@if(Context::get("_https_port"))-->var https_port = {Context::get("_https_port")};<!--@end-->
|
<block cond="Context::get('_https_port')">var https_port = {Context::get("_https_port")};</block>
|
||||||
<!--@if(Context::get("_use_ssl") && Context::get("_use_ssl") == "always")-->var enforce_ssl = true;<!--@end-->
|
<block cond="Context::get('_use_ssl') && Context::get('_use_ssl') == 'always'">var enforce_ssl = true;</block>
|
||||||
//]]></script>
|
//]]>
|
||||||
{Context::getHtmlHeader()}
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body{Context::getBodyClass()}>
|
<body{Context::getBodyClass()}>
|
||||||
{Context::getBodyHeader()}
|
{Context::getBodyHeader()}
|
||||||
|
{$content}
|
||||||
{$content}
|
{Context::getHtmlFooter()}
|
||||||
|
|
||||||
{Context::getHtmlFooter()}
|
|
||||||
|
|
||||||
|
<!--// ETC -->
|
||||||
{@ $js_body_files = Context::getJsFile('body') }
|
{@ $js_body_files = Context::getJsFile('body') }
|
||||||
<!--@foreach($js_body_files as $key => $js_file)-->
|
<!--@foreach($js_body_files as $key => $js_file)-->
|
||||||
<!--@if($js_file['targetie'])-->
|
<!--@if($js_file['targetie'])--><!--[if {$js_file['targetie']}]><!--@end-->
|
||||||
<!--[if {$js_file['targetie']}]>
|
|
||||||
<!--@end-->
|
|
||||||
<script src="{$js_file['file']}"></script>
|
<script src="{$js_file['file']}"></script>
|
||||||
<!--@if($js_file['targetie'])-->
|
<!--@if($js_file['targetie'])--><![endif]--><!--@end-->
|
||||||
<![endif]-->
|
|
||||||
<!--@end-->
|
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue