friendica-github/view/php/minimal.php

36 lines
845 B
PHP
Raw Normal View History

2024-08-24 15:50:10 +02:00
<?php
/*
* Copyright (C) 2010-2024, the Friendica project
* SPDX-FileCopyrightText: 2010-2024 the Friendica project
*
* SPDX-License-Identifier: AGPL-3.0-or-later
2024-08-24 18:55:55 +02:00
*
2024-08-24 15:50:10 +02:00
* The site template for pure content (e.g. (modals)
*
* This template is used e.g for bs modals. So outputs
* only the pure content
*/
2024-08-24 19:03:20 +02:00
?>
2024-08-24 15:50:10 +02:00
<!DOCTYPE html>
2025-02-13 06:47:19 +00:00
<html lang="<?php echo Friendica\DI::l10n()->getCurrentLang(); ?>">
<head>
2025-02-13 06:55:10 +00:00
<title><?php if(!empty($page['title'])) {
echo $page['title'];
} ?></title>
<script>var baseurl="<?php echo Friendica\DI::baseUrl() ?>";</script>
2025-02-13 06:55:10 +00:00
<?php if(!empty($page['htmlhead'])) {
echo $page['htmlhead'];
} ?>
</head>
2019-04-25 22:01:43 -04:00
<body class="minimal">
2025-02-13 06:55:10 +00:00
<section><?php if(!empty($page['content'])) {
echo $page['content'];
} ?>
2020-08-08 15:19:20 -04:00
<div id="page-footer">
<?php echo $page['footer'] ?? ''; ?>
</div>
</section>
</body>
</html>