aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorAndy Scherzinger <info@andy-scherzinger.de>2024-05-27 18:22:11 +0200
committerGitHub <noreply@github.com>2024-05-27 18:22:11 +0200
commitbb1cb1c2315627964afe26316c661b9c591f26b1 (patch)
tree3d169ccea812c995c2039ad416b498f9816a6431 /core/templates
parentb0f5c759a85b4ff0b9f2368d72a41e8a5a02f3c5 (diff)
parente07a1906418585ca60b7084e2f476e3dbc2a5fef (diff)
downloadnextcloud-server-bb1cb1c2315627964afe26316c661b9c591f26b1.tar.gz
nextcloud-server-bb1cb1c2315627964afe26316c661b9c591f26b1.zip
Merge pull request #45524 from nextcloud/chore/noid/spdx-batch5
Add SPDX header - batch 5
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/403.php5
-rw-r--r--core/templates/404-profile.php5
-rw-r--r--core/templates/404.php5
-rw-r--r--core/templates/429.php6
-rw-r--r--core/templates/confirmation.php6
-rw-r--r--core/templates/error.php7
-rw-r--r--core/templates/exception.php5
-rw-r--r--core/templates/installation.php5
-rw-r--r--core/templates/installation_forbidden.php6
-rw-r--r--core/templates/installation_incomplete.php6
-rw-r--r--core/templates/layout.base.php7
-rw-r--r--core/templates/layout.guest.php7
-rw-r--r--core/templates/layout.noscript.warning.php7
-rw-r--r--core/templates/layout.public.php6
-rw-r--r--core/templates/layout.user.php6
-rw-r--r--core/templates/login.php10
-rw-r--r--core/templates/loginflow/authpicker.php19
-rw-r--r--core/templates/loginflow/grant.php19
-rw-r--r--core/templates/loginflowv2/authpicker.php19
-rw-r--r--core/templates/loginflowv2/done.php21
-rw-r--r--core/templates/loginflowv2/grant.php19
-rw-r--r--core/templates/profile.php6
-rw-r--r--core/templates/publicshareauth.php5
-rw-r--r--core/templates/recommendedapps.php20
-rw-r--r--core/templates/success.php4
-rw-r--r--core/templates/tags.html4
-rw-r--r--core/templates/twofactorselectchallenge.php5
-rw-r--r--core/templates/twofactorsetupchallenge.php4
-rw-r--r--core/templates/twofactorsetupselection.php21
-rw-r--r--core/templates/twofactorshowchallenge.php5
-rw-r--r--core/templates/unsupportedbrowser.php6
-rw-r--r--core/templates/untrustedDomain.php9
-rw-r--r--core/templates/update.admin.php7
-rw-r--r--core/templates/update.use-cli.php7
-rw-r--r--core/templates/update.user.php7
35 files changed, 176 insertions, 130 deletions
diff --git a/core/templates/403.php b/core/templates/403.php
index bdb5737f23d..091db720b16 100644
--- a/core/templates/403.php
+++ b/core/templates/403.php
@@ -1,4 +1,9 @@
<?php
+/**
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2011-2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
// @codeCoverageIgnoreStart
if (!isset($_)) {//standalone page is not supported anymore - redirect to /
require_once '../../lib/base.php';
diff --git a/core/templates/404-profile.php b/core/templates/404-profile.php
index 30d03507654..3f2d8731347 100644
--- a/core/templates/404-profile.php
+++ b/core/templates/404-profile.php
@@ -1,5 +1,8 @@
<?php
-
+/**
+ * SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
/** @var array $_ */
/** @var \OCP\IL10N $l */
/** @var \OCP\Defaults $theme */
diff --git a/core/templates/404.php b/core/templates/404.php
index 4cce2434d64..d2dc10f9aa8 100644
--- a/core/templates/404.php
+++ b/core/templates/404.php
@@ -1,4 +1,9 @@
<?php
+/**
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2011-2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
/** @var array $_ */
/** @var \OCP\IL10N $l */
/** @var \OCP\Defaults $theme */
diff --git a/core/templates/429.php b/core/templates/429.php
index caf8a3675e2..0cfe1eb75ff 100644
--- a/core/templates/429.php
+++ b/core/templates/429.php
@@ -1,3 +1,9 @@
+<?php
+/**
+ * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+?>
<div class="body-login-container update">
<h2><?php p($l->t('Too many requests')); ?></h2>
<p class="infogroup"><?php p($l->t('There were too many requests from your network. Retry later or contact your administrator if this is an error.')); ?></p>
diff --git a/core/templates/confirmation.php b/core/templates/confirmation.php
index 26014cd1e79..cc062d1ef4c 100644
--- a/core/templates/confirmation.php
+++ b/core/templates/confirmation.php
@@ -1,10 +1,12 @@
<?php
+/**
+ * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
/** @var array $_ */
/** @var \OCP\IL10N $l */
/** @var \OCP\Defaults $theme */
-
?>
-
<div class="update">
<form method="POST" action="<?php print_unescaped($_['targetUrl']);?>">
<h2><?php p($_['title']) ?></h2>
diff --git a/core/templates/error.php b/core/templates/error.php
index 2e5488ae8db..82acb08f9ed 100644
--- a/core/templates/error.php
+++ b/core/templates/error.php
@@ -1,3 +1,10 @@
+<?php
+/**
+ * SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2011-2015 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
+?>
<div class="guest-box">
<h2><?php p($l->t('Error')) ?></h2>
<ul>
diff --git a/core/templates/exception.php b/core/templates/exception.php
index f060d475b1f..5c907038ba2 100644
--- a/core/templates/exception.php
+++ b/core/templates/exception.php
@@ -1,4 +1,9 @@
<?php
+/**
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2012-2015 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
/** @var array $_ */
/** @var \OCP\IL10N $l */
diff --git a/core/templates/installation.php b/core/templates/installation.php
index 9a927373a56..5343464edbc 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -1,4 +1,9 @@
<?php
+/**
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2011-2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
script('core', 'install');
?>
<input type='hidden' id='hasMySQL' value='<?php p($_['hasMySQL']) ?>'>
diff --git a/core/templates/installation_forbidden.php b/core/templates/installation_forbidden.php
index 4cb4d9c057c..56b4a9082f4 100644
--- a/core/templates/installation_forbidden.php
+++ b/core/templates/installation_forbidden.php
@@ -1,3 +1,9 @@
+<?php
+/**
+ * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+?>
<div class="guest-box">
<h2><?php p($l->t('Error')) ?></h2>
<p class="text-left">
diff --git a/core/templates/installation_incomplete.php b/core/templates/installation_incomplete.php
index fbceb10780c..b3a3cae5988 100644
--- a/core/templates/installation_incomplete.php
+++ b/core/templates/installation_incomplete.php
@@ -1,3 +1,9 @@
+<?php
+/**
+ * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+?>
<div class="guest-box">
<h2><?php p($l->t('Error')) ?></h2>
<p class="text-left">
diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php
index b4cc9acd194..9615e9c3cec 100644
--- a/core/templates/layout.base.php
+++ b/core/templates/layout.base.php
@@ -1,3 +1,10 @@
+<?php
+/**
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2012-2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
+?>
<!DOCTYPE html>
<html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" data-locale="<?php p($_['locale']); ?>" translate="no" >
<head data-requesttoken="<?php p($_['requesttoken']); ?>">
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index 5ebada92934..3fd11dcc2b9 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -1,3 +1,10 @@
+<?php
+/**
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2011-2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
+?>
<!DOCTYPE html>
<html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" data-locale="<?php p($_['locale']); ?>" translate="no" >
<head
diff --git a/core/templates/layout.noscript.warning.php b/core/templates/layout.noscript.warning.php
index 311394592d1..103af843477 100644
--- a/core/templates/layout.noscript.warning.php
+++ b/core/templates/layout.noscript.warning.php
@@ -1,3 +1,10 @@
+<?php
+/**
+ * SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2015 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
+?>
<noscript>
<div id="nojavascript">
<div>
diff --git a/core/templates/layout.public.php b/core/templates/layout.public.php
index 19ec4244b9f..3ce34ece9f5 100644
--- a/core/templates/layout.public.php
+++ b/core/templates/layout.public.php
@@ -1,3 +1,9 @@
+<?php
+/**
+ * SPDX-FileCopyrightText: 2018-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+?>
<!DOCTYPE html>
<html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" data-locale="<?php p($_['locale']); ?>" translate="no" >
<head data-requesttoken="<?php p($_['requesttoken']); ?>">
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 681b0547a7c..f590918301b 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -1,5 +1,11 @@
<?php
/**
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2011-2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
+
+/**
* @var \OC_Defaults $theme
* @var array $_
*/
diff --git a/core/templates/login.php b/core/templates/login.php
index 58da839fbba..949916872de 100644
--- a/core/templates/login.php
+++ b/core/templates/login.php
@@ -1,8 +1,14 @@
-<?php /** @var \OCP\IL10N $l */ ?>
<?php
+
+/**
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2011-2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
+ *
+ * @var \OCP\IL10N $l
+ */
script('core', 'login');
?>
-
<div>
<div id="login"></div>
</div>
diff --git a/core/templates/loginflow/authpicker.php b/core/templates/loginflow/authpicker.php
index b0a2efe32bd..94aace60cba 100644
--- a/core/templates/loginflow/authpicker.php
+++ b/core/templates/loginflow/authpicker.php
@@ -1,22 +1,7 @@
<?php
/**
- * @copyright Copyright (c) 2017 Lukas Reschke <lukas@statuscode.ch>
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
+ * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
script('core', 'login/authpicker');
diff --git a/core/templates/loginflow/grant.php b/core/templates/loginflow/grant.php
index 6e09be17eeb..dd2fb8d1a8e 100644
--- a/core/templates/loginflow/grant.php
+++ b/core/templates/loginflow/grant.php
@@ -1,22 +1,7 @@
<?php
/**
- * @copyright Copyright (c) 2017 Lukas Reschke <lukas@statuscode.ch>
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
+ * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
script('core', 'login/grant');
diff --git a/core/templates/loginflowv2/authpicker.php b/core/templates/loginflowv2/authpicker.php
index 5d30f482df3..14f5a6fe3d0 100644
--- a/core/templates/loginflowv2/authpicker.php
+++ b/core/templates/loginflowv2/authpicker.php
@@ -1,22 +1,7 @@
<?php
/**
- * @copyright Copyright (c) 2017 Lukas Reschke <lukas@statuscode.ch>
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
+ * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
style('core', 'login/authpicker');
diff --git a/core/templates/loginflowv2/done.php b/core/templates/loginflowv2/done.php
index 8b9dc3649e1..b0369a0a637 100644
--- a/core/templates/loginflowv2/done.php
+++ b/core/templates/loginflowv2/done.php
@@ -1,25 +1,8 @@
<?php
declare(strict_types=1);
/**
- * @copyright Copyright (c) 2019, Roeland Jago Douma <roeland@famdouma.nl>
- *
- * @author Roeland Jago Douma <roeland@famdouma.nl>
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
+ * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
style('core', 'login/authpicker');
diff --git a/core/templates/loginflowv2/grant.php b/core/templates/loginflowv2/grant.php
index 567c3b4e776..69599810ce9 100644
--- a/core/templates/loginflowv2/grant.php
+++ b/core/templates/loginflowv2/grant.php
@@ -1,22 +1,7 @@
<?php
/**
- * @copyright Copyright (c) 2017 Lukas Reschke <lukas@statuscode.ch>
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
+ * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
script('core', 'login/grant');
diff --git a/core/templates/profile.php b/core/templates/profile.php
index 33cfaeb52c6..460bfcc4221 100644
--- a/core/templates/profile.php
+++ b/core/templates/profile.php
@@ -1 +1,7 @@
+<?php
+/**
+ * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+?>
<div id="content"></div>
diff --git a/core/templates/publicshareauth.php b/core/templates/publicshareauth.php
index 3b7393e0c07..f8e102076bb 100644
--- a/core/templates/publicshareauth.php
+++ b/core/templates/publicshareauth.php
@@ -1,4 +1,9 @@
<?php
+/**
+ * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
/** @var array $_ */
/** @var \OCP\IL10N $l */
\OCP\Util::addStyle('core', 'guest');
diff --git a/core/templates/recommendedapps.php b/core/templates/recommendedapps.php
index e51189ec137..3654acb317d 100644
--- a/core/templates/recommendedapps.php
+++ b/core/templates/recommendedapps.php
@@ -1,24 +1,8 @@
<?php declare(strict_types=1);
/**
- * @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
- *
- * @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
script('core', 'recommendedapps');
diff --git a/core/templates/success.php b/core/templates/success.php
index 5ce8ff4f045..2493fe9a095 100644
--- a/core/templates/success.php
+++ b/core/templates/success.php
@@ -1,4 +1,8 @@
<?php
+/**
+ * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
/** @var array $_ */
/** @var \OCP\IL10N $l */
/** @var \OCP\Defaults $theme */
diff --git a/core/templates/tags.html b/core/templates/tags.html
index a7125027a26..83c8b644b22 100644
--- a/core/templates/tags.html
+++ b/core/templates/tags.html
@@ -1,3 +1,7 @@
+<!--
+ - SPDX-FileCopyrightText: 2013-2015 ownCloud, Inc.
+ - SPDX-License-Identifier: AGPL-3.0-only
+ -->
<div id="tagsdialog">
<div class="content">
<div class="scrollarea">
diff --git a/core/templates/twofactorselectchallenge.php b/core/templates/twofactorselectchallenge.php
index d81ce7c4a67..582f45d70e8 100644
--- a/core/templates/twofactorselectchallenge.php
+++ b/core/templates/twofactorselectchallenge.php
@@ -1,4 +1,9 @@
<?php
+/**
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
$noProviders = empty($_['providers']);
?>
<div class="body-login-container update two-factor">
diff --git a/core/templates/twofactorsetupchallenge.php b/core/templates/twofactorsetupchallenge.php
index ea6a1e62f6e..09a143f1100 100644
--- a/core/templates/twofactorsetupchallenge.php
+++ b/core/templates/twofactorsetupchallenge.php
@@ -1,4 +1,8 @@
<?php
+/**
+ * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
/** @var \OCP\IL10N $l */
/** @var array $_ */
/** @var \OCP\Authentication\TwoFactorAuth\IProvider $provider */
diff --git a/core/templates/twofactorsetupselection.php b/core/templates/twofactorsetupselection.php
index fb8db49cf17..9633e1faacb 100644
--- a/core/templates/twofactorsetupselection.php
+++ b/core/templates/twofactorsetupselection.php
@@ -1,25 +1,8 @@
<?php
declare(strict_types=1);
/**
- * @copyright Copyright (c) 2019, Roeland Jago Douma <roeland@famdouma.nl>
- *
- * @author Roeland Jago Douma <roeland@famdouma.nl>
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
+ * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
?>
diff --git a/core/templates/twofactorshowchallenge.php b/core/templates/twofactorshowchallenge.php
index 9be36fe13a2..42cc14e5f22 100644
--- a/core/templates/twofactorshowchallenge.php
+++ b/core/templates/twofactorshowchallenge.php
@@ -1,4 +1,9 @@
<?php
+/**
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
/** @var \OCP\IL10N $l */
/** @var array $_*/
/** @var boolean $error */
diff --git a/core/templates/unsupportedbrowser.php b/core/templates/unsupportedbrowser.php
index 54547e204f3..519f0bc9f5c 100644
--- a/core/templates/unsupportedbrowser.php
+++ b/core/templates/unsupportedbrowser.php
@@ -1 +1,7 @@
+<?php
+/**
+ * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+?>
<div id="unsupported-browser"></div>
diff --git a/core/templates/untrustedDomain.php b/core/templates/untrustedDomain.php
index 1ae8b73d9b8..874fd7aa8d5 100644
--- a/core/templates/untrustedDomain.php
+++ b/core/templates/untrustedDomain.php
@@ -1,4 +1,11 @@
-<?php /** @var array $_ */ ?>
+<?php
+/**
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2014-2015 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
+/** @var array $_ */
+?>
<div class="guest-box">
<h2><?php p($l->t('Access through untrusted domain')); ?></h2>
diff --git a/core/templates/update.admin.php b/core/templates/update.admin.php
index daa6229c4c7..504071451a9 100644
--- a/core/templates/update.admin.php
+++ b/core/templates/update.admin.php
@@ -1,3 +1,10 @@
+<?php
+/**
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2013-2015 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
+?>
<div class="guest-box update" data-productname="<?php p($_['productName']) ?>" data-version="<?php p($_['version']) ?>">
<div class="updateOverview">
<?php if ($_['isAppsOnlyUpgrade']) { ?>
diff --git a/core/templates/update.use-cli.php b/core/templates/update.use-cli.php
index 9d1febe614a..a13dd2f51f1 100644
--- a/core/templates/update.use-cli.php
+++ b/core/templates/update.use-cli.php
@@ -1,3 +1,10 @@
+<?php
+/**
+ * SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
+?>
<div class="guest-box update" data-productname="<?php p($_['productName']) ?>" data-version="<?php p($_['version']) ?>">
<div class="updateOverview">
<h2 class="title"><?php p($l->t('Update needed')) ?></h2>
diff --git a/core/templates/update.user.php b/core/templates/update.user.php
index 1cb527bb9c8..0b702c0d246 100644
--- a/core/templates/update.user.php
+++ b/core/templates/update.user.php
@@ -1,3 +1,10 @@
+<?php
+/**
+ * SPDX-FileCopyrightText: 2018-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2013-2015 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
+?>
<div class="guest-box">
<div class="icon-big icon-error"></div>
<h2><?php p($l->t('Maintenance mode', [$theme->getName()])) ?></h2>