miniflux-legacy/app/templates/layout.php

39 lines
1.7 KiB
PHP
Raw 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>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta name="mobile-web-app-capable" content="yes">
2015-08-29 04:32:10 +02:00
<meta name="robots" content="noindex,nofollow">
<meta name="referrer" content="no-referrer">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo isset($title) ? Miniflux\Helper\escape($title) : t('Miniflux') ?></title>
<link rel="icon" type="image/png" href="assets/img/favicon.png">
2013-04-07 05:29:24 +02:00
<link rel="shortcut icon" href="favicon.ico">
<link rel="apple-touch-icon" href="assets/img/touch-icon-iphone.png">
<link rel="apple-touch-icon" sizes="72x72" href="assets/img/touch-icon-ipad.png">
<link rel="apple-touch-icon" sizes="114x114" href="assets/img/touch-icon-iphone-retina.png">
<link rel="apple-touch-icon" sizes="144x144" href="assets/img/touch-icon-ipad-retina.png">
<link href="<?php echo Miniflux\Helper\css() ?>" rel="stylesheet" media="screen">
<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-01-21 20:40:24 +01:00
<?php echo Miniflux\Template\load('common/menu') ?>
<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
<?php echo Miniflux\Template\load('config/help_layer') ?>
</body>
</html>