b2evolution PHP Cross Reference Blogging Systems

Source: /inc/maintenance/views/_upgrade_continue.form.php - 60 lines - 1926 bytes - Summary - Text - Print

Description: This file is part of b2evolution - {@link http://b2evolution.net/} See also {@link http://sourceforge.net/projects/evocms/}.

   1  <?php
   2  /**

   3   * This file is part of b2evolution - {@link http://b2evolution.net/}

   4   * See also {@link http://sourceforge.net/projects/evocms/}.

   5   *

   6   * @copyright (c)2009-2014 by Francois PLANQUE - {@link http://fplanque.net/}

   7   * Parts of this file are copyright (c)2009 by The Evo Factory - {@link http://www.evofactory.com/}.

   8   *

   9   * Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}

  10   *

  11   * {@internal Open Source relicensing agreement:

  12   * The Evo Factory grants Francois PLANQUE the right to license

  13   * The Evo Factory's contributions to this file and the b2evolution project

  14   * under any OSI approved OSS license (http://www.opensource.org/licenses/).

  15   * }}

  16   *

  17   * @package maintenance

  18   *

  19   * {@internal Below is a list of authors who have contributed to design/coding of this file: }}

  20   * @author fplanque: Francois Planque.

  21   *

  22   * @version $Id: _upgrade_continue.form.php 6180 2014-03-13 10:53:17Z yura $

  23   */
  24  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  25  
  26  global $block_item_Widget, $upgrade_buttons;
  27  
  28  if( isset( $block_item_Widget ) )
  29  {
  30      $block_item_Widget->disp_template_replaced( 'block_end' );
  31  }
  32  
  33  if( empty( $upgrade_buttons ) )
  34  { // No button to continue the upgrade process
  35      debug_die('Unhandled upgrade action!');
  36  }
  37  
  38  $Form = new Form( NULL, 'upgrade_form', 'post' );
  39  
  40  $Form->hiddens_by_key( get_memorized( 'action' ) );
  41  
  42  $Form->begin_form( 'fform' );
  43  
  44  if( strpos( $action, 'ready' ) !== false )
  45  { // Display the backup options to select what should be backuped
  46      require ( '_backup_options.form.php' );
  47  }
  48  
  49  // Display the form buttons

  50  $Form->begin_fieldset( T_( 'Actions' ) );
  51  
  52  $form_buttons = array();
  53  foreach( $upgrade_buttons as $btn_action => $btn_title )
  54  {
  55      $form_buttons[] = array( 'submit', 'actionArray['.$btn_action.']', $btn_title, 'SaveButton' );
  56  }
  57  
  58  $Form->end_form( $form_buttons );
  59  
  60  ?>

title

Description

title

Description

title

Description

title

title

Body