]> git.mxchange.org Git - friendica.git/blob - view/theme/decaf-mobile/default.php
rework autocomplete: new ac for poke, contacts, prv_messages
[friendica.git] / view / theme / decaf-mobile / 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 <?php if($a->module === 'home') echo 'onLoad="setTimeout(\'homeRedirect()\', 1500)"'?>>\r
9         <?php if(x($page,'nav')) echo $page['nav']; ?>\r
10 \r
11         <?php if( $a->module === 'home' ) { ?>\r
12         <center>\r
13         <div class="login-button">\r
14         <a href="login" class="login-button-link"><img class="login-button-image" src="images/friendica-1600.png" title="Click to log in"></a>\r
15         </div>\r
16         </center>\r
17 \r
18         <?php } elseif ( $a->module === 'login' || $a->module === 'register' || $a->module === 'lostpass' ) {\r
19         ?>\r
20         <div class='section-wrapper'>\r
21         <section><?php if(x($page,'content')) echo $page['content']; ?>\r
22         </section>\r
23         </div>\r
24         <footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>\r
25 \r
26         <?php } else { ?>\r
27         <div class='main-container'>\r
28 <!--            <div class='main-content-container'>-->\r
29                 <div class='section-wrapper'>\r
30                 <?php if( ($a->module === 'settings' || $a->module === 'message' || $a->module === 'profile') && x($page,'aside')) echo $page['aside']; ?>\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                 <?php if( ($a->module === 'contacts') && x($page,'aside')) echo $page['aside']; ?>\r
37                 <footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>\r
38 <!--            </div>-->\r
39         </div>\r
40         <?php } ?>\r
41         <?php if(x($page,'end')) echo $page['end']; ?>\r
42 </body>\r
43 </html>\r
44 \r