mirror of
https://github.com/friendica/friendica
synced 2024-11-18 10:23:41 +00:00
[frio] Move relevant code to new footer.tpl
This commit is contained in:
parent
1eaa523e61
commit
73c1ebc6fd
2 changed files with 24 additions and 21 deletions
|
@ -138,27 +138,7 @@ if (!isset($minimal)) {
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<?php if (x($page, 'footer')) echo $page['footer']; ?>
|
<?php echo defaults($page, 'footer', ''); ?>
|
||||||
<!-- Modal -->
|
|
||||||
<div id="modal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
|
|
||||||
<div class="modal-dialog modal-full-screen">
|
|
||||||
<div class="modal-content">
|
|
||||||
<div id="modal-header" class="modal-header">
|
|
||||||
<button id="modal-cloase" type="button" class="close" data-dismiss="modal" aria-hidden="true">
|
|
||||||
×
|
|
||||||
</button>
|
|
||||||
<h4 id="modal-title" class="modal-title"></h4>
|
|
||||||
</div>
|
|
||||||
<div id="modal-body" class="modal-body">
|
|
||||||
<!-- /# content goes here -->
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Dummy div to append other div's when needed (e.g. used for js function editpost() -->
|
|
||||||
<div id="cache-container"></div>
|
|
||||||
|
|
||||||
</footer>
|
</footer>
|
||||||
<?php } ?> <!-- End of condition if $minimal else the rest -->
|
<?php } ?> <!-- End of condition if $minimal else the rest -->
|
||||||
</body>
|
</body>
|
||||||
|
|
23
view/theme/frio/templates/footer.tpl
Normal file
23
view/theme/frio/templates/footer.tpl
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
<!-- Modal -->
|
||||||
|
<div id="modal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
|
||||||
|
<div class="modal-dialog modal-full-screen">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div id="modal-header" class="modal-header">
|
||||||
|
<button id="modal-cloase" type="button" class="close" data-dismiss="modal" aria-hidden="true">
|
||||||
|
×
|
||||||
|
</button>
|
||||||
|
<h4 id="modal-title" class="modal-title"></h4>
|
||||||
|
</div>
|
||||||
|
<div id="modal-body" class="modal-body">
|
||||||
|
<!-- /# content goes here -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Dummy div to append other div's when needed (e.g. used for js function editpost() -->
|
||||||
|
<div id="cache-container"></div>
|
||||||
|
|
||||||
|
{{foreach $footerScripts as $scriptUrl}}
|
||||||
|
<script type="text/javascript" src="{{$scriptUrl}}"></script>
|
||||||
|
{{/foreach}}
|
Loading…
Reference in a new issue