diff options
Diffstat (limited to 'themes/example')
-rw-r--r-- | themes/example/core/css/server.css | 18 | ||||
-rw-r--r-- | themes/example/defaults.php | 32 |
2 files changed, 17 insertions, 33 deletions
diff --git a/themes/example/core/css/server.css b/themes/example/core/css/server.css index 53fdeda2318..da598892d8b 100644 --- a/themes/example/core/css/server.css +++ b/themes/example/core/css/server.css @@ -1,19 +1,7 @@ /** - * @author Jan-Christoph Borchardt, http://jancborchardt.net - * @copyright Copyright (c) 2015, ownCloud, Inc. - * @license AGPL-3.0 - * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. - * - * 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, version 3, - * along with this program. If not, see <http://www.gnu.org/licenses/> + * SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2015 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-only */ diff --git a/themes/example/defaults.php b/themes/example/defaults.php index 7ed7a2766e4..6bf93e62681 100644 --- a/themes/example/defaults.php +++ b/themes/example/defaults.php @@ -1,21 +1,9 @@ <?php + /** - * @author Björn Schießle <schiessle@owncloud.com> - * @author Jan-Christoph Borchardt, http://jancborchardt.net - * @copyright Copyright (c) 2016, ownCloud, Inc. - * @license AGPL-3.0 - * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. - * - * 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, version 3, - * along with this program. If not, see <http://www.gnu.org/licenses/> + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-only */ class OC_Theme { @@ -100,8 +88,8 @@ class OC_Theme { * @return string long footer */ public function getLongFooter(): string { - $footer = '© ' . date('Y') . ' <a href="' . $this->getBaseUrl() . '" target="_blank">' . $this->getEntity() . '</a>' . - '<br/>' . $this->getSlogan(); + $footer = '© ' . date('Y') . ' <a href="' . $this->getBaseUrl() . '" target="_blank">' . $this->getEntity() . '</a>' + . '<br/>' . $this->getSlogan(); return $footer; } @@ -124,6 +112,14 @@ class OC_Theme { } /** + * Returns background color to be used + * @return string + */ + public function getColorBackground(): string { + return '#3d85c6'; + } + + /** * Returns variables to overload defaults from core/css/variables.scss * @return array */ |