miniflux-legacy/app/templates/layout.php

23 lines
880 B
PHP
Raw Permalink Normal View History

2013-02-18 03:48:21 +01:00
<!DOCTYPE html>
<html
2016-08-25 03:17:58 +02:00
<?php if (Miniflux\Model\Config\is_language_rtl()): ?>
dir="rtl"
<?php endif ?>
>
2013-02-18 03:48:21 +01:00
<head>
2017-01-21 20:44:57 +01:00
<?php echo Miniflux\Template\load('common/head') ?>
<script type="text/javascript" src="assets/js/app.min.js?<?php echo filemtime('assets/js/app.min.js') ?>" defer></script>
2013-02-18 03:48:21 +01:00
</head>
<body>
2017-02-02 00:49:01 +01:00
<?php echo Miniflux\Template\load('common/menu', array('menu' => isset($menu) ? $menu : '')) ?>
2017-01-21 20:40:24 +01:00
<section class="page" data-item-page="<?= $menu ?>">
<?php echo Miniflux\Helper\flash('flash_message', '<div class="alert alert-success">%s</div>') ?>
<?php echo Miniflux\Helper\flash('flash_error_message', '<div class="alert alert-error">%s</div>') ?>
<?php echo $content_for_layout ?>
2016-03-06 16:23:19 +01:00
</section>
2017-01-21 20:40:24 +01:00
2017-01-21 20:48:49 +01:00
<?php echo Miniflux\Template\load('common/help') ?>
</body>
</html>