[ 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: news_menu_page.php,v 1.34.2.1 2007-10-13 22:34:07 giallu Exp $ 22 # -------------------------------------------------------- 23 ?> 24 <?php require_once ( 'core.php' ) ?> 25 <?php 26 access_ensure_project_level( config_get( 'manage_news_threshold' ) ); 27 ?> 28 <?php html_page_top1( lang_get( 'edit_news_link' ) ) ?> 29 <?php html_page_top2() ?> 30 31 <?php # Add News Form BEGIN ?> 32 <br /> 33 <div align="center"> 34 <form method="post" action="news_add.php"> 35 <table class="width75" cellspacing="1"> 36 <tr> 37 <td class="form-title" colspan="2"> 38 <?php echo lang_get( 'add_news_title' ) ?> 39 </td> 40 </tr> 41 <tr class="row-1"> 42 <td class="category" width="25%"> 43 <span class="required">*</span><?php echo lang_get( 'headline' ) ?> 44 </td> 45 <td width="75%"> 46 <input type="text" name="headline" size="64" maxlength="64" /> 47 </td> 48 </tr> 49 <tr class="row-2"> 50 <td class="category"> 51 <span class="required">*</span><?php echo lang_get( 'body' ) ?> 52 </td> 53 <td> 54 <textarea name="body" cols="60" rows="8"></textarea> 55 </td> 56 </tr> 57 <tr class="row-2"> 58 <td class="category"> 59 <?php echo lang_get( 'announcement' ) ?><br /> 60 <span class="small"><?php echo lang_get( 'stays_on_top' ) ?></span> 61 </td> 62 <td> 63 <input type="checkbox" name="announcement" /> 64 </td> 65 </tr> 66 <tr class="row-1"> 67 <td class="category" width="25%"> 68 <?php echo lang_get( 'view_status' ) ?> 69 </td> 70 <td width="75%"> 71 <select name="view_state"> 72 <?php print_enum_string_option_list( 'view_state' ) ?> 73 </select> 74 </td> 75 </tr> 76 <tr> 77 <td> 78 <span class="required">* <?php echo lang_get( 'required' ) ?></span> 79 </td> 80 <td class="center"> 81 <input type="submit" class="button" value="<?php echo lang_get( 'post_news_button' ) ?>" /> 82 </td> 83 </tr> 84 </form> 85 </table> 86 </div> 87 <?php # Add News Form END ?> 88 89 <?php # Edit/Delete News Form BEGIN ?> 90 <br /> 91 <div align="center"> 92 <form method="post" action="news_edit_page.php"> 93 <table class="width75" cellspacing="1"> 94 <tr> 95 <td class="form-title" colspan="2"> 96 <?php echo lang_get( 'edit_or_delete_news_title' ) ?> 97 </td> 98 </tr> 99 <tr class="row-1"> 100 <td class="center" colspan="2"> 101 <input type="radio" name="action" value="edit" checked="checked" /> <?php echo lang_get( 'edit_post' ) ?> 102 <input type="radio" name="action" value="delete" /> <?php echo lang_get( 'delete_post' ) ?> 103 </td> 104 </tr> 105 <tr class="row-2"> 106 <td class="category" width="25%"> 107 <?php echo lang_get( 'select_post' ) ?> 108 </td> 109 <td width="75%"> 110 <select name="news_id"> 111 <?php print_news_item_option_list() ?> 112 </select> 113 </td> 114 </tr> 115 <tr> 116 <td class="center" colspan="2"> 117 <input type="submit" class="button" value="<?php echo lang_get( 'submit_button' ) ?>" /> 118 </td> 119 </tr> 120 </table> 121 </form> 122 </div> 123 <?php # Edit/Delete News Form END ?> 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 |
![]() |