2024-05-27 04:08:53 -04:00
|
|
|
|
<?php
|
|
|
|
|
|
/**
|
|
|
|
|
|
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
|
* SPDX-FileCopyrightText: 2011-2016 ownCloud, Inc.
|
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
*/
|
|
|
|
|
|
?>
|
2011-04-16 17:29:54 -04:00
|
|
|
|
<!DOCTYPE html>
|
2022-10-27 14:13:48 -04:00
|
|
|
|
<html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" data-locale="<?php p($_['locale']); ?>" translate="no" >
|
2019-02-13 08:50:06 -05:00
|
|
|
|
<head
|
|
|
|
|
|
<?php if ($_['user_uid']) { ?>
|
|
|
|
|
|
data-user="<?php p($_['user_uid']); ?>" data-user-displayname="<?php p($_['user_displayname']); ?>"
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
data-requesttoken="<?php p($_['requesttoken']); ?>">
|
2015-03-17 18:36:05 -04:00
|
|
|
|
<meta charset="utf-8">
|
2013-06-12 08:33:24 -04:00
|
|
|
|
<title>
|
2022-07-20 19:55:50 -04:00
|
|
|
|
<?php
|
|
|
|
|
|
p(!empty($_['pageTitle']) ? $_['pageTitle'] . ' – ' : '');
|
2023-01-20 05:45:08 -05:00
|
|
|
|
p($theme->getTitle());
|
|
|
|
|
|
?>
|
2013-06-12 08:33:24 -04:00
|
|
|
|
</title>
|
2024-08-01 17:06:55 -04:00
|
|
|
|
<meta name="csp-nonce" nonce="<?php p($_['cspNonce']); /* Do not pass into "content" to prevent exfiltration */ ?>">
|
2024-08-20 20:59:14 -04:00
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0<?php if (isset($_['viewport_maximum_scale'])) {
|
|
|
|
|
|
p(', maximum-scale=' . $_['viewport_maximum_scale']);
|
|
|
|
|
|
} ?>">
|
2019-08-23 10:17:09 -04:00
|
|
|
|
<?php if ($theme->getiTunesAppId() !== '') { ?>
|
2014-08-28 04:12:59 -04:00
|
|
|
|
<meta name="apple-itunes-app" content="app-id=<?php p($theme->getiTunesAppId()); ?>">
|
2019-08-23 10:17:09 -04:00
|
|
|
|
<?php } ?>
|
2017-03-27 19:37:47 -04:00
|
|
|
|
<meta name="theme-color" content="<?php p($theme->getColorPrimary()); ?>">
|
2022-05-12 11:08:54 -04:00
|
|
|
|
<link rel="icon" href="<?php print_unescaped(image_path('core', 'favicon.ico')); /* IE11+ supports png */ ?>">
|
|
|
|
|
|
<link rel="apple-touch-icon" href="<?php print_unescaped(image_path('core', 'favicon-touch.png')); ?>">
|
|
|
|
|
|
<link rel="mask-icon" sizes="any" href="<?php print_unescaped(image_path('core', 'favicon-mask.svg')); ?>" color="<?php p($theme->getColorPrimary()); ?>">
|
2023-12-11 02:59:45 -05:00
|
|
|
|
<link rel="manifest" href="<?php print_unescaped(image_path('core', 'manifest.json')); ?>" crossorigin="use-credentials">
|
2017-05-20 06:16:44 -04:00
|
|
|
|
<?php emit_css_loading_tags($_); ?>
|
2017-03-08 03:43:51 -05:00
|
|
|
|
<?php emit_script_loading_tags($_); ?>
|
2014-10-28 06:15:58 -04:00
|
|
|
|
<?php print_unescaped($_['headers']); ?>
|
2011-03-02 05:56:48 -05:00
|
|
|
|
</head>
|
2025-03-27 06:11:59 -04:00
|
|
|
|
<body id="<?php p($_['bodyid']);?>" <?php foreach ($_['enabledThemes'] as $themeId) {
|
|
|
|
|
|
p("data-theme-$themeId ");
|
|
|
|
|
|
}?> data-themes="<?php p(join(',', $_['enabledThemes'])) ?>">
|
2018-01-26 17:46:40 -05:00
|
|
|
|
<?php include 'layout.noscript.warning.php'; ?>
|
2024-07-30 07:24:38 -04:00
|
|
|
|
<?php include 'layout.initial-state.php'; ?>
|
2015-03-21 02:10:46 -04:00
|
|
|
|
<div class="wrapper">
|
|
|
|
|
|
<div class="v-align">
|
2020-04-09 10:07:47 -04:00
|
|
|
|
<?php if ($_['bodyid'] === 'body-login'): ?>
|
2023-10-18 11:02:13 -04:00
|
|
|
|
<header>
|
2025-07-31 14:39:57 -04:00
|
|
|
|
<div id="header" class="header-guest">
|
2023-01-17 08:19:23 -05:00
|
|
|
|
<div class="logo"></div>
|
2014-09-11 05:39:50 -04:00
|
|
|
|
</div>
|
|
|
|
|
|
</header>
|
|
|
|
|
|
<?php endif; ?>
|
2026-01-15 10:10:17 -05:00
|
|
|
|
<div class="guest-content">
|
2022-11-14 06:15:24 -05:00
|
|
|
|
<h1 class="hidden-visually">
|
|
|
|
|
|
<?php p($theme->getName()); ?>
|
|
|
|
|
|
</h1>
|
2018-04-18 10:14:09 -04:00
|
|
|
|
<?php print_unescaped($_['content']); ?>
|
2025-01-10 12:17:22 -05:00
|
|
|
|
</div>
|
2014-04-09 18:33:55 -04:00
|
|
|
|
</div>
|
2013-07-22 07:16:01 -04:00
|
|
|
|
</div>
|
2023-09-23 08:21:49 -04:00
|
|
|
|
<?php
|
|
|
|
|
|
$longFooter = $theme->getLongFooter();
|
2023-09-23 08:25:49 -04:00
|
|
|
|
?>
|
2023-09-23 08:21:49 -04:00
|
|
|
|
<footer class="guest-box <?php if ($longFooter === '') {
|
|
|
|
|
|
p('hidden');
|
|
|
|
|
|
} ?>">
|
2013-06-12 08:49:30 -04:00
|
|
|
|
<p class="info">
|
2023-09-23 08:21:49 -04:00
|
|
|
|
<?php print_unescaped($longFooter); ?>
|
2013-07-22 06:40:28 -04:00
|
|
|
|
</p>
|
|
|
|
|
|
</footer>
|
2011-03-02 05:56:48 -05:00
|
|
|
|
</body>
|
|
|
|
|
|
</html>
|