server/core/templates/layout.guest.php

45 lines
2.2 KiB
PHP
Raw Normal View History

2011-04-16 21:29:54 +00: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-19 20:53:07 +00:00
<?php foreach($_['cssfiles'] as $cssfile): ?>
<link rel="stylesheet" href="<?php echo $cssfile; ?>" type="text/css" media="screen" />
<?php endforeach; ?>
2011-06-19 21:33:34 +00:00
<script type="text/javascript">
2012-11-15 18:43:10 +00:00
var oc_debug = <?php echo (defined('DEBUG') && DEBUG) ? 'true' : 'false'; ?>;
var oc_webroot = '<?php echo OC::$WEBROOT; ?>';
2012-06-06 19:54:57 +00:00
var oc_appswebroots = <?php echo $_['apps_paths'] ?>;
var oc_requesttoken = '<?php echo $_['requesttoken']; ?>';
2012-10-28 09:33:18 +00:00
var datepickerFormatDate = <?php echo json_encode($l->l('jsdate', 'jsdate')) ?>;
2012-10-25 15:51:59 +00:00
var dayNames = <?php echo json_encode(array((string)$l->t('Sunday'), (string)$l->t('Monday'), (string)$l->t('Tuesday'), (string)$l->t('Wednesday'), (string)$l->t('Thursday'), (string)$l->t('Friday'), (string)$l->t('Saturday'))) ?>;
var monthNames = <?php echo json_encode(array((string)$l->t('January'), (string)$l->t('February'), (string)$l->t('March'), (string)$l->t('April'), (string)$l->t('May'), (string)$l->t('June'), (string)$l->t('July'), (string)$l->t('August'), (string)$l->t('September'), (string)$l->t('October'), (string)$l->t('November'), (string)$l->t('December'))) ?>;
2012-10-28 09:33:18 +00:00
var firstDay = <?php echo json_encode($l->l('firstday', 'firstday')) ?>;
2011-08-19 20:53:07 +00: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 13:22:01 +00:00
foreach($header['attributes'] as $name=>$value) {
echo "$name='$value' ";
};
2011-08-19 20:53:07 +00:00
echo '/>';
?>
<?php endforeach; ?>
</head>
<body id="body-login">
2011-08-08 15:57:45 +00:00
<div id="login">
<header><div id="header">
<img src="<?php echo image_path('', 'logo.svg'); ?>" class="svg" alt="ownCloud" />
</div></header>
2011-08-08 15:57:45 +00: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>