mirror of
https://github.com/friendica/friendica
synced 2024-11-14 10:22:57 +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()
13 lines
509 B
PHP
13 lines
509 B
PHP
<!DOCTYPE html >
|
|
<html>
|
|
<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>
|
|
<section class="minimal" style="margin:0px!important; padding:0px!important; float:none!important;display:block!important;"><?php if(!empty($page['content'])) echo $page['content']; ?>
|
|
<div id="page-footer"></div>
|
|
</section>
|
|
</body>
|
|
</html>
|