]> git.mxchange.org Git - friendica-addons.git/blobdiff - jappixmini/jappix/php/static.php
jappixmini: include jappix source
[friendica-addons.git] / jappixmini / jappix / php / static.php
diff --git a/jappixmini/jappix/php/static.php b/jappixmini/jappix/php/static.php
new file mode 100644 (file)
index 0000000..857a6a0
--- /dev/null
@@ -0,0 +1,40 @@
+<?php
+
+/*
+
+Jappix - An open social platform
+This is the Jappix Static PHP/HTML code
+
+-------------------------------------------------
+
+License: AGPL
+Author: Vanaryon
+Last revision: 27/05/11
+
+*/
+
+// Someone is trying to hack us?
+if(!defined('JAPPIX_BASE'))
+       exit;
+
+?>
+<!DOCTYPE html>
+<?php htmlTag($locale); ?>
+
+<head>
+       <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+       <title><?php echo htmlspecialchars(SERVICE_NAME); ?> &bull; <?php _e("Static content server"); ?></title>
+       <link rel="shortcut icon" href="./favicon.ico" />
+</head>
+
+<body>
+       <h1><?php echo htmlspecialchars(SERVICE_NAME); ?> - <?php _e("Static content server"); ?></h1>
+       <p><?php printf(T_("This is the static content server for %1s, ā€œ%2sā€."), htmlspecialchars(SERVICE_NAME), htmlspecialchars(SERVICE_DESC)); ?></p>
+       <?php if(showManagerLink()) { ?>
+       <p><a href="./?m=manager<?php echo keepGet('m', false); ?>"><?php _e("Manager"); ?></a></p>
+       <?php } ?>
+</body>
+
+</html>
+
+<!-- Jappix Static <?php echo $version; ?> - An open social platform -->