Location: PHPKode > projects > Fabriq Framework > fabriqframework-fabriq-2.1.7/modules/fabriqinstall/views/update_step2.view.php
<h1>Framework updates</h1>
<?php
if ($submitted && Messaging::has_messages()) {
	Messaging::display_messages();
}
if (count($toInstall) > 0):
?>

<p>Available framework updates:</p>
<ul>
	<?php foreach($toInstall as $update): ?>
	<li><strong><?php echo $update['version']; ?>:</strong> <?php echo $update['description']; ?></li>
	<?php endforeach; ?>
</ul>
<form method="post" action="<?php echo PathMap::build_path('fabriqinstall', 'update', 2); ?>">
<?php
foreach($toInstall as $update) {
	if (isset($update['hasDisplay']) && $update['hasDisplay']) {
		if (file_exists('app/views/fabriqinstall/update_' . str_replace(".", "_", $update['version']) . '.view.php')) {
			require_once('app/views/fabriqinstall/update_' . str_replace(".", "_", $update['version']) . '.view.php');
		}
	}
}
?>
	<p style="text-align: right;">
		<input type="submit" name="submit" value="Install updates and continue &raquo;" />
	</p>
</form>
<?php else: ?>
<p>There are no framework updates available. Continue on to check for module updates.</p>
<p style="text-align: right;">
	<input type="button" value="Next step &raquo;" onclick="window.location = '<?php echo PathMap::build_path('fabriqinstall', 'update', 3); ?>';" />
</p>	
<?php endif; ?>
Return current item: Fabriq Framework