Lines Matching refs:state
497 * @param string $state the bug's present state
503 function show_state_options($state, $user_mode = 0, $default = '', $assigned = 0) argument
507 if (!$state && !$default) {
508 $state = $assigned ? 'Assigned' : 'Open';
509 } elseif (!$state) {
510 $state = $default;
514 …if ($state != 'All' && isset($state_types[$state]) && $state_types[$state] == 1 && $user_mode == 2…
515 switch ($state)
532 if (isset($tla[$state])) {
533 echo ' class="'.$tla[$state].'"';
535 echo '>'.$state.'</option>'."\n";
539 if ($state != 'Not a bug') {
544 if (($state == 'Closed' && $type == 'Open')
545 || ($state == 'Open' && $type == 'Re-Opened')) {
553 if ($type == $state) {