Ignore:
Timestamp:
May 3, 2012, 9:55:00 PM (12 years ago)
Author:
Eric
Message:

r14729 merged from trunk to branch 2.40 :
Bug 2620 fixed - Display of ConfirmMail, rejected and del_account pages have been improved
Bug 2621 fixed - Display of ConfirmMail, rejected and del_account pages have been improved for IE8 and IE9 render
Bug 2631 fixed - Piwigo 2.4 compliance : $confgallery_url replaced by get_gallery_home_url() for [myurl] tag
Bug 2623 fixed - Ability to customize email subjects (confirmation, information and ghostTracker email)
Bug 2628 fixed - Php notice when email is not mandatory for registration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserAdvManager/branches/2.40/ConfirmMail.php

    r14371 r14730  
    7777      $replacements[] = $conf['gallery_title'];
    7878      $patterns[] = '#\[myurl\]#i';
    79       $replacements[] = $conf['gallery_url'];
    80    
     79      $replacements[] = get_gallery_home_url();
     80
    8181      if (function_exists('get_user_language_desc'))
    8282      {
     
    8787   
    8888    $redirect = true;
    89     $Path_UAM = UAM_PATH; // Path to be used in template to reach the icons
    90    
    91     $template->assign(
    92                         array(
    93         'UAM_PATH'             => $Path_UAM,
    94         'REDIRECT'             => $redirect,
    95         'STATUS'               => $status,
    96                                 'CONFIRM_MAIL_MESSAGE' => $custom_text,
    97                         )
    98                 );
    9989  } 
    10090  else
     
    112102      $replacements[] = $conf['gallery_title'];
    113103      $patterns[] = '#\[myurl\]#i';
    114       $replacements[] = $conf['gallery_url'];
     104      $replacements[] = get_gallery_home_url();
    115105   
    116106      if (function_exists('get_user_language_desc'))
     
    120110      else $custom_text = l10n(preg_replace($patterns, $replacements, $conf_UAM_ConfirmMail[6]));
    121111    }
    122    
    123     $template->assign(
    124                         array(
    125         'REDIRECT'             => $redirect,
    126         'GALLERY_URL'          => make_index_url(),
    127         'STATUS'               => $status,
    128                                 'CONFIRM_MAIL_MESSAGE' => $custom_text,
    129                         )
    130                 );
    131112  }
     113
     114  $Path_UAM = UAM_PATH; // Path to be used in template to reach the icons
     115
     116  $template->assign(
     117    array(
     118      'UAM_PATH'             => $Path_UAM,
     119      'REDIRECT'             => $redirect,
     120      'STATUS'               => $status,
     121                  'CONFIRM_MAIL_MESSAGE' => $custom_text,
     122    )
     123  );
    132124}
    133125
Note: See TracChangeset for help on using the changeset viewer.