Changeset 3621


Ignore:
Timestamp:
07/17/09 23:22:34 (11 years ago)
Author:
plg
Message:

merge r3620 from branch 2.0 to trunk

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
  • trunk/admin/include/functions.php

    r3402 r3621  
    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.