Ignore:
Timestamp:
Mar 28, 2011, 10:49:43 PM (13 years ago)
Author:
Eric
Message:
  • Bug 1479 fixed : Add of a dedicated UAM block in PWG Stuffs plugin to inform unvalidated users on their status
  • Template/global.tpl display improved.
  • Code cleaning
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserAdvManager/trunk/include/functions.inc.php

    r9827 r9908  
    353353}
    354354
     355
     356/**
     357 * Adds a new module settable in PWG_Stuffs - Triggered on get_stuffs_modules in main.inc.php
     358 * Useful to inform unvalidated user for their status
     359 *
     360 */
     361function register_UAM_stuffs_module($modules)
     362{
     363  array_push($modules, array(
     364    'path' => UAM_PATH.'/stuffs_module',
     365    'name' => l10n('UAM_Stuffs_Title'),
     366    'description' => l10n('UAM_Stuffs_Desc'),
     367    )
     368  );
     369  return $modules;
     370}
     371
     372
    355373/**
    356374 * Triggered on UAM_LoginTasks()
Note: See TracChangeset for help on using the changeset viewer.