Ignore:
Timestamp:
Apr 9, 2016, 7:29:00 AM (8 years ago)
Author:
ddtddt
Message:

[extensions] - user_custom_fields - save works copy - public profil

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/user_custom_fields/initregister.php

    r31534 r31541  
    2626  global $template;
    2727  $template->set_prefilter('register', 'ucfIT');
    28   $template->set_filename('ucf_profile_add', realpath(UCF_PATH.'ucf_profile_add.tpl'));
    29   $template->assign_var_from_handle('UCF_PROFILE_ADD', 'ucf_profile_add');
     28  $template->set_filename('ucf_register_add', realpath(UCF_PATH.'ucf_register_add.tpl'));
     29  $template->assign_var_from_handle('UCF_REGISTER_ADD', 'ucf_register_add');
    3030}
    3131
    3232function ucfIT($content, &$smarty){
    3333  $search = '/(<fieldset>).*(<\/fieldset>)/is';
    34   return preg_replace($search, '{$UCF_PROFILE_ADD}', $content);
     34  return preg_replace($search, '{$UCF_REGISTER_ADD}', $content);
    3535}
    3636
Note: See TracChangeset for help on using the changeset viewer.