Changeset 3857


Ignore:
Timestamp:
Sep 17, 2009, 9:38:58 PM (11 years ago)
Author:
Eric
Message:

Minor code cleaning. Clean base for 2.11 release.

Location:
extensions/NBC_UserAdvManager/branches/2.10
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/NBC_UserAdvManager/branches/2.10/include/functions_UserAdvManager.inc.php

    r3740 r3857  
    11<?php
    22include_once (NBC_UserAdvManager_PATH.'include/constants.php');
    3 include_once (NBC_UserAdvManager_PATH.'include/functions_UserAdvManager.inc.php');
    43load_language('plugin.lang', NBC_UserAdvManager_PATH);
    54
  • extensions/NBC_UserAdvManager/branches/2.10/main.inc.php

    r3777 r3857  
    406406}
    407407
    408 add_event_handler('loc_begin_tpl_parse', 'ChangeRegisterProfilePage');
    409 
    410 function ChangeRegisterProfilePage()
    411 {
    412   global $conf, $template;
    413 
    414   $conf_nbc_UserAdvManager = isset($conf['nbc_UserAdvManager']) ? explode(";" , $conf['nbc_UserAdvManager']) : array();
    415 
    416 /* creation OU mise a jour de user */
    417 //  if (in_array(script_basename(), array('register', 'profile')))
    418 //  {
    419     //if (isset($conf_UserAdvManager[1]) and $conf_UserAdvManager[1] == 'true' )
    420     //{
    421     //  $template->set_filenames( array('register'=>'register.tpl') );
    422 
    423     //  $template->loadfile('register');
    424 
    425     //  $template->uncompiled_code['register'] = str_replace('{lang:Mail address}', '* {lang:Mail address}', $template->uncompiled_code['register']);     
    426     //}
    427 //  }
    428 }
    429 
    430408add_event_handler('user_comment_check', 'UserAdvManager_CheckEmptyCommentAuthor', 50, 2);
    431409
Note: See TracChangeset for help on using the changeset viewer.