Skip to content

Commit

Permalink
preliminary code for all_bug actions. unused at the moment.
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@665 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Kenzaburo Ito committed Jan 18, 2002
1 parent bc5f048 commit 1f2201b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
14 changes: 14 additions & 0 deletions core_print_API.php
Expand Up @@ -458,6 +458,20 @@ function print_language_option_list( $p_language ) {
} # end for
}
# --------------------
# @@@ preliminary support for multiple bug actions.
function print_all_bug_action_option_list() {
$zook_arr[0] = "Move Bugs";
$zook_arr[1] = "Assign";
$zook_arr[3] = "Resolve";
$zook_arr[4] = "Update Priority";
$zook_arr[4] = "Update Status";

$t_count = count( $zook_arr );
for ($i=0;$i<$t_count;$i++) {
PRINT "<option value=\"".ACTION."\">".$zook_arr[$i]."</option>";
}
}
# --------------------
###########################################################################
# String printing API
###########################################################################
Expand Down
6 changes: 6 additions & 0 deletions view_all_inc.php
Expand Up @@ -280,6 +280,12 @@
<select name="f_project_id">
<?php print_project_option_list() ?>
</select>
<!--
# @@@ not functional yet
<select name="f_action">
<?php print_all_bug_action_option_list() ?>
</select>
-->
<input type="submit" value="<?php echo $s_move_bugs ?>">
</form>

Expand Down

0 comments on commit 1f2201b

Please sign in to comment.