phpBB

Code Changes

File: phpbb/install/helper/iohandler/ajax_iohandler.php

  Unmodified   Added   Modified   Removed
Line 186Line 186
			$tpl_ary['TITLE'] = $this->language->lang($input_options['label']);
$tpl_ary['KEY'] = $input_name;
$tpl_ary['S_EXPLAIN'] = false;

			$tpl_ary['TITLE'] = $this->language->lang($input_options['label']);
$tpl_ary['KEY'] = $input_name;
$tpl_ary['S_EXPLAIN'] = false;

 
			$tpl_ary['DISABLED'] = isset($input_options['disabled']) ? $input_options['disabled'] : false;
$tpl_ary['IS_SECONDARY'] = isset($input_options['is_secondary']) ? $input_options['is_secondary'] : false;


if (isset($input_options['default']))
{


if (isset($input_options['default']))
{

Line 202Line 204

if (in_array($input_options['type'], array('select', 'radio'), true))
{


if (in_array($input_options['type'], array('select', 'radio'), true))
{

				for ($i = 0, $total = sizeof($input_options['options']); $i < $total; $i++)

				for ($i = 0, $total = count($input_options['options']); $i < $total; $i++)

				{
if (isset($input_options['options'][$i]['label']))
{

				{
if (isset($input_options['options'][$i]['label']))
{

Line 215Line 217

$block_name = ($input_options['type'] === 'submit') ? 'submit_buttons' : 'options';
$this->template->assign_block_vars($block_name, $tpl_ary);


$block_name = ($input_options['type'] === 'submit') ? 'submit_buttons' : 'options';
$this->template->assign_block_vars($block_name, $tpl_ary);

 
		}

if (isset($form['database_update_submit']) && !$form['database_update_submit']['disabled'])
{
$this->template->assign_var('FORM_TITLE', $this->language->lang('UPDATE_CONTINUE_UPDATE_PROCESS'));

		}

$this->template->assign_var('S_NOT_ONLY_BUTTON_FORM', $not_button_form);

		}

$this->template->assign_var('S_NOT_ONLY_BUTTON_FORM', $not_button_form);

 

if (!$not_button_form)
{
$this->template->destroy_block_vars('options');
}


$this->template->set_filenames(array(
'form_install' => 'installer_form.html',


$this->template->set_filenames(array(
'form_install' => 'installer_form.html',

Line 369Line 381
	 */
public function set_active_stage_menu($menu_path)
{

	 */
public function set_active_stage_menu($menu_path)
{

		$this->nav_data['active'] = $menu_path[sizeof($menu_path) - 1];

		$this->nav_data['active'] = $menu_path[count($menu_path) - 1];

		$this->send_response();
}


		$this->send_response();
}


Line 378Line 390
	 */
public function set_finished_stage_menu($menu_path)
{

	 */
public function set_finished_stage_menu($menu_path)
{

		$this->nav_data['finished'][] = $menu_path[sizeof($menu_path) - 1];

		$this->nav_data['finished'][] = $menu_path[count($menu_path) - 1];

		$this->send_response();
}


		$this->send_response();
}