Enable footer scripts in minimal view

This commit is contained in:
Hypolite Petovan 2020-08-08 15:19:20 -04:00
parent 7a5f2437f9
commit 4f37b14e42
2 changed files with 6 additions and 2 deletions

View file

@ -7,7 +7,9 @@
</head> </head>
<body class="minimal"> <body class="minimal">
<section><?php if(!empty($page['content'])) echo $page['content']; ?> <section><?php if(!empty($page['content'])) echo $page['content']; ?>
<div id="page-footer"></div> <div id="page-footer">
<?php echo $page['footer'] ?? ''; ?>
</div>
</section> </section>
</body> </body>
</html> </html>

View file

@ -10,7 +10,9 @@
<div class="generic-page-wrapper"> <div class="generic-page-wrapper">
<?php if(!empty($page['content'])) echo $page['content']; ?> <?php if(!empty($page['content'])) echo $page['content']; ?>
</div> </div>
<div id="page-footer"></div> <div id="page-footer">
<?php echo $page['footer'] ?? ''; ?>
</div>
</section> </section>
<!-- Modal --> <!-- Modal -->
<div id="modal" class="modal fade" tabindex="-1" role="dialog"> <div id="modal" class="modal fade" tabindex="-1" role="dialog">