settings.development.notice.php 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?php if (OC_Util::getEditionString() === ''): ?>
  2. <p>
  3. <?php print_unescaped(str_replace(
  4. [
  5. '{communityopen}',
  6. '{githubopen}',
  7. '{licenseopen}',
  8. '{linkclose}',
  9. ],
  10. [
  11. '<a href="https://nextcloud.com/contribute" target="_blank" rel="noreferrer">',
  12. '<a href="https://github.com/nextcloud" target="_blank" rel="noreferrer">',
  13. '<a href="https://www.gnu.org/licenses/agpl-3.0.html" target="_blank" rel="noreferrer">',
  14. '</a>',
  15. ],
  16. $l->t('Developed by the {communityopen}Nextcloud community{linkclose}, the {githubopen}source code{linkclose} is licensed under the {licenseopen}AGPL{linkclose}.')
  17. )); ?>
  18. </p>
  19. <p class="social-button">
  20. <?php print_unescaped(str_replace(
  21. [
  22. '{googleimage}',
  23. '{facebookimage}',
  24. '{twitterimage}',
  25. '{rssimage}',
  26. '{mailimage}',
  27. '{googleopen}',
  28. '{facebookopen}',
  29. '{twitteropen}',
  30. '{rssopen}',
  31. '{newsletteropen}',
  32. '{linkclose}',
  33. '{googletext}',
  34. '{facebooktext}',
  35. '{twittertext}',
  36. '{rsstext}',
  37. '{mailtext}',
  38. ],
  39. [
  40. image_path('core', 'googleplus.svg'),
  41. image_path('core', 'facebook.svg'),
  42. image_path('core', 'twitter.svg'),
  43. image_path('core', 'rss.svg'),
  44. image_path('core', 'mail.svg'),
  45. '<a target="_blank" rel="noreferrer noopener" href="https://plus.google.com/b/104036748063781940910/104036748063781940910/about">',
  46. '<a target="_blank" rel="noreferrer noopener" href="https://www.facebook.com/Nextcloud-1032807203462807/">',
  47. '<a target="_blank" rel="noreferrer noopener" href="https://twitter.com/nextclouders">',
  48. '<a target="_blank" rel="noreferrer noopener" href="https://nextcloud.com/blogfeed">',
  49. '<a target="_blank" rel="noreferrer noopener" href="https://newsletter.nextcloud.com/?p=subscribe&amp;id=1">',
  50. '</a>',
  51. $l->t('Follow us on Google Plus!'),
  52. $l->t('Like our facebook page!'),
  53. $l->t('Subscribe to our twitter channel!'),
  54. $l->t('Subscribe to our news feed!'),
  55. $l->t('Subscribe to our newsletter!'),
  56. ],
  57. '{googleopen}<img width="50" src="{googleimage}" title="{googletext}" alt="{googletext}">{linkclose}
  58. {facebookopen}<img width="50" src="{facebookimage}" title="{facebooktext}" alt="{facebooktext}">{linkclose}
  59. {twitteropen}<img width="50" src="{twitterimage}" title="{twittertext}" alt="{twittertext}">{linkclose}
  60. {rssopen}<img class="img-circle" width="50" src="{rssimage}" title="{rsstext}" alt="{rsstext}">{linkclose}
  61. {newsletteropen}<img width="50" src="{mailimage}" title="{mailtext}" alt="{mailtext}">{linkclose}'
  62. )); ?>
  63. </p>
  64. <?php endif; ?>