3
* This file implements the Chapter form
5
* This file is part of Quam Plures - {@link http://quamplures.net/}
6
* See also {@link https://launchpad.net/quam-plures}.
8
* @copyright (c) 2009 - 2011 by the Quam Plures developers - {@link http://quamplures.net/}
9
* @copyright (c)2003-2009 by Francois PLANQUE - {@link http://fplanque.net/}
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
20
* {@internal Below is a list of authors who have contributed to design/coding of this file: }}
21
* @author fplanque: Francois PLANQUE.
25
if( !defined('QP_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
30
global $edited_GenericCategory;
34
$edited_Chapter = & $edited_GenericCategory;
41
global $action, $subset_ID;
43
$Form = new Form( NULL, 'form' );
45
$Form->global_icon( T_('Cancel move!'), 'close', regenerate_url( 'action' ) );
47
$Form->begin_form( 'fform', T_('Move category') );
49
$Form->hidden( 'action', 'update_move' );
50
$Form->hiddens_by_key( get_memorized( 'action' ) );
52
$Form->begin_fieldset( T_('Properties') );
54
$Form->info( T_('Name'), $edited_Chapter->name );
56
// We're essentially double checking here...
57
$edited_Blog = & $edited_Chapter->get_Blog();
59
$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
$Form->end_fieldset();
63
$Form->end_form( array( array( 'submit', 'submit', T_('Update'), 'SaveButton' ),
64
array( 'reset', '', T_('Reset'), 'ResetButton' ) ) );
b'\\ No newline at end of file'