Changeset 18275 for extensions
- Timestamp:
- Sep 26, 2012, 6:15:49 PM (12 years ago)
- Location:
- extensions/UserAdvManager/trunk
- Files:
-
- 4 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserAdvManager/trunk/changelog.txt.php
r18152 r18275 344 344 New unvalidated user controls more efficient 345 345 Get admins emails instead of webmaster's for sending validation email 346 rejected.php, ConfirmMail.php, GT_del_account.php and USR_del_account.php (and associated templates)are no more used. All messages are displayed on Piwigo's main page 346 347 TODO - New simplifed administration panel 348 Update es_ES, thanks to : jpr928 349 Update el_GR, thanks to : bas_alba 347 350 */ 348 351 ?> -
extensions/UserAdvManager/trunk/include/functions.inc.php
r18239 r18275 577 577 invalidate_user_cache(); 578 578 logout_user(); 579 redirect( 579 redirect(make_index_url().'?UAM_msg=deleted', 0); 580 580 } 581 581 } … … 805 805 invalidate_user_cache(); 806 806 logout_user(); 807 redirect( UAM_PATH.'USR_del_account.php');807 redirect(make_index_url().'?UAM_msg=deleted', 0); 808 808 } 809 809 } … … 929 929 } 930 930 931 // User account deleted after validation deadline 931 // User account deleted after validation deadline - Triggered by any other user 932 932 elseif (isset($conf_UAM[23]) and !empty($conf_UAM[23]) and $_GET['UAM_msg']=="deleted") 933 933 { … … 944 944 } 945 945 else $custom_text = l10n(preg_replace($patterns, $replacements, $conf_UAM[23])); 946 947 $page["errors"][]=$custom_text; 948 } 949 950 // User account deleted after validation deadline - Triggered by user himself 951 elseif (isset($conf_UAM[31]) and !empty($conf_UAM[31]) and $_GET['UAM_msg']=="deleted") 952 { 953 // Management of Extension flags ([mygallery], [myurl]) - [username] flag can't be used here 954 // ----------------------------------------------------------------------------------------- 955 $patterns[] = '#\[mygallery\]#i'; 956 $replacements[] = $conf['gallery_title']; 957 $patterns[] = '#\[myurl\]#i'; 958 $replacements[] = get_gallery_home_url(); 959 960 if (function_exists('get_user_language_desc')) 961 { 962 $custom_text = get_user_language_desc(preg_replace($patterns, $replacements, $conf_UAM[31])); 963 } 964 else $custom_text = l10n(preg_replace($patterns, $replacements, $conf_UAM[31])); 946 965 947 966 $page["errors"][]=$custom_text;
Note: See TracChangeset
for help on using the changeset viewer.