[ Index ] |
|
Code source de b2evolution 2.1.0-beta |
1 <?php 2 /** 3 * This file implements the Chapter 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 * @package admin 20 * 21 * {@internal Below is a list of authors who have contributed to design/coding of this file: }} 22 * @author fplanque: Francois PLANQUE. 23 * 24 * @version $Id: _chapter_move.form.php,v 1.1 2007/06/25 10:59:28 fplanque Exp $ 25 */ 26 if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' ); 27 28 /** 29 * @var Chapter 30 */ 31 global $edited_GenericCategory; 32 /** 33 * @var Chapter 34 */ 35 $edited_Chapter = & $edited_GenericCategory; 36 37 /** 38 * @var BlogCache 39 */ 40 global $BlogCache; 41 42 global $action, $subset_ID; 43 44 $Form = & new Form( NULL, 'form' ); 45 46 $Form->global_icon( T_('Cancel move!'), 'close', regenerate_url( 'action' ) ); 47 48 $Form->begin_form( 'fform', T_('Move category') ); 49 50 $Form->hidden( 'action', 'update_move' ); 51 $Form->hiddens_by_key( get_memorized( 'action' ) ); 52 53 $Form->begin_fieldset( T_('Properties') ); 54 55 $Form->info( T_('Name'), $edited_Chapter->name ); 56 57 // We're essentially double checking here... 58 $edited_Blog = & $edited_Chapter->get_Blog(); 59 60 $Form->select_input_options( $edited_Chapter->dbprefix.'coll_ID', $BlogCache->get_option_list( $edited_Blog->ID ), T_('Attached to blog'), T_('If you select a new blog, you will be able to choose a position within this blog on the next screen.') ); 61 62 $Form->end_fieldset(); 63 64 $Form->end_form( array( array( 'submit', 'submit', T_('Update'), 'SaveButton' ), 65 array( 'reset', '', T_('Reset'), 'ResetButton' ) ) ); 66 67 68 /* 69 * $Log: _chapter_move.form.php,v $ 70 * Revision 1.1 2007/06/25 10:59:28 fplanque 71 * MODULES (refactored MVC) 72 * 73 * Revision 1.4 2007/04/26 00:11:05 fplanque 74 * (c) 2007 75 * 76 * Revision 1.3 2006/12/11 00:32:26 fplanque 77 * allow_moving_chapters stting moved to UI 78 * chapters are now called categories in the UI 79 * 80 * Revision 1.2 2006/12/10 22:28:33 fplanque 81 * improved moving chapters a little bit 82 * 83 * Revision 1.1 2006/12/09 17:59:34 fplanque 84 * started "moving chapters accross blogs" feature 85 * 86 * Revision 1.5 2006/12/09 02:37:44 fplanque 87 * Prevent user from creating loops in the chapter tree 88 * (still needs a check before writing to DB though) 89 * 90 * Revision 1.4 2006/12/09 01:55:36 fplanque 91 * feel free to fill in some missing notes 92 * hint: "login" does not need a note! :P 93 * 94 * Revision 1.3 2006/11/24 18:27:25 blueyed 95 * Fixed link to b2evo CVS browsing interface in file docblocks 96 */ 97 ?>
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 |
![]() |