install/index.php
changeset 354 979d99a0b00e
parent 348 87e08a6e4fec
child 411 d1a95497b68f
--- a/install/index.php	Thu Jan 17 23:31:35 2008 -0500
+++ b/install/index.php	Fri Jan 18 10:47:24 2008 -0500
@@ -39,14 +39,14 @@
 ?>
 
           <div id="installnotice">
-            <?php
+          <?php
             if ( !defined('ENANO_INSTALLED') ):
             ?>
             <div class="info-box-mini">
               <b>Enano hasn't been installed yet!</b><br />
               You'll need to install the Enano database before you can use your site. To get started, click the Install button below.
             </div>
-            <?php
+          <?php
             if ( file_exists('./config.php') )
             {
             ?>
@@ -64,8 +64,7 @@
             <?php
             }
             endif;
-            ?>
-          </div>
+            ?></div>
           <table border="0" cellspacing="10" cellpadding="0" width="100%" id="installmenu">
             <tr>
               <td style="text-align: right; width: 50%;">
@@ -99,7 +98,7 @@
                     </a>
                   </li>
                   <?php
-                  if ( $version == enano_version(true) )
+                  if ( installer_enano_version() == enano_version(true) )
                   {
                     echo '<li>
                     <a class="upgrade-disabled icon icon-disabled">