summaryrefslogtreecommitdiffstats
path: root/templates/layout.guest.php
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-03-02 11:56:48 +0100
committerJakob Sack <kde@jakobsack.de>2011-03-02 11:56:48 +0100
commit66ac355f7845c56589dcd6c10a92a25af48c97fc (patch)
tree6f8563c33ece2b61cfe5482bf755a87d579ed378 /templates/layout.guest.php
parent015ab0eb6424bbde90f36a087326e769233ac577 (diff)
downloadnextcloud-server-66ac355f7845c56589dcd6c10a92a25af48c97fc.tar.gz
nextcloud-server-66ac355f7845c56589dcd6c10a92a25af48c97fc.zip
Getting rid of Smarty, using our own template system
Diffstat (limited to 'templates/layout.guest.php')
-rw-r--r--templates/layout.guest.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/templates/layout.guest.php b/templates/layout.guest.php
new file mode 100644
index 00000000000..a5ebf7a76a8
--- /dev/null
+++ b/templates/layout.guest.php
@@ -0,0 +1,27 @@
+<?php
+/*
+ * Template for guest pages
+ */
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <title>ownCloud</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <link rel="shortcut icon" href="favicon.ico" />
+ <? foreach( $_["cssfiles"] as $cssfile ){ ?>
+ <link rel="stylesheet" href="<? echo $cssfile ?>" type="text/css" media="screen" />
+ <? } ?>
+ <? foreach( $_["jsfiles"] as $jsfile ){ ?>
+ <script type="text/javascript" src="<? echo $jsfile ?>"></script>
+ <? } ?>
+ </head>
+
+ <body class="login">
+ <? echo $_["content"] ?>
+ <p class="info">
+ ownCloud is an open personal cloud which runs on your personal server.<br />
+ To learn more, please visit <a href="http://www.owncloud.org/">owncloud.org</a>.
+ </p>
+ </body>
+</html>