defaults.php 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?php
  2. /**
  3. * @author Björn Schießle <schiessle@owncloud.com>
  4. * @author Jan-Christoph Borchardt, http://jancborchardt.net
  5. * @copyright Copyright (c) 2015, ownCloud, Inc.
  6. * @license AGPL-3.0
  7. *
  8. * This code is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU Affero General Public License, version 3,
  10. * as published by the Free Software Foundation.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU Affero General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU Affero General Public License, version 3,
  18. * along with this program. If not, see <http://www.gnu.org/licenses/>
  19. */
  20. class OC_Theme {
  21. public function getBaseUrl() {
  22. return 'https://owncloud.org';
  23. }
  24. public function getSyncClientUrl() {
  25. return 'https://owncloud.org/install';
  26. }
  27. public function getDocBaseUrl() {
  28. return 'https://doc.owncloud.org';
  29. }
  30. public function getTitle() {
  31. return 'Custom Cloud';
  32. }
  33. public function getName() {
  34. return 'Custom Cloud';
  35. }
  36. public function getEntity() {
  37. return 'Custom Cloud Co.';
  38. }
  39. public function getSlogan() {
  40. return 'Your custom cloud, personalized for you!';
  41. }
  42. public function getShortFooter() {
  43. $footer = '© 2015 <a href="'.$this->getBaseUrl().'" target="_blank\">'.$this->getEntity().'</a>'.
  44. '<br/>' . $this->getSlogan();
  45. return $footer;
  46. }
  47. public function getLongFooter() {
  48. $footer = '© 2015 <a href="'.$this->getBaseUrl().'" target="_blank\">'.$this->getEntity().'</a>'.
  49. '<br/>' . $this->getSlogan();
  50. return $footer;
  51. }
  52. public function buildDocLinkToKey($key) {
  53. return $this->getDocBaseUrl() . '/server/8.0/go.php?to=' . $key;
  54. }
  55. public function getMailHeaderColor() {
  56. return '#745bca';
  57. }
  58. }