Lines Matching refs:current
412 * @param string $current the field's current value
416 function show_byage_options($current) argument
427 echo "<option value=\"$k\"", ($current==$k ? ' selected="selected"' : ''), ">$v</option>\n";
461 * @param string $current bug's current type
467 function show_type_options($current, $deprecated, $all = false) argument
472 if (!$current) {
473 $current = 'All';
476 if ($current == 'All') {
480 } elseif (!$current) {
481 $current = 'bug';
488 $selected = strcasecmp($current, $k) ? '' : ' selected="selected"';
565 * @param string $current the bug's present state
570 function show_reason_types($current = '', $expanded = 0) argument
580 $sel = ($current == $val['name']) ? " selected='selected'" : '';
593 * @param string $current the bug's current version number
597 function show_version_options($current) argument
606 if ($current == $v) {
610 if ($current == $v) {
614 if (!$use && $current) {
615 echo '<option selected="selected">' , htmlspecialchars($current) , "</option>\n";
623 * @param string $current the bug's present state
630 function show_package_options($current, $show_any, $default = '') argument
645 if (!$current && (!$default || $default == 'none') && !$show_any) {
647 } elseif (!$current && $show_any == 1) {
648 $current = 'Any';
649 } elseif (!$current) {
650 $current = $default;
667 if ((is_array($current) && in_array($name, $current)) || ($name == $current)) {
682 * @param string $current the users present selection
686 function show_boolean_options($current) argument
691 if ($val === $current) {