Browse Source

Moved div#pause from index.php to view/default.php

This closes #2320.
pull/2336/head
Andrej Stieben 5 years ago
parent
commit
4d7a6aaed2
2 changed files with 3 additions and 11 deletions
  1. +0
    -9
      index.php
  2. +3
    -2
      view/default.php

+ 0
- 9
index.php View File

@ -416,15 +416,6 @@ if(x($_SESSION,'sysmsg_info')) {
call_hooks('page_end', $a->page['content']);
/**
*
* Add a place for the pause/resume Ajax indicator
*
*/
$a->page['content'] .= '<div id="pause"></div>';
/**
*
* Add the navigation (menu) template


+ 3
- 2
view/default.php View File

@ -8,11 +8,12 @@
<body>
<?php if(x($page,'nav')) echo $page['nav']; ?>
<aside><?php if(x($page,'aside')) echo $page['aside']; ?></aside>
<section><?php if(x($page,'content')) echo $page['content']; ?>
<section>
<?php if(x($page,'content')) echo $page['content']; ?>
<div id="pause"></div> <!-- The pause/resume Ajax indicator -->
<div id="page-footer"></div>
</section>
<right_aside><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></right_aside>
<footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
</body>
</html>

Loading…
Cancel
Save