- Timestamp:
- Sep 27, 2009, 6:24:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/NBC_UserAdvManager/branches/2.11/admin/UserAdvManager_admin.php
r3882 r3921 384 384 $conf_nbc_UserAdvManager_ConfirmMail = isset($conf['nbc_UserAdvManager_ConfirmMail']) ? explode(";" , $conf['nbc_UserAdvManager_ConfirmMail']) : array(); 385 385 386 if (isset($conf_nbc_UserAdvManager[2]) and $conf_nbc_UserAdvManager[2]=='true' and isset($conf_nbc_UserAdvManager[3]) and $conf_nbc_UserAdvManager[3] <> '-1'and isset($conf_nbc_UserAdvManager_ConfirmMail[0]) and $conf_nbc_UserAdvManager_ConfirmMail[0]=='true')386 if (isset($conf_nbc_UserAdvManager[2]) and $conf_nbc_UserAdvManager[2]=='true' and ((isset($conf_nbc_UserAdvManager[3]) and $conf_nbc_UserAdvManager[3] <> '-1') or (isset($conf_nbc_UserAdvManager[9]) and $conf_nbc_UserAdvManager[9] <> '-1')) and isset($conf_nbc_UserAdvManager_ConfirmMail[0]) and $conf_nbc_UserAdvManager_ConfirmMail[0]=='true') 387 387 { 388 388 // +-----------------------------------------------------------------------+ … … 747 747 } 748 748 } 749 749 750 750 751 // +-----------------------------------------------------------------------+ … … 848 849 (isset($local_user['enabled_high']) and ($local_user['enabled_high'] == 'true')) 849 850 ? l10n('is_high_enabled') : l10n('is_high_disabled'); 851 852 $expiration = expiration($local_user['id']); 850 853 851 if (isset($conf_nbc_UserAdvManager_ConfirmMail[1]) and $conf_nbc_UserAdvManager_ConfirmMail[0]=='true' ) 852 { 853 $template->append( 854 'users', 855 array( 856 'ID' => $local_user['id'], 857 'CHECKED' => $checked, 858 'U_PROFILE' => $profile_url.$local_user['id'], 859 'U_PERM' => $perm_url.$local_user['id'], 860 'USERNAME' => $local_user['username'] 861 .($local_user['id'] == $conf['guest_id'] 862 ? '<BR />['.l10n('is_the_guest').']' : '') 863 .($local_user['id'] == $conf['default_user_id'] 864 ? '<BR />['.l10n('is_the_default').']' : ''), 865 'STATUS' => l10n('user_status_'. 866 $local_user['status']).(($local_user['adviser'] == 'true') 867 ? '<BR />['.l10n('adviser').']' : ''), 868 'EMAIL' => get_email_address_as_display_text($local_user['email']), 869 'GROUPS' => $groups_string, 870 'REGISTRATION' => $local_user['registration_date'], 871 ) 872 ); 873 } 854 $template->append( 855 'users', 856 array( 857 'ID' => $local_user['id'], 858 'CHECKED' => $checked, 859 'U_PROFILE' => $profile_url.$local_user['id'], 860 'U_PERM' => $perm_url.$local_user['id'], 861 'USERNAME' => $local_user['username'] 862 .($local_user['id'] == $conf['guest_id'] 863 ? '<BR />['.l10n('is_the_guest').']' : '') 864 .($local_user['id'] == $conf['default_user_id'] 865 ? '<BR />['.l10n('is_the_default').']' : ''), 866 'STATUS' => l10n('user_status_'. 867 $local_user['status']).(($local_user['adviser'] == 'true') 868 ? '<BR />['.l10n('adviser').']' : ''), 869 'EMAIL' => get_email_address_as_display_text($local_user['email']), 870 'GROUPS' => $groups_string, 871 'REGISTRATION' => $local_user['registration_date'], 872 'EXPIRATION' => $expiration, 873 ) 874 ); 874 875 } 875 876
Note: See TracChangeset
for help on using the changeset viewer.