]> git.mxchange.org Git - friendica-addons.git/blob - jappixmini/jappix/php/mobile.php
Merge pull request #48 from Leberwurscht/master
[friendica-addons.git] / jappixmini / jappix / php / mobile.php
1 <?php
2
3 /*
4
5 Jappix - An open social platform
6 This is the Jappix Mobile PHP/HTML code
7
8 -------------------------------------------------
9
10 License: AGPL
11 Author: Vanaryon
12 Last revision: 10/07/11
13
14 */
15
16 // Someone is trying to hack us?
17 if(!defined('JAPPIX_BASE'))
18         exit;
19
20 ?>
21
22 <!DOCTYPE html>
23 <?php htmlTag($locale); ?>
24
25 <head>
26         <meta http-equiv="content-type" content="text/html; charset=utf-8" />
27         <meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport">
28         <title><?php _e("Jappix Mobile"); ?></title>
29         <link rel="shortcut icon" href="./favicon.ico" />
30         <?php echoGetFiles($hash, '', 'css', 'mobile.xml', ''); echo "\n"; ?>
31         <?php echoGetFiles($hash, $locale, 'js', 'mobile.xml', ''); echo "\n"; ?>
32 </head>
33
34 <body>
35         <div id="home">
36                 <div class="header">
37                         <div class="mobile-images"></div>
38                 </div>
39                 
40                 <noscript>
41                         <div class="notification" id="noscript">
42                                 <?php _e("Please enable JavaScript"); ?>
43                         </div>
44                 </noscript>
45                 
46                 <div class="notification" id="error">
47                         <?php _e("Error"); ?>
48                 </div>
49                 
50                 <div class="notification" id="info">
51                         <?php _e("Please wait..."); ?>
52                 </div>
53                 
54                 <div class="login">
55                         <?php _e("Login"); ?>
56                         
57                         <form action="#" method="post" onsubmit="return doLogin(this);">
58                                 <input class="xid mobile-images" type="text" name="xid" required="" />
59                                 <input class="password mobile-images" type="password" id="pwd" name="pwd" required="" />
60                                 <?php if(REGISTRATION != 'off') { ?>
61                                 <label><input class="register" type="checkbox" id="reg" name="reg" /><?php _e("Register"); ?></label>
62                                 <?php } ?>
63                                 <input type="submit" name="ok" value="<?php _e("Here we go!"); ?>" />
64                         </form>
65                 </div>
66                 
67                 <a href="./?m=desktop<?php echo keepGet('m', false); ?>"><?php _e("Desktop"); ?></a>
68         </div>
69 </body>
70
71 </html>
72
73 <!-- Jappix Mobile <?php echo $version; ?> - An open social platform -->