nextcloud/core/templates/layout.guest.php

41 lines
1.5 KiB
PHP
Raw Normal View History

2011-04-17 01:29:54 +04:00
<!DOCTYPE html>
<html>
<head>
<title>ownCloud</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="<?php echo image_path('', 'favicon.png'); ?>" /><link rel="apple-touch-icon-precomposed" href="<?php echo image_path('', 'favicon-touch.png'); ?>" />
2011-08-20 00:53:07 +04:00
<?php foreach($_['cssfiles'] as $cssfile): ?>
<link rel="stylesheet" href="<?php echo $cssfile; ?>" type="text/css" media="screen" />
<?php endforeach; ?>
2011-06-20 01:33:34 +04:00
<script type="text/javascript">
var oc_webroot = '<?php echo OC::$WEBROOT; ?>';
2012-06-06 23:54:57 +04:00
var oc_appswebroots = <?php echo $_['apps_paths'] ?>;
var oc_requesttoken = '<?php echo $_['requesttoken']; ?>';
var oc_requestlifespan = '<?php echo $_['requestlifespan']; ?>';
2011-08-20 00:53:07 +04:00
</script>
<?php foreach($_['jsfiles'] as $jsfile): ?>
<script type="text/javascript" src="<?php echo $jsfile; ?>"></script>
<?php endforeach; ?>
<?php foreach($_['headers'] as $header): ?>
<?php
echo '<'.$header['tag'].' ';
2012-09-07 17:22:01 +04:00
foreach($header['attributes'] as $name=>$value) {
echo "$name='$value' ";
};
2011-08-20 00:53:07 +04:00
echo '/>';
?>
<?php endforeach; ?>
</head>
<body id="body-login">
2011-08-08 19:57:45 +04:00
<div id="login">
<header><div id="header">
2012-04-16 13:34:00 +04:00
<img src="<?php echo image_path('', 'logo.png'); ?>" alt="ownCloud" />
</div></header>
2011-08-08 19:57:45 +04:00
<?php echo $_['content']; ?>
</div>
<footer><p class="info"><a href="http://owncloud.org/">ownCloud</a> &ndash; <?php echo $l->t( 'web services under your control' ); ?></p></footer>
</body>
</html>