]> git.mxchange.org Git - friendica.git/commitdiff
Moved div#pause from index.php to view/default.php
authorAndrej Stieben <e-mail@stieben.de>
Tue, 9 Feb 2016 14:54:35 +0000 (15:54 +0100)
committerAndrej Stieben <e-mail@stieben.de>
Tue, 9 Feb 2016 14:54:35 +0000 (15:54 +0100)
This closes #2320.

index.php
view/default.php

index 2b1053cc1b7b976588d22a69168b5a87d293f010..ca93eb61e79064a7b8eede16fe01831d4b64569a 100644 (file)
--- a/index.php
+++ b/index.php
@@ -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
index 78ca97ac94c0c2a4cb050c09ab5094a3962b6c05..121d5212c6291995f789ab7ad4b0abcd458fbd12 100644 (file)
@@ -8,11 +8,12 @@
 <body>\r
        <?php if(x($page,'nav')) echo $page['nav']; ?>\r
        <aside><?php if(x($page,'aside')) echo $page['aside']; ?></aside>\r
-       <section><?php if(x($page,'content')) echo $page['content']; ?>\r
+       <section>\r
+               <?php if(x($page,'content')) echo $page['content']; ?>\r
+               <div id="pause"></div> <!-- The pause/resume Ajax indicator -->\r
                <div id="page-footer"></div>\r
        </section>\r
        <right_aside><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></right_aside>\r
        <footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>\r
 </body>\r
 </html>\r
-\r