]> git.mxchange.org Git - friendica.git/blob - view/theme/frost/default.php
Merge remote branch 'upstream/master'
[friendica.git] / view / theme / frost / default.php
1 <!DOCTYPE html >\r
2 <html>\r
3 <head>\r
4   <title><?php if(x($page,'title')) echo $page['title'] ?></title>\r
5   <script>var baseurl="<?php echo $a->get_baseurl() ?>";</script>\r
6   <?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>\r
7 </head>\r
8 <body>\r
9         <?php if( $a->module === 'home' ) { ?>\r
10         <center>\r
11         <div class="login-button">\r
12         <a href="login" class="login-button-link"><img class="login-button-image" src="/images/friendika-1600.png" title="Click to log in"></a>\r
13         </div>\r
14         </center>\r
15         <?php } elseif ( $a->module === 'login' || $a->module === 'register' || $a->module === 'lostpass' ) {\r
16         ?>\r
17 \r
18         <div class='section-wrapper'>\r
19         <section><?php if(x($page,'content')) echo $page['content']; ?>\r
20         </section>\r
21         </div>\r
22 \r
23         <?php } else {\r
24 \r
25         if(x($page,'nav')) echo $page['nav']; ?>\r
26         <div class='main-container'>\r
27                 <!--<div class='main-content-loading'><img src="/view/theme/frost/images/ajax-loader.gif" alt="Please wait..."></div>-->\r
28                 <div class='main-content-container'>\r
29                 <aside><?php if(x($page,'aside')) echo $page['aside']; ?></aside>\r
30                 <div class='section-wrapper'>\r
31                 <section><?php if(x($page,'content')) echo $page['content']; ?>\r
32                         <div id="page-footer"></div>\r
33                 </section>\r
34                 </div>\r
35                 <right_aside><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></right_aside>\r
36                 <footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>\r
37                 </div>\r
38         </div>\r
39         <?php } ?>\r
40         <?php if(x($page,'end')) echo $page['end']; ?>\r
41 </body>\r
42 </html>\r
43 \r