mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-02 15:03:29 +02:00
feature 1020 added: ability to subscribe to Piwigo Announcement Newsletter from
Piwigo itself. Admins can perform this action at the end of installation or on administration panel index. git-svn-id: http://piwigo.org/svn/branches/2.0@3381 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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=';
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user