]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frost/php/default.php
Merge pull request #3481 from Hypolite/issue/#3480
[friendica.git] / view / theme / frost / php / default.php
index 306345d391cc8fa2662d439b1d79bbf1b0c581e6..65632ee0713d3001883bd8c4d807e69a468058e8 100644 (file)
@@ -1,43 +1,43 @@
-<!DOCTYPE html >\r
-<html lang="<?php echo $lang; ?>">\r
-<head>\r
-  <title><?php if(x($page,'title')) echo $page['title'] ?></title>\r
-  <script>var baseurl="<?php echo Friendica\App::get_baseurl() ?>";</script>\r
-  <?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>\r
-</head>\r
-<body <?php if($a->module === 'home') echo 'onLoad="setTimeout(\'homeRedirect()\', 1500)"'?>>\r
-       <?php if(x($page,'nav')) echo $page['nav']; ?>\r
-\r
-       <?php if( $a->module === 'home' ) { ?>\r
-       <center>\r
-       <div class="login-button">\r
-       <a href="login" class="login-button-link"><img class="login-button-image" src="/images/friendica-1600.png" title="Click to log in"></a>\r
-       </div>\r
-       </center>\r
-\r
-       <?php } elseif ( $a->module === 'login' || $a->module === 'register' || $a->module === 'lostpass' ) {\r
-       ?>\r
-       <div class='section-wrapper'>\r
-       <section><?php if(x($page,'content')) echo $page['content']; ?>\r
-       </section>\r
-       </div>\r
-       <footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>\r
-\r
-       <?php } else { ?>\r
-       <div class='main-container'>\r
-               <!--<div class='main-content-loading'><img src="/view/theme/frost/images/ajax-loader.gif" alt="Please wait..."></div>-->\r
-               <div class='main-content-container'>\r
-               <aside><?php if(x($page,'aside')) echo $page['aside']; ?></aside>\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
-               </div>\r
-       </div>\r
-       <?php } ?>\r
-       <?php if(x($page,'end')) echo $page['end']; ?>\r
-</body>\r
-</html>\r
+<!DOCTYPE html >
+<html lang="<?php echo $lang; ?>">
+<head>
+  <title><?php if(x($page,'title')) echo $page['title'] ?></title>
+  <script>var baseurl="<?php echo Friendica\App::get_baseurl() ?>";</script>
+  <?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>
+</head>
+<body <?php if($a->module === 'home') echo 'onLoad="setTimeout(\'homeRedirect()\', 1500)"'?>>
+       <?php if(x($page,'nav')) echo $page['nav']; ?>
+
+       <?php if( $a->module === 'home' ) { ?>
+       <center>
+       <div class="login-button">
+       <a href="login" class="login-button-link"><img class="login-button-image" src="/images/friendica-1600.png" title="Click to log in"></a>
+       </div>
+       </center>
+
+       <?php } elseif ( $a->module === 'login' || $a->module === 'register' || $a->module === 'lostpass' ) {
+       ?>
+       <div class='section-wrapper'>
+       <section><?php if(x($page,'content')) echo $page['content']; ?>
+       </section>
+       </div>
+       <footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
+
+       <?php } else { ?>
+       <div class='main-container'>
+               <!--<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']; ?>
+                       <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>
+               </div>
+       </div>
+       <?php } ?>
+       <?php if(x($page,'end')) echo $page['end']; ?>
+</body>
+</html>