Friendly name for profiles

Issue #28 new
created an issue

The profile drop-down in the menu doesn't work if there are characters like - or _ in the name as configured in phphgadmin.php.

I modified admin/application/helpers/hg_template_helper.php - line 101 (in function user_profiles()) becomes:



$profiles_array[$p_name] = $profiles['display_name']; }}}

Obviously all the profiles defined need to have a display_name defined or you get php errors, but it suited my purpose - perhaps something like



$profiles_array[$p_name] = (exists($profile['display_name'] ? $p_name : $profile['display_name'])); }}}

Will help this situation?

Comments (1)

  1. Log in to comment