Ignore:
Timestamp:
Mar 14, 2009, 12:37:34 AM (15 years ago)
Author:
plg
Message:

bug 926 fixed: change links to piwigo.org so that they go to existing URLs.

new: if the current language is french, the links go to fr.piwigo.org insted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/install.php

    r3046 r3196  
    212212}
    213213
     214if ('fr_FR' == $language) {
     215  define('PHPWG_DOMAIN', 'fr.piwigo.org');
     216}
     217else {
     218  define('PHPWG_DOMAIN', 'piwigo.org');
     219}
     220define('PHPWG_URL', 'http://'.PHPWG_DOMAIN);
     221
    214222load_language( 'common.lang', '', array('language'=>$language, 'target_charset'=>'utf-8') );
    215223load_language( 'admin.lang', '', array('language'=>$language, 'target_charset'=>'utf-8') );
     
    394402    'F_ADMIN'=>$admin_name,
    395403    'F_ADMIN_EMAIL'=>$admin_mail,
    396     'L_INSTALL_HELP'=>sprintf(l10n('install_help'), 'http://forum.'.PHPWG_DOMAIN.'/'),
     404    'L_INSTALL_HELP'=>sprintf(l10n('install_help'), PHPWG_URL.'/forum'),
    397405    ));
    398406
Note: See TracChangeset for help on using the changeset viewer.