2013-02-18 03:48:21 +01:00
|
|
|
|
<!DOCTYPE html>
|
2015-03-20 23:53:15 +01:00
|
|
|
|
<html
|
2016-08-25 03:17:58 +02:00
|
|
|
|
<?php if (Miniflux\Model\Config\is_language_rtl()): ?>
|
2015-03-20 23:53:15 +01:00
|
|
|
|
dir="rtl"
|
|
|
|
|
<?php endif ?>
|
|
|
|
|
>
|
2013-02-18 03:48:21 +01:00
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
2013-05-01 03:52:43 +02:00
|
|
|
|
<meta name="viewport" content="width=device-width">
|
2014-02-28 12:18:43 +01:00
|
|
|
|
<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">
|
|
|
|
|
|
2016-10-02 04:24:33 +02:00
|
|
|
|
<title><?php echo isset($title) ? Miniflux\Helper\escape($title) : t('Miniflux') ?></title>
|
2014-05-18 16:40:59 +02:00
|
|
|
|
|
2013-10-06 23:33:37 +02:00
|
|
|
|
<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">
|
2013-10-06 23:33:37 +02:00
|
|
|
|
<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">
|
2014-05-18 16:40:59 +02:00
|
|
|
|
|
2016-10-02 04:24:33 +02:00
|
|
|
|
<link href="<?php echo Miniflux\Helper\css() ?>" rel="stylesheet" media="screen">
|
|
|
|
|
<script type="text/javascript" src="assets/js/all.js?<?php echo filemtime('assets/js/all.js') ?>" defer></script>
|
2013-02-18 03:48:21 +01:00
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<header>
|
|
|
|
|
<nav>
|
2016-10-02 04:24:33 +02:00
|
|
|
|
<a class="logo" href="?"><?php echo tne('mini%sflux%s','<span>','</span>') ?></a>
|
2013-02-18 03:48:21 +01:00
|
|
|
|
<ul>
|
2016-11-11 04:18:56 +01:00
|
|
|
|
<li<?php echo isset($menu) && $menu === 'unread' ? ' class="active"' : '' ?>>
|
2016-10-02 04:24:33 +02:00
|
|
|
|
<a href="?action=unread"><?php echo t('unread') ?><span id="nav-counter"><?php echo empty($nb_unread_items) ? '' : $nb_unread_items ?></span></a>
|
2013-06-15 02:37:45 +02:00
|
|
|
|
</li>
|
2016-11-11 04:18:56 +01:00
|
|
|
|
<li class="hide-mobile<?php echo isset($menu) && $menu === 'bookmarks' ? ' active' : '' ?>">
|
2016-10-02 04:24:33 +02:00
|
|
|
|
<a href="?action=bookmarks"><?php echo t('bookmarks') ?></a>
|
2013-06-15 05:12:08 +02:00
|
|
|
|
</li>
|
2016-11-11 04:18:56 +01:00
|
|
|
|
<li class="hide-mobile<?php echo isset($menu) && $menu === 'history' ? ' active' : '' ?>">
|
2016-10-02 04:24:33 +02:00
|
|
|
|
<a href="?action=history"><?php echo t('history') ?></a>
|
2013-06-15 02:37:45 +02:00
|
|
|
|
</li>
|
2016-11-11 04:18:56 +01:00
|
|
|
|
<li class="hide-mobile<?php echo isset($menu) && $menu === 'feeds' ? ' active' : '' ?>">
|
2016-10-02 04:24:33 +02:00
|
|
|
|
<a href="?action=feeds"><?php echo t('subscriptions') ?></a>
|
2013-06-15 02:37:45 +02:00
|
|
|
|
</li>
|
2016-11-11 04:18:56 +01:00
|
|
|
|
<li class="hide-mobile<?php echo isset($menu) && $menu === 'config' ? ' active' : '' ?>">
|
2016-10-02 04:24:33 +02:00
|
|
|
|
<a href="?action=config"><?php echo t('preferences') ?></a>
|
2013-06-15 02:37:45 +02:00
|
|
|
|
</li>
|
2014-02-05 03:47:59 +01:00
|
|
|
|
<li class="hide-mobile">
|
2016-10-02 04:24:33 +02:00
|
|
|
|
<a href="?action=logout"><?php echo t('logout') ?></a>
|
2013-06-15 02:37:45 +02:00
|
|
|
|
</li>
|
2016-11-10 14:22:48 +01:00
|
|
|
|
<li class="hide-desktop">
|
2016-11-11 04:18:56 +01:00
|
|
|
|
<span data-action="toggle-menu-more" class="menu-more-switcher" href="#">∨ <?php echo t('menu') ?></span>
|
2014-02-05 03:47:59 +01:00
|
|
|
|
</li>
|
2013-02-18 03:48:21 +01:00
|
|
|
|
</ul>
|
|
|
|
|
</nav>
|
|
|
|
|
</header>
|
2016-11-10 14:22:48 +01:00
|
|
|
|
<div id="menu-more" class="hide">
|
|
|
|
|
<ul>
|
2016-11-11 04:18:56 +01:00
|
|
|
|
<li<?php echo isset($menu) && $menu === 'unread' ? ' class="active"' : '' ?>><a href="?action=unread"><?= t('unread') ?></a></li>
|
|
|
|
|
<li<?php echo isset($menu) && $menu === 'bookmarks' ? ' class="active"' : '' ?>><a href="?action=bookmarks"><?= t('bookmarks') ?></a></li>
|
|
|
|
|
<li<?php echo isset($menu) && $menu === 'history' ? ' class="active"' : '' ?>><a href="?action=history"><?= t('history') ?></a></li>
|
|
|
|
|
<li<?php echo isset($menu) && $menu === 'feeds' ? ' class="active"' : '' ?>><a href="?action=feeds"><?= t('subscriptions') ?></a></li>
|
|
|
|
|
<li<?php echo isset($menu) && $menu === 'config' ? ' class="active"' : '' ?>><a href="?action=config"><?= t('preferences') ?></a></li>
|
2016-11-10 14:22:48 +01:00
|
|
|
|
<li><a href="?action=logout"><?= t('logout') ?></a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
2014-12-04 12:08:17 +01:00
|
|
|
|
<section class="page" data-item-page="<?= $menu ?>">
|
2016-10-02 04:24:33 +02:00
|
|
|
|
<?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>
|
2016-10-02 04:24:33 +02:00
|
|
|
|
<?php echo Miniflux\Template\load('help_layer') ?>
|
2013-10-06 23:33:37 +02:00
|
|
|
|
</body>
|
2014-02-28 12:18:43 +01:00
|
|
|
|
</html>
|