aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include
diff options
context:
space:
mode:
Diffstat (limited to 'admin/include')
-rw-r--r--admin/include/functions.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/admin/include/functions.php b/admin/include/functions.php
index 6f41aafba..88505ca5c 100644
--- a/admin/include/functions.php
+++ b/admin/include/functions.php
@@ -2114,4 +2114,13 @@ SELECT '.$conf['user_fields']['username'].'
return $username;
}
+
+function get_newsletter_subscribe_base_url($language) {
+ $subscribe_domain = 'piwigo.org';
+ if ('fr_FR' == $language) {
+ $subscribe_domain = 'fr.piwigo.org';
+ }
+
+ return 'http://'.$subscribe_domain.'/announcement/subscribe.php?email=';
+}
?> \ No newline at end of file