mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 17:32:25 +02:00
feature 1057 added: let the IT/DE/ES users subscribe to the ID/DE/ES Piwigo
announcement newsletter. git-svn-id: http://piwigo.org/svn/branches/2.0@3620 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -2117,8 +2117,16 @@ SELECT '.$conf['user_fields']['username'].'
|
||||
|
||||
function get_newsletter_subscribe_base_url($language) {
|
||||
$subscribe_domain = 'piwigo.org';
|
||||
if ('fr_FR' == $language) {
|
||||
$subscribe_domain = 'fr.piwigo.org';
|
||||
|
||||
$domain_of = array(
|
||||
'fr_FR' => 'fr.piwigo.org',
|
||||
'it_IT' => 'it.piwigo.org',
|
||||
'de_DE' => 'de.piwigo.org',
|
||||
'es_ES' => 'es.piwigo.org',
|
||||
);
|
||||
|
||||
if (isset($domain_of[$language])) {
|
||||
$subscribe_domain = $domain_of[$language];
|
||||
}
|
||||
|
||||
return 'http://'.$subscribe_domain.'/announcement/subscribe/';
|
||||
|
||||
Reference in New Issue
Block a user