Changeset 5181 for extensions/NBC_UserAdvManager/trunk/ConfirmMail.php
- Timestamp:
- Mar 18, 2010, 11:08:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/NBC_UserAdvManager/trunk/ConfirmMail.php
r5056 r5181 3 3 define('PHPWG_ROOT_PATH','./../../'); 4 4 include_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');5 include_once (UAM_PATH.'include/constants.php'); 6 include_once (UAM_PATH.'include/functions.inc.php'); 7 7 8 8 // +-----------------------------------------------------------------------+ … … 10 10 // +-----------------------------------------------------------------------+ 11 11 //check_status(ACCESS_NONE); 12 load_language('plugin.lang', NBC_UAM_PATH);12 load_language('plugin.lang', UAM_PATH); 13 13 14 14 if (isset($_GET['key'])) 15 15 { 16 16 17 global $conf; 18 19 $conf_UAM_ConfirmMail = unserialize($conf['UserAdvManager_ConfirmMail']); 20 17 21 if (VerifyConfirmMail($_GET['key'])) 22 { 18 23 $template->assign( 19 24 array( 20 'CONFIRM_MAIL_MESSAGE' => l10n('confirm_mail_ok'),25 'CONFIRM_MAIL_MESSAGE' => $conf_UAM_ConfirmMail[5], 21 26 ) 22 27 ); 23 else 28 } 29 else 30 { 24 31 $template->assign( 25 32 array( 26 'CONFIRM_MAIL_MESSAGE' => l10n('confirm_mail_bad'),33 'CONFIRM_MAIL_MESSAGE' => $conf_UAM_ConfirmMail[6], 27 34 ) 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); 30 41 } 31 42 … … 50 61 $template->set_filenames( 51 62 array( 52 'confirm_mail'=> NBC_UAM_PATH.'ConfirmMail.tpl',63 'confirm_mail'=>UAM_PATH.'ConfirmMail.tpl', 53 64 ) 54 65 );
Note: See TracChangeset
for help on using the changeset viewer.