Ignore:
Timestamp:
Feb 9, 2011, 9:39:22 PM (13 years ago)
Author:
Eric
Message:

Bug 1666 merged from trunk to branch 2.20

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/NBC_UserAdvManager/branches/2.20/include/functions.inc.php

    r8841 r9136  
    636636}
    637637
     638
     639/**
     640 * Triggered on render_lost_password_mail_content
     641 *
     642 * Adds a customized text in lost password email content
     643 * Added text is inserted before users login name and new password
     644 *
     645 * @param : Standard Piwigo email content
     646 *
     647 * @return : Customized content added to standard content
     648 *
     649 */
     650function UAM_lost_password_mail_content($infos)
     651{
     652  global $conf;
     653 
     654  load_language('plugin.lang', UAM_PATH);
     655 
     656  $conf_UAM = unserialize($conf['UserAdvManager']);
     657 
     658  if (isset($conf_UAM[29]) and $conf_UAM[29] == 'true')
     659  {
     660    $infos = $conf_UAM[30]."\n"."\n".$infos;
     661  }
     662  return $infos;
     663}
     664
     665
    638666/**
    639667 * Triggered on user_comment_check
Note: See TracChangeset for help on using the changeset viewer.