[ Index ] |
|
Code source de Mantis 1.1.0rc3 |
1 <?php 2 # Mantis - a php based bugtracking system 3 4 # Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org 5 # Copyright (C) 2002 - 2007 Mantis Team - mantisbt-dev@lists.sourceforge.net 6 7 # Mantis is free software: you can redistribute it and/or modify 8 # it under the terms of the GNU General Public License as published by 9 # the Free Software Foundation, either version 2 of the License, or 10 # (at your option) any later version. 11 # 12 # Mantis is distributed in the hope that it will be useful, 13 # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 # GNU General Public License for more details. 16 # 17 # You should have received a copy of the GNU General Public License 18 # along with Mantis. If not, see <http://www.gnu.org/licenses/>. 19 20 # -------------------------------------------------------- 21 # $Id: manage_proj_create_page.php,v 1.14.2.1 2007-10-13 22:33:34 giallu Exp $ 22 # -------------------------------------------------------- 23 24 require_once ( 'core.php' ); 25 26 auth_reauthenticate(); 27 28 access_ensure_global_level( config_get( 'create_project_threshold' ) ); 29 30 html_page_top1(); 31 html_page_top2(); 32 33 print_manage_menu( 'manage_proj_create_page.php' ); 34 35 $f_parent_id = gpc_get( 'parent_id', null ); 36 ?> 37 38 <br /> 39 <div align="center"> 40 <form method="post" action="manage_proj_create.php"> 41 <?php 42 if ( null !== $f_parent_id ) { 43 $f_parent_id = (int) $f_parent_id; 44 ?> 45 <input type="hidden" name="parent_id" value="<?php echo $f_parent_id ?>"> 46 <?php } ?> 47 <table class="width75" cellspacing="1"> 48 <tr> 49 <td class="form-title" colspan="2"> 50 <?php 51 if ( null !== $f_parent_id ) { 52 echo lang_get( 'add_subproject_title' ); 53 } else { 54 echo lang_get( 'add_project_title' ); 55 } 56 ?> 57 </td> 58 </tr> 59 <tr class="row-1"> 60 <td class="category" width="25%"> 61 <span class="required">*</span><?php echo lang_get( 'project_name' )?> 62 </td> 63 <td width="75%"> 64 <input type="text" name="name" size="64" maxlength="128" /> 65 </td> 66 </tr> 67 <tr class="row-2"> 68 <td class="category"> 69 <?php echo lang_get( 'status' ) ?> 70 </td> 71 <td> 72 <select name="status"> 73 <?php print_enum_string_option_list( 'project_status' ) ?> 74 </select> 75 </td> 76 </tr> 77 <tr class="row-1"> 78 <td class="category"> 79 <?php echo lang_get( 'view_status' ) ?> 80 </td> 81 <td> 82 <select name="view_state"> 83 <?php print_enum_string_option_list( 'view_state' ) ?> 84 </select> 85 </td> 86 </tr> 87 <?php 88 if ( config_get( 'allow_file_upload' ) ) { 89 ?> 90 <tr class="row-2"> 91 <td class="category"> 92 <?php echo lang_get( 'upload_file_path' ) ?> 93 </td> 94 <td> 95 <input type="text" name="file_path" size="70" maxlength="250" /> 96 </td> 97 </tr> 98 <?php 99 } 100 ?> 101 <tr class="row-1"> 102 <td class="category"> 103 <?php echo lang_get( 'description' ) ?> 104 </td> 105 <td> 106 <textarea name="description" cols="60" rows="5"></textarea> 107 </td> 108 </tr> 109 <tr> 110 <td class="center" colspan="2"> 111 <input type="submit" class="button" value="<?php echo lang_get( 'add_project_button' ) ?>" /> 112 </td> 113 </tr> 114 </table> 115 </form> 116 </div> 117 118 <?php html_page_bottom1( __FILE__ ) ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Thu Nov 29 09:42:17 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |