[ 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_user_create_page.php,v 1.20.2.1 2007-10-13 22:33:52 giallu Exp $ 22 # -------------------------------------------------------- 23 24 require_once ( 'core.php' ); 25 26 auth_reauthenticate(); 27 28 access_ensure_global_level( config_get( 'manage_user_threshold' ) ); 29 30 html_page_top1(); 31 html_page_top2(); 32 33 print_manage_menu( 'manage_user_create_page.php' ); 34 ?> 35 <br /> 36 <div align="center"> 37 <form method="post" action="manage_user_create.php"> 38 <table class="width50" cellspacing="1"> 39 <tr> 40 <td class="form-title" colspan="2"> 41 <?php echo lang_get( 'create_new_account_title' ) ?> 42 </td> 43 </tr> 44 <tr <?php echo helper_alternate_class() ?>> 45 <td class="category" width="25%"> 46 <?php echo lang_get( 'username' ) ?> 47 </td> 48 <td width="75%"> 49 <input type="text" name="username" size="32" maxlength="32" /> 50 </td> 51 </tr> 52 <tr <?php echo helper_alternate_class() ?>> 53 <td class="category"> 54 <?php echo lang_get( 'realname' ) ?> 55 </td> 56 <td> 57 <input type="text" name="realname" size="32" maxlength="32" /> 58 </td> 59 </tr> 60 <tr <?php echo helper_alternate_class() ?>> 61 <td class="category"> 62 <?php echo lang_get( 'email' ) ?> 63 </td> 64 <td> 65 <?php print_email_input( 'email', '' ) ?> 66 </td> 67 </tr> 68 <?php 69 if ( OFF == config_get( 'send_reset_password' ) ) { 70 ?> 71 <tr <?php echo helper_alternate_class() ?>> 72 <td class="category"> 73 <?php echo lang_get( 'password' ) ?> 74 </td> 75 <td> 76 <input type="password" name="password" size="32" maxlength="32" /> 77 </td> 78 </tr> 79 <tr <?php echo helper_alternate_class() ?>> 80 <td class="category"> 81 <?php echo lang_get( 'verify_password' ) ?> 82 </td> 83 <td> 84 <input type="password" name="password_verify" size="32" maxlength="32" /> 85 </td> 86 </tr> 87 <?php 88 } 89 ?> 90 <tr <?php echo helper_alternate_class() ?>> 91 <td class="category"> 92 <?php echo lang_get( 'access_level' ) ?> 93 </td> 94 <td> 95 <select name="access_level"> 96 <?php print_enum_string_option_list( 'access_levels', config_get( 'default_new_account_access_level' ) ) ?> 97 </select> 98 </td> 99 </tr> 100 <tr <?php echo helper_alternate_class() ?>> 101 <td class="category"> 102 <?php echo lang_get( 'enabled' ) ?> 103 </td> 104 <td> 105 <input type="checkbox" name="enabled" checked="checked" /> 106 </td> 107 </tr> 108 <tr <?php echo helper_alternate_class() ?>> 109 <td class="category"> 110 <?php echo lang_get( 'protected' ) ?> 111 </td> 112 <td> 113 <input type="checkbox" name="protected" /> 114 </td> 115 </tr> 116 <tr> 117 <td class="center" colspan="2"> 118 <input type="submit" class="button" value="<?php echo lang_get( 'create_user_button' ) ?>" /> 119 </td> 120 </tr> 121 </table> 122 </form> 123 </div> 124 125 <?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 |
![]() |