PHP Classes

File: phpinstaller/tpl/installation_ui.html

Recommend this page to a friend!
  Classes of Federico  >  PHP Installer  >  phpinstaller/tpl/installation_ui.html  >  Download  
File: phpinstaller/tpl/installation_ui.html
Role: Auxiliary script
Content type: text/plain
Description: installer ui
Class: PHP Installer
Create PHP application install scripts
Author: By
Last change:
Date: 12 years ago
Size: 3,072 bytes


Class file image Download
    <!-- created with PHP Installer -->
    <div id="title">{$title}</div>
    <div id="description">{$description}</div>
    <div id="doc">
        <b>Php Installer Documentation</b><br/>
        Edit all settings to install the package
            <li>Info: number and size of files and directories. If present, name of file that will be executed at the end of installation.</li>
            <li>Choose Install Directory: where the package will be installed</li>
            <li>Overwrite Files? Check if you want to overwrite the present file. Disabled by default.</li>
            <li>Install Database? Check and insert the account and database info if you want install the database</li>
            <li>Confirm Installation. Check to procede with the installation.</li>
    <div id="layout">
    <form action="" method="POST">
        <div class="title">Installation</div>
            {$nfile} files and {$ndir} directories: {$size}<br/>
            Compressed size: {$compressed_size}<br/>
if( $execute )
"<b>After the installation will be executed the file: $execute</b>";
        <div><span>Choose install directory</span><input type="text" name="dir" value=""></div>
        <div><input type="checkbox" name="overwrite" id="overwrite"> <label for="overwrite">Overwrite files?</label></div>
            <label for="db"><input type="checkbox" id="db" name="db" onchange="document.getElementById('db_fieldset').style.display=!this.checked?'none':'block';"> Install database? </label>
            <fieldset id="db_fieldset" style="display:none;">
                <div><span>Database hostname</span><input type="text" name="db_hostname" value=""></div>
                <div><span>Database Username</span><input type="text" name="db_username" value=""></div>
                <div><span>Database Password</span><input type="text" name="db_password" value=""></div>
                <div><span>Database Name</span><input type="text" name="db_database" value="<?php echo $db['database']; ?>"></div>
                <div><a href="?dump=1" target="_blank">Click here to download the database for manual installing.</a></div>
        <div><input type="checkbox" name="install" id="install"> <label for="install">Confirm installation.</label></div>

    <table cellspacing="0" cellpadding="5" id="list">
foreach( $file as $filename => $value )
"<tr><td>$filename</td><td>".(byte($value['size']))."</td><td align=\"center\">{$value['perms']}</td></tr>";
    Database in the package
    <?php if( isset($db) ){ ?>
<table cellspacing="0" cellpadding="5" id="list">
foreach( $db['table_list'] as $table => $n )
    <?php } ?>
<div id="copyright">Created with Php Installer project by <a href=""></a><br/>{$author}</div>

For more information send a message to info at phpclasses dot org.