Ignore:
Timestamp:
Apr 12, 2011, 10:44:12 PM (13 years ago)
Author:
Eric
Message:

r10342 merged from trunk to branch 2.20

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserAdvManager/branches/2.20/admin/UAM_admin.php

    r9909 r10343  
    3434$UAM_Exclusionlist_Error = false;
    3535
     36$dump_download = '';
    3637
    3738// +-----------------------------------------------------------------------+
     
    223224  }
    224225
     226  // Saving UAM tables and configuration settings
     227  if (isset($_POST['save']))
     228  {
     229    $dump_download = (isset($_POST['dump_download'])) ? 'true' : 'false';
     230   
     231    if(uam_dump($dump_download) and $dump_download == 'false')
     232    {
     233      array_push($page['infos'], l10n('UAM_Dump_OK'));
     234    }
     235    else
     236    {
     237      array_push($page['errors'], l10n('UAM_Dump_NOK'));
     238    }
     239  }
    225240
    226241  //Testing password enforcement
     
    372387    'UAM_VERSION'                    => $version,
    373388    'UAM_PATH'                       => UAM_PATH,
     389    'UAM_DUMP_DOWNLOAD'              => $dump_download,
    374390                'UAM_MAIL_INFO_TRUE'             => $conf_UAM[0]=='true' ?  'checked="checked"' : '' ,
    375391                'UAM_MAIL_INFO_FALSE'            => $conf_UAM[0]=='false' ?  'checked="checked"' : '' ,
Note: See TracChangeset for help on using the changeset viewer.