Ignore:
Timestamp:
Feb 28, 2013, 10:47:05 PM (11 years ago)
Author:
Eric
Message:

Compliance with Piwigo 2.5
Bug 2764 fixed - Code refactory : Change config variables to assoc array and $_POST vars control before writing conf in database - Thx to flop25 for his advices ;-)
Update fr_FR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserAdvManager/trunk/main.inc.php

    r18205 r21075  
    6969// PWG_Stuffs module
    7070// -----------------
    71 if (isset($conf_UAM[33]) and $conf_UAM[33] == 'true')
     71if (isset($conf_UAM['STUFFS']) and $conf_UAM['STUFFS'] == 'true')
    7272{
    7373  add_event_handler('get_stuffs_modules', 'register_UAM_stuffs_module');
     
    7676// Add new feature in user_list - Password Reset
    7777// ---------------------------------------------
    78 if (isset($conf_UAM[38]) and $conf_UAM[38] == 'true')
     78if (isset($conf_UAM['PWDRESET']) and $conf_UAM['PWDRESET'] == 'true')
    7979{
    8080  // Add new column on user_list
Note: See TracChangeset for help on using the changeset viewer.