[ Index ]
 

Code source de Mantis 1.1.0rc3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/ -> manage_proj_ver_edit_page.php (source)

   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_ver_edit_page.php,v 1.31.2.1 2007-10-13 22:33:48 giallu Exp $
  22      # --------------------------------------------------------
  23  
  24      require_once ( 'core.php' );
  25  
  26      auth_reauthenticate();
  27  
  28      $f_version_id = gpc_get_int( 'version_id' );
  29  
  30      $t_version = version_get( $f_version_id );
  31  
  32      access_ensure_project_level( config_get( 'manage_project_threshold' ), $t_version->project_id );
  33  
  34      html_page_top1();
  35      html_page_top2();
  36  
  37      print_manage_menu( 'manage_proj_ver_edit_page.php' );
  38  
  39  ?>
  40  <br />
  41  <div align="center">
  42  <form method="post" action="manage_proj_ver_update.php">
  43  <input type="hidden" name="version_id" value="<?php echo string_attribute( $t_version->id ) ?>" />
  44  <table class="width50" cellspacing="1">
  45  <tr>
  46      <td class="form-title" colspan="2">
  47          <?php echo lang_get( 'edit_project_version_title' ) ?>
  48      </td>
  49  </tr>
  50  <tr <?php echo helper_alternate_class() ?>>
  51      <td class="category">
  52          <?php echo lang_get( 'version' ) ?>
  53      </td>
  54      <td>
  55          <input type="text" name="new_version" size="32" maxlength="64" value="<?php echo string_attribute( $t_version->version ) ?>" />
  56      </td>
  57  </tr>
  58  <tr <?php echo helper_alternate_class() ?>>
  59      <td class="category">
  60          <?php echo lang_get( 'date_order' ) ?>
  61      </td>
  62      <td>
  63          <input type="text" name="date_order" size="32" value="<?php echo string_attribute( date( 'Y-m-d H:i:s', $t_version->date_order ) ) ?>" />
  64      </td>
  65  </tr>
  66  <tr <?php echo helper_alternate_class() ?>>
  67      <td class="category">
  68          <?php echo lang_get( 'description' ) ?>
  69      </td>
  70      <td>
  71          <textarea name="description" cols="60" rows="5"><?php echo string_attribute( $t_version->description ) ?></textarea>
  72      </td>
  73  </tr>
  74  <tr <?php echo helper_alternate_class() ?>>
  75      <td class="category">
  76          <?php echo lang_get( 'released' ) ?>
  77      </td>
  78      <td>
  79          <input type="checkbox" name="released" <?php check_checked( $t_version->released, VERSION_RELEASED ); ?> />
  80      </td>
  81  </tr>
  82  <tr>
  83      <td>
  84          &nbsp;
  85      </td>
  86      <td>
  87          <input type="submit" class="button" value="<?php echo lang_get( 'update_version_button' ) ?>" />
  88      </td>
  89  </tr>
  90  </table>
  91  </form>
  92  </div>
  93  
  94  <br />
  95  
  96  <div class="border-center">
  97      <form method="post" action="manage_proj_ver_delete.php">
  98      <input type="hidden" name="version_id" value="<?php echo string_attribute( $t_version->id ) ?>" />
  99      <input type="submit" class="button" value="<?php echo lang_get( 'delete_version_button' ) ?>" />
 100      </form>
 101  </div>
 102  
 103  <?php html_page_bottom1( __FILE__ ) ?>


Généré le : Thu Nov 29 09:42:17 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics