Skip to content
Snippets Groups Projects
upgrade.inc.php 1.75 KiB
Newer Older
  • Learn to ignore specific revisions
  • Jared Hancock's avatar
    Jared Hancock committed
    <?php
    
    if(!defined('SETUPINC') || !$upgrader)  die('Kwaheri!');
    $action=$upgrader->getNextAction();
    
    Jared Hancock's avatar
    Jared Hancock committed
    
    ?>
        <div id="main">
    
                <h1>osTicket Upgrade</h1>
    
    Jared Hancock's avatar
    Jared Hancock committed
                <div id="intro">
    
                 <p>Thank you for taking the time to upgrade your osTicket intallation!</p>
                 <p>Please don't cancel or close the browser, any errors at this
                  stage will be fatal.</p>
    
    Jared Hancock's avatar
    Jared Hancock committed
                </div>
    
                <h2><?php echo $action ?></h2>
                <p>The upgrade wizard will now attempt to upgrade your database and core settings!</p>
    
    Jared Hancock's avatar
    Jared Hancock committed
                <ul>
    
                    <li>Database enhancements</li>
                    <li>New and updated features</li>
                    <li>Enhance settings and security</li>
    
    Jared Hancock's avatar
    Jared Hancock committed
                </ul>
                <div id="bar">
                    <form method="post" action="upgrade.php" id="upgrade">
    
                        <input type="hidden" name="s" value="upgrade">
                        <input type="hidden" name="sh" value="<?php echo $upgrader->getSchemaSignature(); ?>">
                        <input class="btn"  type="submit" name="submit" value="Do It Now!">
    
    Jared Hancock's avatar
    Jared Hancock committed
                    </form>
                </div>
        </div>
        <div id="sidebar">
                <h3>Upgrade Tips</h3>
    
                <p>1. Be patient the process will take a couple of seconds.</p>
                <p>2. If you experience any problems, you can always restore your files/dabase backup.</p>
                <p>3. We can help, feel free to <a href="http://osticket.com/support/" target="_blank">contact us </a> for professional help.</p>
    
    Jared Hancock's avatar
    Jared Hancock committed
        </div>
    
        <div id="overlay"></div>
        <div id="loading">
    
            <h4><?php echo $action; ?></h4>
    
    Jared Hancock's avatar
    Jared Hancock committed
            Please wait... while we upgrade your osTicket installation!
    
            <div id="msg" style="font-weight: bold;padding-top:10px;">Smile!</div>
    
    Jared Hancock's avatar
    Jared Hancock committed
        </div>