diff --git a/index.php b/index.php index bf926d1fe..8471735d0 100644 --- a/index.php +++ b/index.php @@ -407,15 +407,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 diff --git a/view/default.php b/view/default.php index 78ca97ac9..121d5212c 100644 --- a/view/default.php +++ b/view/default.php @@ -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> - diff --git a/view/theme/frost-mobile/default.php b/view/theme/frost-mobile/default.php index ad464760f..3a424ad5f 100644 --- a/view/theme/frost-mobile/default.php +++ b/view/theme/frost-mobile/default.php @@ -28,7 +28,9 @@ <!-- <div class='main-content-container'>--> <div class='section-wrapper'> <?php if( ($a->module === 'settings' || $a->module === 'message' || $a->module === 'profile') && x($page,'aside')) echo $page['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> </div> @@ -41,4 +43,3 @@ <?php if(x($page,'end')) echo $page['end']; ?> </body> </html> - diff --git a/view/theme/frost/default.php b/view/theme/frost/default.php index 95a9b1e8c..c379955f7 100644 --- a/view/theme/frost/default.php +++ b/view/theme/frost/default.php @@ -28,7 +28,9 @@ <!--<div class='main-content-loading'><img src="/view/theme/frost/images/ajax-loader.gif" alt="Please wait..."></div>--> <div class='main-content-container'> <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> @@ -39,4 +41,3 @@ <?php if(x($page,'end')) echo $page['end']; ?> </body> </html> - diff --git a/view/theme/smoothly/default.php b/view/theme/smoothly/default.php index 9ac49820a..405e1cad3 100644 --- a/view/theme/smoothly/default.php +++ b/view/theme/smoothly/default.php @@ -19,7 +19,9 @@ <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> @@ -41,4 +43,3 @@ <?php if (x($page, 'bottom')) echo $page['bottom']; ?> </body> </html> -