Location: PHPKode > projects > ZZ/OSS Installer > zic-1.1.0dev1/installer/packages_sources_downloads.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: packages_sources_downloads.php,v 1.3 2004/03/05 14:25:25 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';
    
    /***************************************************************************   
    * PAGE CONTENT                                                             *   
    ***************************************************************************/   
    $application = $zi_registry->getApplication();
    include 'themes/'.$GLOBALS['ZI']['theme'].'/header.php';
    ?>
    <h1>Download Remote Packages</h1>
    <?php
    if($_REQUEST['error'] == 'true'){
        ?>
        <div class="warning">An error occured while downloading, please read the log.</div>
        <?php
    }
    ?>
    <h2><a href="info.php?mode=<?php echo $_REQUEST['mode']; ?>&type=application&distribution=<?php echo $_REQUEST['distribution']; ?>" onclick="javascript:window.open('info.php?mode=<?php echo $_REQUEST['mode']; ?>&type=application&distribution=<?php echo $_REQUEST['distribution']; ?>', 'ApplicationInformation', 'width=500,height=500,resizable=1,status=0,scrollbars=1,toolbar=0,location=0,directories=0,menubar=0,dependent=0');void(0);javascript:return(false);" target="_blank" title="<?php echo $application["summary"].' '.$application['release']['version']; ?>"><?php echo $application["summary"].' '.$application['release']['version']; ?></a></h2>
    <textarea cols="60" rows="20" wrap="off"><?php
        $logfile = $zi_registry->getApplicationPath().'installer'.DIRECTORY_SEPARATOR.'bundle_downloads.log';
        readfile($logfile);
        ?></textarea>
            <?php
    
    if($_REQUEST['error'] != 'true'){
        if($_REQUEST['dev'] == 'bundle'){
            $zi_buttons['next'] = 'dev_bundle_process.php'.zi_form_querystr();
        } else {
            $zi_buttons['next'] = 'packages.php'.zi_form_querystr();
        }
    }
    $zi_buttons['back'] = 'packages_sources.php'.zi_form_querystr();
	include 'themes/'.$GLOBALS['ZI']['theme'].'/footer.php';
?>
Return current item: ZZ/OSS Installer