Source for file _chapter_move.form.php
Documentation is available at _chapter_move.form.php
* This file implements the Chapter form
* This file is part of Quam Plures - {@link http://quamplures.net/}
* See also {@link https://launchpad.net/quam-plures}.
* @copyright (c) 2009 - 2011 by the Quam Plures developers - {@link http://quamplures.net/}
* @copyright (c)2003-2009 by Francois PLANQUE - {@link http://fplanque.net/}
* {@internal License choice
* - If you have received this file as part of a package, please find the license.txt file in
* the same folder or the closest folder above for complete license terms.
* - If you have received this file individually (e-g: from http://evocms.cvs.sourceforge.net/)
* then you must choose one of the following licenses before using the file:
* - GNU General Public License 2 (GPL) - http://www.opensource.org/licenses/gpl-license.php
* - Mozilla Public License 1.1 (MPL) - http://www.opensource.org/licenses/mozilla1.1.php
* {@internal Below is a list of authors who have contributed to design/coding of this file: }}
* @author fplanque: Francois PLANQUE.
if( !defined('QP_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
global $edited_GenericCategory;
$edited_Chapter = & $edited_GenericCategory;
global $action, $subset_ID;
$Form = new Form( NULL, 'form' );
$Form->begin_form( 'fform', T_('Move category') );
$Form->hidden( 'action', 'update_move' );
$Form->begin_fieldset( T_('Properties') );
$Form->info( T_('Name'), $edited_Chapter->name );
// We're essentially double checking here...
$edited_Blog = & $edited_Chapter->get_Blog();
$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.') );
$Form->end_form( array( array( 'submit', 'submit', T_('Update'), 'SaveButton' ),
array( 'reset', '', T_('Reset'), 'ResetButton' ) ) );
|