1
0

settings.development.notice.php 2.4 KB

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