2012-07-24 11:16:51 -04:00
|
|
|
<!DOCTYPE html >
|
2016-04-03 15:00:18 -04:00
|
|
|
<html lang="<?php echo $lang; ?>">
|
2012-07-24 11:16:51 -04:00
|
|
|
<head>
|
|
|
|
<title><?php if(x($page,'title')) echo $page['title'] ?></title>
|
2017-04-30 00:07:00 -04:00
|
|
|
<script>var baseurl="<?php echo Friendica\App::get_baseurl() ?>";</script>
|
2012-07-24 11:16:51 -04:00
|
|
|
<?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>
|
|
|
|
</head>
|
2012-12-27 14:20:47 -05:00
|
|
|
<body <?php if($a->module === 'home') echo 'onLoad="setTimeout(\'homeRedirect()\', 1500)"'?>>
|
2012-08-25 12:08:25 -04:00
|
|
|
<?php if(x($page,'nav')) echo $page['nav']; ?>
|
|
|
|
|
2012-07-24 11:16:51 -04:00
|
|
|
<?php if( $a->module === 'home' ) { ?>
|
|
|
|
<center>
|
|
|
|
<div class="login-button">
|
2012-11-08 00:48:49 -05: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 11:16:51 -04:00
|
|
|
</div>
|
|
|
|
</center>
|
2012-08-25 12:08:25 -04:00
|
|
|
|
2012-07-24 11:16:51 -04: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-29 19:47:47 -04:00
|
|
|
<footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
|
2012-07-24 11:16:51 -04:00
|
|
|
|
2012-08-25 12:08:25 -04:00
|
|
|
<?php } else { ?>
|
2012-07-24 11:16:51 -04:00
|
|
|
<div class='main-container'>
|
2012-09-07 14:17:03 -04:00
|
|
|
<!-- <div class='main-content-container'>-->
|
2012-07-24 11:16:51 -04:00
|
|
|
<div class='section-wrapper'>
|
2013-02-10 12:21:52 -05:00
|
|
|
<?php if( ($a->module === 'settings' || $a->module === 'message' || $a->module === 'profile') && x($page,'aside')) echo $page['aside']; ?>
|
2016-02-09 10:41:19 -05:00
|
|
|
<section>
|
|
|
|
<?php if(x($page,'content')) echo $page['content']; ?>
|
|
|
|
<div id="pause"></div> <!-- The pause/resume Ajax indicator -->
|
2012-07-24 11:16:51 -04:00
|
|
|
<div id="page-footer"></div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
<right_aside><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></right_aside>
|
2012-09-07 14:17:03 -04:00
|
|
|
<?php if( ($a->module === 'contacts') && x($page,'aside')) echo $page['aside']; ?>
|
2012-09-29 19:47:47 -04:00
|
|
|
<footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
|
2012-09-07 14:17:03 -04:00
|
|
|
<!-- </div>-->
|
2012-07-24 11:16:51 -04:00
|
|
|
</div>
|
|
|
|
<?php } ?>
|
2012-07-28 11:57:16 -04:00
|
|
|
<?php if(x($page,'end')) echo $page['end']; ?>
|
2012-07-24 11:16:51 -04:00
|
|
|
</body>
|
|
|
|
</html>
|