Deutschland United States United Kingdom
ContentLion - Open Source CMS

Compare Revisions

Ignore whitespace Rev 6 → Rev 7

/trunk/index.php
1,68 → 1,68
<!DOCTYPE html>
<html lang="de-DE">
<head>
<style type="text/css" media="screen">
@import "<?php echo Settings::getInstance()->get("host"); ?>system/skins/mymobile/js/jqtouch/themes/css/jqtouch.css";
</style>
<script type="text/javascript">
/*Language-Variablen für externe Javascript-Scripte*/
var lang_navi_open = "<?PHP if(strtolower(Settings::getValue("language")) == "de") {
echo "Navigation ausklappen";
} else {
echo "Open Navigation";
} ?>";
 
var lang_navi_close = "<?PHP if(strtolower(Settings::getValue("language")) == "de") {
echo "Navigation einklappen";
} else {
echo "Close Navigation";
} ?>";
</script>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.1/jquery.mobile-1.2.1.min.css" />
<script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
<script src="http://code.jquery.com/mobile/1.2.1/jquery.mobile-1.2.1.min.js"></script>
<link rel="stylesheet" href="<?php echo Settings::getInstance()->get("host") ?>system/skins/mymobile/css/mobile.css" type="text/css" media="screen" />
<script src="<?php echo Settings::getInstance()->get("host"); ?>system/skins/mymobile/js/load.js" type="text/javascript" charset="utf-8"></script>
<?PHP
EventManager::raiseEvent("skin_mymobile_header", array());
sys::includeHeader();
?>
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
</head>
<body style="padding:3%; max-width:940px; ">
<div data-role="page">
<div data-role="header" data-position="fixed">
<a href="<?php echo Settings::getInstance()->get("host"); ?>" data-icon="arrow-l">Home</a>
<h1><?PHP echo sys::getTitle(); ?></h1>
<a href="<?php echo UrlRewriting::GetUrlByAlias("login"); ?>" data-icon="arrow-r">Login</a>
</div>
<div id="navi">
<div id="navi_hidden">
<?PHP
sys::displayGlobalMenu("<ul data-role=\"listview\">","</ul>","<li>"," </li>",
"globalmenu");
?>
</div>
<p align="center"><br /><a href="#" id="navi_button" style="display:none; "><?PHP if(strtolower(Settings::getValue("language")) == "de") {
echo "Navigation ausklappen";
} else {
echo "Open Navigation";
} ?></a></p><br /><br />
<!-- Nur, wenn Javascript unterstützt wird, wird der Button angezeigt. -->
<hr /><br />
</div>
<div class="content" id="content">
<div id="text">
<?PHP
sys::includeContent();
?>
</div>
</div>
 
<div data-role="footer">
<p align="center">Created with <a href="http://contentlion.de">ContentLion</a></p>
</div>
</div>
<script type="text/javascript" src="<?php echo Settings::getInstance()->get("host") ?>system/skins/mymobile/js/navi.js"></script>
</body>
<head>
<style type="text/css" media="screen">
@import "<?php echo Settings::getInstance()->get("host"); ?>system/skins/mymobile/js/jqtouch/themes/css/jqtouch.css";
</style>
<script type="text/javascript">
var lang_navi_open = "<?PHP if(strtolower(Settings::getValue("language")) == "de") {
echo "Navigation ausklappen";
} else {
echo "Open Navigation";
} ?>";
var lang_navi_close = "<?PHP if(strtolower(Settings::getValue("language")) == "de") {
echo "Navigation einklappen";
} else {
echo "Close Navigation";
} ?>";
</script>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.1/jquery.mobile-1.2.1.min.css" />
<script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
<script src="http://code.jquery.com/mobile/1.2.1/jquery.mobile-1.2.1.min.js"></script>
<link rel="stylesheet" href="<?php echo Settings::getInstance()->get("host") ?>system/skins/mymobile/css/mobile.css" type="text/css" media="screen" />
<script src="<?php echo Settings::getInstance()->get("host"); ?>system/skins/mymobile/js/load.js" type="text/javascript" charset="utf-8"></script>
<?PHP
EventManager::raiseEvent("skin_mymobile_header", array());
sys::includeHeader();
?>
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
</head>
<body style="padding:3%; max-width:940px; ">
<div data-role="page">
<div data-role="header" data-position="fixed">
<a href="<?php echo Settings::getInstance()->get("host"); ?>" data-icon="arrow-l">Home</a>
<h1><?PHP echo sys::getTitle(); ?></h1>
<a href="<?php echo UrlRewriting::GetUrlByAlias("login"); ?>" data-icon="arrow-r">Login</a>
</div>
<div id="navi">
<div id="navi_hidden">
<?PHP
sys::displayGlobalMenu("<ul data-role=\"listview\">","</ul>","<li>"," </li>",
"globalmenu");
?>
</div>
<p class="center"><br /><a href="#" id="navi_button" style="display:none; "><?PHP if(strtolower(Settings::getValue("language")) == "de") {
echo "Navigation ausklappen";
} else {
echo "Open Navigation";
} ?></a></p><br /><br />
<hr /><br />
</div>
<div class="content" id="content">
<div id="text">
<?PHP
EventManager::raiseEvent("skin_mymobile_body", array());
sys::includeContent();
?>
</div>
</div>
<div data-role="footer">
<p class="center">Created with <a href="http://contentlion.de">ContentLion</a></p>
</div>
</div>
<script type="text/javascript" src="<?php echo Settings::getInstance()->get("host") ?>system/skins/mymobile/js/navi.js"></script>
</body>
</html>