friendica-github/view/php/minimal.php
Tobias Diekershoff 3a0af8ce23 syntax fix
2024-08-24 19:03:20 +02:00

29 lines
757 B
PHP

<?php
/*
* Copyright (C) 2010-2024, the Friendica project
* SPDX-FileCopyrightText: 2010-2024 the Friendica project
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*
* The site template for pure content (e.g. (modals)
*
* This template is used e.g for bs modals. So outputs
* only the pure content
*/
?>
<!DOCTYPE html>
<html>
<head>
<title><?php if(!empty($page['title'])) echo $page['title'] ?></title>
<script>var baseurl="<?php echo Friendica\DI::baseUrl() ?>";</script>
<?php if(!empty($page['htmlhead'])) echo $page['htmlhead'] ?>
</head>
<body class="minimal">
<section><?php if(!empty($page['content'])) echo $page['content']; ?>
<div id="page-footer">
<?php echo $page['footer'] ?? ''; ?>
</div>
</section>
</body>
</html>