2012-07-24 17:15:57 +02:00
|
|
|
<!DOCTYPE html >
|
2016-04-03 21:00:18 +02:00
|
|
|
<html lang="<?php echo $lang; ?>">
|
2012-07-24 17:15:57 +02:00
|
|
|
<head>
|
|
|
|
<title><?php if(x($page,'title')) echo $page['title'] ?></title>
|
2016-12-19 14:26:13 +01:00
|
|
|
<script>var baseurl="<?php echo App::get_baseurl() ?>";</script>
|
2012-07-24 17:15:57 +02:00
|
|
|
<?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>
|
|
|
|
</head>
|
2012-12-27 20:20:47 +01:00
|
|
|
<body <?php if($a->module === 'home') echo 'onLoad="setTimeout(\'homeRedirect()\', 1500)"'?>>
|
2012-08-25 18:08:25 +02:00
|
|
|
<?php if(x($page,'nav')) echo $page['nav']; ?>
|
|
|
|
|
2012-07-24 17:15:57 +02:00
|
|
|
<?php if( $a->module === 'home' ) { ?>
|
|
|
|
<center>
|
|
|
|
<div class="login-button">
|
2012-10-19 06:51:45 +02:00
|
|
|
<a href="login" class="login-button-link"><img class="login-button-image" src="/images/friendica-1600.png" title="Click to log in"></a>
|
2012-07-24 17:15:57 +02:00
|
|
|
</div>
|
|
|
|
</center>
|
2012-08-25 18:08:25 +02:00
|
|
|
|
2012-07-24 17:15:57 +02:00
|
|
|
<?php } elseif ( $a->module === 'login' || $a->module === 'register' || $a->module === 'lostpass' ) {
|
|
|
|
?>
|
|
|
|
<div class='section-wrapper'>
|
|
|
|
<section><?php if(x($page,'content')) echo $page['content']; ?>
|
|
|
|
</section>
|
|
|
|
</div>
|
2012-09-30 01:47:47 +02:00
|
|
|
<footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
|
2012-07-24 17:15:57 +02:00
|
|
|
|
2012-08-25 18:08:25 +02:00
|
|
|
<?php } else { ?>
|
2012-07-24 17:15:57 +02:00
|
|
|
<div class='main-container'>
|
|
|
|
<!--<div class='main-content-loading'><img src="/view/theme/frost/images/ajax-loader.gif" alt="Please wait..."></div>-->
|
|
|
|
<div class='main-content-container'>
|
|
|
|
<aside><?php if(x($page,'aside')) echo $page['aside']; ?></aside>
|
2016-02-09 16:41:19 +01:00
|
|
|
<section>
|
|
|
|
<?php if(x($page,'content')) echo $page['content']; ?>
|
|
|
|
<div id="pause"></div> <!-- The pause/resume Ajax indicator -->
|
2012-07-24 17:15:57 +02:00
|
|
|
<div id="page-footer"></div>
|
|
|
|
</section>
|
|
|
|
<right_aside><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></right_aside>
|
|
|
|
<footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php } ?>
|
2012-07-28 17:57:16 +02:00
|
|
|
<?php if(x($page,'end')) echo $page['end']; ?>
|
2012-07-24 17:15:57 +02:00
|
|
|
</body>
|
|
|
|
</html>
|