Add missing menu variable

This commit is contained in:
Frederic Guillot 2017-02-01 18:49:01 -05:00
parent 2c113bb822
commit a6736ffb13

View File

@ -9,7 +9,7 @@
<script type="text/javascript" src="assets/js/app.min.js?<?php echo filemtime('assets/js/app.min.js') ?>" defer></script> <script type="text/javascript" src="assets/js/app.min.js?<?php echo filemtime('assets/js/app.min.js') ?>" defer></script>
</head> </head>
<body> <body>
<?php echo Miniflux\Template\load('common/menu') ?> <?php echo Miniflux\Template\load('common/menu', array('menu' => isset($menu) ? $menu : '')) ?>
<section class="page" data-item-page="<?= $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_message', '<div class="alert alert-success">%s</div>') ?>