Changeset 3620


Ignore:
Timestamp:
07/17/09 23:19:03 (9 years ago)
Author:
plg
Message:

feature 1057 added: let the IT/DE/ES users subscribe to the ID/DE/ES Piwigo
announcement newsletter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/admin/include/functions.php

    r3401 r3620  
    21182118function get_newsletter_subscribe_base_url($language) { 
    21192119  $subscribe_domain = 'piwigo.org'; 
    2120   if ('fr_FR' == $language) { 
    2121     $subscribe_domain = 'fr.piwigo.org'; 
     2120 
     2121  $domain_of = array( 
     2122    'fr_FR' => 'fr.piwigo.org', 
     2123    'it_IT' => 'it.piwigo.org', 
     2124    'de_DE' => 'de.piwigo.org', 
     2125    'es_ES' => 'es.piwigo.org', 
     2126    ); 
     2127 
     2128  if (isset($domain_of[$language])) { 
     2129    $subscribe_domain = $domain_of[$language]; 
    21222130  } 
    21232131 
Note: See TracChangeset for help on using the changeset viewer.