Changeset 7277 for extensions/NBC_UserAdvManager
- Timestamp:
- Oct 19, 2010, 7:03:27 PM (14 years ago)
- Location:
- extensions/NBC_UserAdvManager/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/NBC_UserAdvManager/trunk/ConfirmMail.php
r6785 r7277 4 4 5 5 include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); 6 include_once( PHPWG_ROOT_PATH.'include/functions_mail.inc.php' ); 6 7 7 8 include_once (UAM_PATH.'include/constants.php'); … … 62 63 else $custom_text = l10n($conf_UAM_ConfirmMail[5]); 63 64 64 if (isset($conf_UAM[21]) and $conf_UAM[21] == 'true') 65 { 66 $user_idsOK = array(); 67 if (!check_consult($userid, $user_idsOK)) 68 { 69 $redirect = true; 70 } 71 } 65 $redirect = true; 72 66 73 67 $template->assign( … … 82 76 { 83 77 $status = false; 78 $redirect = false; 84 79 if (function_exists('get_user_language_desc')) 85 80 { … … 91 86 array( 92 87 'REDIRECT' => $redirect, 88 'GALLERY_URL' => make_index_url(), 93 89 'STATUS' => $status, 94 90 'CONFIRM_MAIL_MESSAGE' => $custom_text, … … 105 101 } 106 102 107 if ( isset($conf['gallery_url']) )108 {109 $template->assign(110 array(111 'GALLERY_URL' =>112 isset($page['gallery_url']) ?113 $page['gallery_url'] : $conf['gallery_url'],114 )115 );116 }117 118 103 $template->set_filenames( 119 104 array( -
extensions/NBC_UserAdvManager/trunk/changelog.txt.php
r6990 r7277 198 198 199 199 -- 2.15.7 : Bug 1869 fixed - Compatibility with Adult_Content installation process 200 201 -- 2.15.8 : Bug 1935 fixed - Fatal error on ConfirmMail page when Extended Description plugin is not used 202 Bug 1936 fixed - Bad home link in ConfirmMail page when gallery URL is not set 203 small CSS improvement (thx to Gotcha) 200 204 */ 201 205 ?> -
extensions/NBC_UserAdvManager/trunk/main.inc.php
r6999 r7277 2 2 /* 3 3 Plugin Name: UserAdvManager 4 Version: 2.15. 74 Version: 2.15.8 5 5 Description: Renforcer la gestion des utilisateurs - Enforce users management 6 6 Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=216 -
extensions/NBC_UserAdvManager/trunk/template/ConfirmMail.tpl
r6785 r7277 10 10 </a> 11 11 {else} 12 {if isset($GALLERY_URL)}13 12 <a href="{$GALLERY_URL}" title="{'return to homepage'|@translate}"> 14 13 <img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"> 15 14 </a> 16 {else}17 <a href="{$U_HOME}" title="{'return to homepage'|@translate}">18 <img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}">19 </a>20 {/if}21 15 {/if} 22 16 </li>
Note: See TracChangeset
for help on using the changeset viewer.