server/settings/templates/settings.development.notice.php

65 lines
2.4 KiB
PHP
Raw Normal View History

<p>
<?php print_unescaped(str_replace(
[
'{communityopen}',
'{githubopen}',
'{licenseopen}',
'{linkclose}',
],
[
2016-06-20 08:38:37 +00:00
'<a href="https://nextcloud.com/contribute" target="_blank" rel="noreferrer">',
'<a href="https://github.com/nextcloud" target="_blank" rel="noreferrer">',
'<a href="https://www.gnu.org/licenses/agpl-3.0.html" target="_blank" rel="noreferrer">',
'</a>',
],
2016-08-10 10:04:37 +00:00
$l->t('Developed by the {communityopen}Nextcloud community{linkclose}, the {githubopen}source code{linkclose} is licensed under the {licenseopen}AGPL{linkclose}.')
)); ?>
2016-08-13 12:16:17 +00:00
</p>
2016-08-10 09:27:13 +00:00
2016-08-13 12:16:17 +00:00
<p class="social-button">
2016-08-10 09:27:13 +00:00
<?php print_unescaped(str_replace(
[
'{googleimage}',
'{facebookimage}',
'{twitterimage}',
'{rssimage}',
'{mailimage}',
'{googleopen}',
'{facebookopen}',
'{twitteropen}',
'{rssopen}',
'{newsletteropen}',
2016-08-10 09:27:13 +00:00
'{linkclose}',
2016-08-13 12:16:17 +00:00
'{googletext}',
'{facebooktext}',
'{twittertext}',
'{rsstext}',
'{mailtext}',
2016-08-10 09:27:13 +00:00
],
[
image_path('core', 'googleplus.svg'),
image_path('core', 'facebook.svg'),
image_path('core', 'twitter.svg'),
image_path('core', 'rss.svg'),
image_path('core', 'mail.svg'),
'<a target="_blank" rel="noreferrer noopener" href="https://plus.google.com/+Nextcloud">',
'<a target="_blank" rel="noreferrer noopener" href="https://www.facebook.com/Nextclouders/">',
2016-08-10 09:40:35 +00:00
'<a target="_blank" rel="noreferrer noopener" href="https://twitter.com/nextclouders">',
'<a target="_blank" rel="noreferrer noopener" href="https://nextcloud.com/news/">',
2016-08-10 09:40:35 +00:00
'<a target="_blank" rel="noreferrer noopener" href="https://newsletter.nextcloud.com/?p=subscribe&amp;id=1">',
2016-08-10 09:27:13 +00:00
'</a>',
$l->t('Follow us on Google+'),
$l->t('Like our Facebook page'),
$l->t('Follow us on Twitter'),
$l->t('Check out our blog'),
$l->t('Subscribe to our newsletter'),
2016-08-13 12:16:17 +00:00
2016-08-10 09:27:13 +00:00
],
2016-08-13 12:16:17 +00:00
'{googleopen}<img width="50" src="{googleimage}" title="{googletext}" alt="{googletext}">{linkclose}
{facebookopen}<img width="50" src="{facebookimage}" title="{facebooktext}" alt="{facebooktext}">{linkclose}
{twitteropen}<img width="50" src="{twitterimage}" title="{twittertext}" alt="{twittertext}">{linkclose}
{rssopen}<img class="img-circle" width="50" src="{rssimage}" title="{rsstext}" alt="{rsstext}">{linkclose}
{newsletteropen}<img width="50" src="{mailimage}" title="{mailtext}" alt="{mailtext}">{linkclose}'
2016-08-10 09:27:13 +00:00
)); ?>
</p>