[svn r18450] Minor - set lang variables

skala
Julio Montoya 16 years ago
parent bf629047d2
commit 47909e75b4
  1. 4
      main/admin/user_fields.php

@ -110,14 +110,14 @@ if(1)
break; break;
case 'filter_on' : case 'filter_on' :
if (api_is_platform_admin() && !empty($_GET['field_id']) && UserManager :: update_extra_field($_GET['field_id'],array('field_filter'=>'1'))) { if (api_is_platform_admin() && !empty($_GET['field_id']) && UserManager :: update_extra_field($_GET['field_id'],array('field_filter'=>'1'))) {
Display :: display_confirmation_message(get_lang('FieldShown')); Display :: display_confirmation_message(get_lang('FieldFilterSetOn'));
} else { } else {
Display :: display_error_message(get_lang('CannotShowField')); Display :: display_error_message(get_lang('CannotShowField'));
} }
break; break;
case 'filter_off' : case 'filter_off' :
if (api_is_platform_admin() && !empty($_GET['field_id']) && UserManager :: update_extra_field($_GET['field_id'],array('field_filter'=>'0'))) { if (api_is_platform_admin() && !empty($_GET['field_id']) && UserManager :: update_extra_field($_GET['field_id'],array('field_filter'=>'0'))) {
Display :: display_confirmation_message(get_lang('FieldShown')); Display :: display_confirmation_message(get_lang('FieldFilterSetOff'));
} else { } else {
Display :: display_error_message(get_lang('CannotShowField')); Display :: display_error_message(get_lang('CannotShowField'));
} }

Loading…
Cancel
Save