aboutsummaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-08-15 21:55:09 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-08-15 21:55:09 +0200
commit6c6338b81072ba58b662d2f03cab6cfdbfdf4a18 (patch)
tree7e5bf139a601f03dc7c458d7ef84881e63b5ee20 /settings/templates
parent7ffb7b0d846241c8cc6b45a3c85b2374c6d026ae (diff)
parent2061d40ba292d2b906132dfcd261e4c631d9854b (diff)
downloadnextcloud-server-6c6338b81072ba58b662d2f03cab6cfdbfdf4a18.tar.gz
nextcloud-server-6c6338b81072ba58b662d2f03cab6cfdbfdf4a18.zip
Merge branch 'master' into implement_712
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/settings.development.notice.php52
1 files changed, 49 insertions, 3 deletions
diff --git a/settings/templates/settings.development.notice.php b/settings/templates/settings.development.notice.php
index a96661e5de1..ccbd0b7df80 100644
--- a/settings/templates/settings.development.notice.php
+++ b/settings/templates/settings.development.notice.php
@@ -1,6 +1,4 @@
-<?php
-/** @var \OCP\IL10N $l */
-if (OC_Util::getEditionString() === ''): ?>
+<?php if (OC_Util::getEditionString() === ''): ?>
<p>
<?php print_unescaped(str_replace(
[
@@ -18,4 +16,52 @@ if (OC_Util::getEditionString() === ''): ?>
$l->t('Developed by the {communityopen}Nextcloud community{linkclose}, the {githubopen}source code{linkclose} is licensed under the {licenseopen}AGPL{linkclose}.')
)); ?>
</p>
+
+ <p class="social-button">
+ <?php print_unescaped(str_replace(
+ [
+ '{googleimage}',
+ '{facebookimage}',
+ '{twitterimage}',
+ '{rssimage}',
+ '{mailimage}',
+ '{googleopen}',
+ '{facebookopen}',
+ '{twitteropen}',
+ '{rssopen}',
+ '{newsletteropen}',
+ '{linkclose}',
+ '{googletext}',
+ '{facebooktext}',
+ '{twittertext}',
+ '{rsstext}',
+ '{mailtext}',
+ ],
+ [
+ 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/b/104036748063781940910/104036748063781940910/about">',
+ '<a target="_blank" rel="noreferrer noopener" href="https://www.facebook.com/Nextcloud-1032807203462807/">',
+ '<a target="_blank" rel="noreferrer noopener" href="https://twitter.com/nextclouders">',
+ '<a target="_blank" rel="noreferrer noopener" href="https://nextcloud.com/blogfeed">',
+ '<a target="_blank" rel="noreferrer noopener" href="https://newsletter.nextcloud.com/?p=subscribe&amp;id=1">',
+ '</a>',
+ $l->t('Follow us on Google Plus!'),
+ $l->t('Like our facebook page!'),
+ $l->t('Subscribe to our twitter channel!'),
+ $l->t('Subscribe to our news feed!'),
+ $l->t('Subscribe to our newsletter!'),
+
+ ],
+'{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}'
+ )); ?>
+ </p>
+
<?php endif; ?>