phpDocumentor pond
[ class tree: pond ] [ index: pond ] [ all elements ]

Source for file _chapter_move.form.php

Documentation is available at _chapter_move.form.php

  1. <?php
  2. /**
  3.  * This file implements the Chapter form
  4.  *
  5.  * This file is part of Quam Plures - {@link http://quamplures.net/}
  6.  * See also {@link https://launchpad.net/quam-plures}.
  7.  *
  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/}
  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 Below is a list of authors who have contributed to design/coding of this file: }}
  21.  * @author fplanque: Francois PLANQUE.
  22.  *
  23.  * @package pond
  24.  */
  25. if!defined('QP_MAIN_INIT') ) die'Please, do not access this page directly.' );
  26.  
  27. /**
  28.  * @var Chapter 
  29.  */
  30. global $edited_GenericCategory;
  31. /**
  32.  * @var Chapter 
  33.  */
  34. $edited_Chapter $edited_GenericCategory;
  35.  
  36. /**
  37.  * @var BlogCache 
  38.  */
  39. global $BlogCache;
  40.  
  41. global $action$subset_ID;
  42.  
  43. $Form new FormNULL'form' );
  44.  
  45. $Form->global_iconT_('Cancel move!')'close'regenerate_url'action' ) );
  46.  
  47. $Form->begin_form'fform'T_('Move category') );
  48.  
  49. $Form->hidden'action''update_move' );
  50. $Form->hiddens_by_keyget_memorized'action' ) );
  51.  
  52. $Form->begin_fieldsetT_('Properties') );
  53.  
  54.     $Form->infoT_('Name')$edited_Chapter->name );
  55.  
  56.     // We're essentially double checking here...
  57.     $edited_Blog $edited_Chapter->get_Blog();
  58.  
  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.') );
  60.  
  61. $Form->end_fieldset();
  62.  
  63. $Form->end_formarrayarray'submit''submit'T_('Update')'SaveButton' ),
  64.                                                 array'reset'''T_('Reset')'ResetButton' ) ) );
  65.  
  66.  
  67. ?>