<?php
/**
*
*/

// Disallow direct access.
defined('ABSPATH') or die("Access denied");
?>
<div class="cjt-installer-view">
<?php if (!$this->error) : ?>
	<form name="installation-form" action="">
		<input type="hidden" id="cjt-securityToken" value="<?php echo $this->securityToken ?>" />
		<h1><?php echo cssJSToolbox::getText('Upgrading CJT Plugin') ?></h1>
		<p><?php echo cssJSToolbox::getText('Please wait while CJT is upgrading. This process will only take a couple of seconds.') ?></p>
		<p><?php echo cssJSToolbox::getText('It\'s highly recommended to take a backup of your database before upgrading.') ?></p>
<?php echo $this->getTemplate('upgrade', array('noHeaderMessage' => true), 'tmpl/upgrades'); ?>
		<input type="button" name="install" value="<?php echo cssJSToolbox::getText('Upgrade') ?>" />
<?php else : ?>
<div class="error"><p><?php echo $this->error->getMessage() ?></p></div>
<br>
<?php endif ?>
	</form>
</div>