/** * print profile field * @return void */ function print_filter_show_profile() { global $g_select_modifier, $g_filter; ?> <!-- Profile --> <select<?php echo $g_select_modifier; ?> name="<?php echo FILTER_PROPERTY_PROFILE_ID; ?> []"> <option value="<?php echo META_FILTER_ANY; ?> "<?php check_selected($g_filter[FILTER_PROPERTY_PROFILE_ID], META_FILTER_ANY); ?> >[<?php echo lang_get('any'); ?> ]</option> <?php print_profile_option_list_for_project(helper_get_current_project(), $g_filter[FILTER_PROPERTY_PROFILE_ID]); ?> </select> <?php }
function print_filter_show_profile() { global $t_select_modifier, $t_filter; ?> <!-- Profile --> <select <?php print $t_select_modifier; ?> name="show_profile[]"> <option value="<?php echo META_FILTER_ANY; ?> " <?php check_selected($t_filter['show_profile'], META_FILTER_ANY); ?> >[<?php echo lang_get('any'); ?> ]</option> <?php print_profile_option_list_for_project(helper_get_current_project(), $t_filter['show_profile']); ?> </select> <?php }