Location: PHPKode > projects > ZZ/OSS Installer > zic-1.1.0dev1/installer/online_update_confirm.php
<?php   
    /*
    Copyright (C) 2001-2004 ZZOSS GbR, http://www.zzoss.com

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
    License as published by the Free Software Foundation; either
    version 2.1 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this library; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    */
    
    /**
    @version $Id: online_update_confirm.php,v 1.1 2003/12/22 17:19:58 ordnas Exp $
    @copyright Copyright &copy; 2001-2004 ZZ/OSS GbR, http://www.zzoss.com
    @license http://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License
    */
	  
	// execute init file
	require_once 'inc/init.php';
	// installer utils
	require_once 'ZZOSS_Installer/Utils.php';
	// config xml parser
	require_once 'ZZOSS_Config/Config.php';

    /***************************************************************************   
    * STARTUP                                                                  *   
    ***************************************************************************/   

	$file = 'data/installer/remote_applications.xml';
	$remote_applications_xml = new ZZOSS_Config();
	$remote_applications_xml->setFile($file);
	$remote_applications = $remote_applications_xml->query('/applications/application');
	$remote_application = $remote_applications[$_REQUEST['application']];

    /***************************************************************************   
    * PAGE CONTENT                                                             *   
    ***************************************************************************/   

	include 'themes/'.$GLOBALS['ZI']['theme'].'/header.php';
	?>
	<h1>Download Application: Confirm Download</h1>
	Press next to start downloading "<?php echo $remote_application["name"].'-'.$remote_application["release"]["version"];?>".<br/><br/>
	The download may take some time depending on your internet connection. Please be patient and don't shut your browser window.
	
	<br clear="all"/>
	
	<?php
		$zi_buttons['back'] = "applications_download.php";;
		$zi_buttons['next'] = "online_update_process.php".zi_form_querystr();
		include 'themes/'.$GLOBALS['ZI']['theme'].'/footer.php';
?>
Return current item: ZZ/OSS Installer