[ Index ] |
|
Code source de b2evolution 2.1.0-beta |
1 <?php 2 /** 3 * This file implements the UI for file deletion 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 * Parts of this file are copyright (c)2004-2006 by Daniel HAHLER - {@link http://thequod.de/contact}. 10 * 11 * {@internal License choice 12 * - If you have received this file as part of a package, please find the license.txt file in 13 * the same folder or the closest folder above for complete license terms. 14 * - If you have received this file individually (e-g: from http://evocms.cvs.sourceforge.net/) 15 * then you must choose one of the following licenses before using the file: 16 * - GNU General Public License 2 (GPL) - http://www.opensource.org/licenses/gpl-license.php 17 * - Mozilla Public License 1.1 (MPL) - http://www.opensource.org/licenses/mozilla1.1.php 18 * }} 19 * 20 * {@internal Open Source relicensing agreement: 21 * Daniel HAHLER grants Francois PLANQUE the right to license 22 * Daniel HAHLER's contributions to this file and the b2evolution project 23 * under any OSI approved OSS license (http://www.opensource.org/licenses/). 24 * }} 25 * 26 * @package evocore 27 * 28 * {@internal Below is a list of authors who have contributed to design/coding of this file: }} 29 * @author fplanque: Francois PLANQUE 30 * @author blueyed: Daniel HAHLER 31 * 32 * @version $Id: _file_delete.form.php,v 1.1 2007/06/25 10:59:59 fplanque Exp $ 33 */ 34 if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' ); 35 36 37 /** 38 * @global Filelist 39 */ 40 global $selected_Filelist; 41 42 43 $Form = & new Form( NULL ); 44 45 $Form->global_icon( T_('Cancel delete!'), 'close', regenerate_url() ); 46 47 $Form->begin_form( 'fform', T_('Delete') ); 48 49 $Form->hidden_ctrl(); 50 $Form->hiddens_by_key( get_memorized() ); 51 $Form->hidden( 'action', 'delete' ); 52 $Form->hidden( 'confirmed', 1 ); 53 54 $Form->begin_fieldset( T_('Confirm delete') ); 55 56 echo $selected_Filelist->count() > 1 57 ? T_('Do you really want to delete the following files?') 58 : T_('Do you really want to delete the following file?'); 59 60 $selected_Filelist->restart(); 61 echo '<ul>'; 62 while( $l_File = & $selected_Filelist->get_next() ) 63 { 64 echo '<li>'.$l_File->get_prefixed_name().'</li>'; 65 } 66 echo '</ul>'; 67 68 $Form->end_fieldset(); 69 70 $Form->end_form( array( 71 array( 'submit', 'submit', T_('Delete'), 'DeleteButton' ) ) ); 72 73 74 /* 75 * $Log: _file_delete.form.php,v $ 76 * Revision 1.1 2007/06/25 10:59:59 fplanque 77 * MODULES (refactored MVC) 78 * 79 * Revision 1.7 2007/04/26 00:11:10 fplanque 80 * (c) 2007 81 * 82 * Revision 1.6 2007/01/24 03:45:29 fplanque 83 * decrap / removed a lot of bloat... 84 * 85 * Revision 1.5 2006/11/24 18:27:25 blueyed 86 * Fixed link to b2evo CVS browsing interface in file docblocks 87 */ 88 ?>
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 |
![]() |