mirror of
https://github.com/friendica/friendica
synced 2024-12-23 19:20:17 +00:00
458981f75c
- Remove extraneous parentheses around empty() calls - Remove duplicate calls to intval(), count() or strlen() after empty() - Replace ternary operators outputting binary value with empty() return value - Rewrite defaults() without x()
19 lines
836 B
PHP
19 lines
836 B
PHP
<!DOCTYPE html >
|
|
<html itemscope itemtype="http://schema.org/Blog" lang="<?php echo $lang; ?>">
|
|
<head>
|
|
<title><?php if(!empty($page['title'])) echo $page['title'] ?></title>
|
|
<script>var baseurl="<?php echo Friendica\Core\System::baseUrl() ?>";</script>
|
|
<?php if(!empty($page['htmlhead'])) echo $page['htmlhead'] ?>
|
|
</head>
|
|
<body>
|
|
<?php if(!empty($page['nav'])) echo $page['nav']; ?>
|
|
<aside><?php if(!empty($page['aside'])) echo $page['aside']; ?></aside>
|
|
<section>
|
|
<?php if(!empty($page['content'])) echo $page['content']; ?>
|
|
<div id="pause"></div> <!-- The pause/resume Ajax indicator -->
|
|
<div id="page-footer"></div>
|
|
</section>
|
|
<right_aside><?php if(!empty($page['right_aside'])) echo $page['right_aside']; ?></right_aside>
|
|
<footer><?php if(!empty($page['footer'])) echo $page['footer']; ?></footer>
|
|
</body>
|
|
</html>
|