Ignore:
Timestamp:
Mar 18, 2010, 11:08:28 PM (15 years ago)
Author:
Eric
Message:

[NBC_UserAdvManager]

  • Bug 1474 fixed : Customizable text for ConfirmMail.tpl
  • Bug 1467 fixed : FCK Editor's functionnalities are available on registration's confirmation return page customization fields
  • Bug 1508 fixed : Plugin's name'll now be UserAdvManager (deletion of "nbc_" in code and PEM). Plugin's name is correctly displayed in plugins manager.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/NBC_UserAdvManager/trunk/ConfirmMail.php

    r5056 r5181  
    33define('PHPWG_ROOT_PATH','./../../');
    44include_once( PHPWG_ROOT_PATH.'include/common.inc.php' );
    5 include_once (NBC_UAM_PATH.'include/constants.php');
    6 include_once (NBC_UAM_PATH.'include/functions.inc.php');
     5include_once (UAM_PATH.'include/constants.php');
     6include_once (UAM_PATH.'include/functions.inc.php');
    77
    88// +-----------------------------------------------------------------------+
     
    1010// +-----------------------------------------------------------------------+
    1111//check_status(ACCESS_NONE);
    12 load_language('plugin.lang', NBC_UAM_PATH);
     12load_language('plugin.lang', UAM_PATH);
    1313
    1414if (isset($_GET['key']))
    1515{
    1616
     17  global $conf;
     18 
     19  $conf_UAM_ConfirmMail = unserialize($conf['UserAdvManager_ConfirmMail']);
     20
    1721  if (VerifyConfirmMail($_GET['key']))
     22  {
    1823    $template->assign(
    1924                        array(
    20                                 'CONFIRM_MAIL_MESSAGE' => l10n('confirm_mail_ok'),
     25                                'CONFIRM_MAIL_MESSAGE' => $conf_UAM_ConfirmMail[5],
    2126                        )
    2227                );
    23   else 
     28  } 
     29  else
     30  { 
    2431    $template->assign(
    2532                        array(
    26                                 'CONFIRM_MAIL_MESSAGE' => l10n('confirm_mail_bad'),
     33                                'CONFIRM_MAIL_MESSAGE' => $conf_UAM_ConfirmMail[6],
    2734                        )
    28                 );       
    29 //    redirect(make_index_url());
     35                );
     36  }
     37
     38  //$refresh_txt = l10n('ConfirmMail_redirection');
     39  //$refresh_time = '10';
     40  //redirect(make_index_url(),'',$refresh_time);
    3041}
    3142
     
    5061$template->set_filenames(
    5162  array(
    52         'confirm_mail'=>NBC_UAM_PATH.'ConfirmMail.tpl',
     63        'confirm_mail'=>UAM_PATH.'ConfirmMail.tpl',
    5364        )
    5465);
Note: See TracChangeset for help on using the changeset viewer.