clipbucket/upload/install/steps/step_update_0.php
Arslan Hassan c1e6530cfd Fixed : Modules Version check
Fixed : Installer
2010-03-24 11:53:11 +00:00

37 lines
No EOL
1.2 KiB
PHP

<form name="form1" method="post" action="" class="install_form"><div class="content"><h2>Update ClipBucket from <?=the_version()?> to <?=VERSION?></h2><label for="dbprefix">Database Prefix</label>
<?php
if(the_version()<'2.0.4')
{
?>
<input type="text" name="dbprefix" id="dbprefix" value="<? if($_POST['dbprefix']) echo form_val(post('dbprefix')); else echo "cb_";?>">
<?php
}
?>
<?php include("msgs.php") ?>
</div>
<div class="footer" align="right">
<?php
if(count($errors)>0)
{
?>
<input type="hidden" name="step" value="update_0" id="step" >
<input type="submit" name="step0" id="step0" value="Recheck" class="button" >
<input type="submit" name="step0" id="step0" value="Continue Update" class="button_disabled" onClick="return false;">
<?php
}else{
?>
<input type="hidden" name="step" value="update_1" id="step" >
<input type="submit" name="step0" id="step0" value="Recheck" class="button_disabled" onClick="return false;">
<input type="submit" name="step0" id="step0" value="Continue Update" class="button">
<?php
}
?>
</div>
<?=the_installer_footer()?> </form>