Changeset 3382 for trunk/admin/include


Ignore:
Timestamp:
May 31, 2009, 9:46:59 PM (16 years ago)
Author:
plg
Message:

merge r3381 from branch 2.0 to trunk

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions.php

    r3282 r3382  
    21152115  return $username;
    21162116}
     2117
     2118function get_newsletter_subscribe_base_url($language) {
     2119  $subscribe_domain = 'piwigo.org';
     2120  if ('fr_FR' == $language) {
     2121    $subscribe_domain = 'fr.piwigo.org';
     2122  }
     2123 
     2124  return 'http://'.$subscribe_domain.'/announcement/subscribe.php?email=';
     2125}
    21172126?>
Note: See TracChangeset for help on using the changeset viewer.