]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frost-mobile/php/default.php
Merge pull request #4340 from MrPetovan/task/4265-mov-jgrowl-to-composer
[friendica.git] / view / theme / frost-mobile / php / default.php
index 062ec3b8a9c97cf520e0b99cf7ecde94d3d3e075..72135fd7aef55ade2551e0f6aaec4043a551f9b3 100644 (file)
@@ -1,45 +1,45 @@
-<!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-container'>-->\r
-               <div class='section-wrapper'>\r
-               <?php if( ($a->module === 'settings' || $a->module === 'message' || $a->module === 'profile') && x($page,'aside')) echo $page['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
-               </div>\r
-               <right_aside><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></right_aside>\r
-               <?php if( ($a->module === 'contacts') && x($page,'aside')) echo $page['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\Core\System::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-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']; ?>
+                       <div id="pause"></div> <!-- The pause/resume Ajax indicator -->
+                       <div id="page-footer"></div>
+               </section>
+               </div>
+               <right_aside><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></right_aside>
+               <?php if( ($a->module === 'contacts') && x($page,'aside')) echo $page['aside']; ?>
+               <footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
+<!--           </div>-->
+       </div>
+       <?php } ?>
+       <?php if(x($page,'end')) echo $page['end']; ?>
+</body>
+</html>