source: extensions/NBC_UserAdvManager/branches/2.16/del_account.php @ 8088

Last change on this file since 8088 was 8088, checked in by Eric, 13 years ago

merge from trunk to branch 2.16

  • Property svn:eol-style set to LF
File size: 1.3 KB
Line 
1<?php
2//----------------------------------------------------------- include
3define('PHPWG_ROOT_PATH','./../../');
4
5include_once( PHPWG_ROOT_PATH.'include/common.inc.php' );
6include_once( PHPWG_ROOT_PATH.'include/functions_mail.inc.php' );
7
8include_once (UAM_PATH.'include/constants.php');
9include_once (UAM_PATH.'include/functions.inc.php');
10
11$title= l10n('Deleted_Account_Redirection_Page');
12$page['body_id'] = 'theAboutPage';
13include(PHPWG_ROOT_PATH.'include/page_header.php');
14
15@include(PHPWG_ROOT_PATH.'template/'.$user['template'].
16  '/theme/'.$user['theme'].'/themeconf.inc.php');
17
18
19  global $user, $lang, $conf, $errors;
20 
21
22  $conf_UAM = unserialize($conf['UserAdvManager']);
23
24  if (function_exists('get_user_language_desc'))
25  {
26    $custom_text = get_user_language_desc($conf_UAM[25]);
27  }
28  else $custom_text = l10n($conf_UAM[25]);
29   
30  $template->assign(
31    array(
32      'GALLERY_URL'          => make_index_url(),
33                        'CUSTOM_REDIR_MSG'     => $custom_text,
34                )
35  );
36
37if (isset($lang['Theme: '.$user['theme']]))
38{
39  $template->assign(
40        'THEME_ABOUT',l10n('Theme: '.$user['theme'])
41  );
42}
43
44$template->set_filenames(
45  array(
46        'UAM_RedirPage'=>dirname(__FILE__).'/template/del_account.tpl',
47        )
48);
49
50$template->pparse('UAM_RedirPage');
51include(PHPWG_ROOT_PATH.'include/page_tail.php');
52?>
Note: See TracBrowser for help on using the repository browser.