[ Index ] |
|
Code source de b2evolution 2.1.0-beta |
1 <?php 2 /** 3 * This file implements the file editing form. 4 * 5 * This file is part of the evoCore framework - {@link http://evocore.net/} 6 * See also {@link http://sourceforge.net/projects/evocms/}. 7 * 8 * @copyright (c)2003-2007 by Francois PLANQUE - {@link http://fplanque.net/} 9 * 10 * {@internal License choice 11 * - If you have received this file as part of a package, please find the license.txt file in 12 * the same folder or the closest folder above for complete license terms. 13 * - If you have received this file individually (e-g: from http://evocms.cvs.sourceforge.net/) 14 * then you must choose one of the following licenses before using the file: 15 * - GNU General Public License 2 (GPL) - http://www.opensource.org/licenses/gpl-license.php 16 * - Mozilla Public License 1.1 (MPL) - http://www.opensource.org/licenses/mozilla1.1.php 17 * }} 18 * 19 * {@internal Open Source relicensing agreement: 20 * }} 21 * 22 * @package admin 23 * 24 * {@internal Below is a list of authors who have contributed to design/coding of this file: }} 25 * @author fplanque: Francois PLANQUE 26 * 27 * @version $Id: _file_edit.form.php,v 1.1 2007/06/25 11:00:00 fplanque Exp $ 28 */ 29 if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' ); 30 31 /** 32 * @var File 33 */ 34 global $edit_File; 35 36 $Form = & new Form( NULL, 'file_edit' ); 37 38 $Form->global_icon( T_('Cancel editing!'), 'close', regenerate_url('fm_mode') ); 39 40 $Form->begin_form( 'fform', T_('Editing:').' '.$edit_File->get_rdfs_rel_path() ); 41 $Form->hidden_ctrl(); 42 $Form->hidden( 'action', 'update_file' ); 43 $Form->hiddens_by_key( get_memorized() ); 44 45 $Form->switch_layout( 'none' ); 46 echo '<div class="center">'; 47 48 $Form->textarea_input( 'file_content', $edit_File->content, 25, '', array( 'class'=>'large', 'cols' => '80' ) ); 49 50 $Form->buttons( array( array( 'submit', '', T_('Save!'), 'SaveButton' ), 51 array( 'reset', '', T_('Reset'), 'ResetButton' ) ) ); 52 53 echo '</div>'; 54 $Form->switch_layout( NULL ); 55 56 $Form->end_form(); 57 58 /* 59 * $Log: _file_edit.form.php,v $ 60 * Revision 1.1 2007/06/25 11:00:00 fplanque 61 * MODULES (refactored MVC) 62 * 63 * Revision 1.4 2007/04/26 00:11:10 fplanque 64 * (c) 2007 65 * 66 * Revision 1.3 2007/01/24 03:45:29 fplanque 67 * decrap / removed a lot of bloat... 68 * 69 * Revision 1.2 2007/01/24 02:35:42 fplanque 70 * refactoring 71 * 72 * Revision 1.1 2006/12/07 20:03:32 fplanque 73 * Woohoo! File editing... means all skin editing. 74 * 75 * Revision 1.5 2006/11/24 18:27:25 blueyed 76 * Fixed link to b2evo CVS browsing interface in file docblocks 77 */ 78 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Thu Nov 29 23:58:50 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |