install/index.php
changeset 354 979d99a0b00e
parent 348 87e08a6e4fec
child 411 d1a95497b68f
equal deleted inserted replaced
353:2398420f48e7 354:979d99a0b00e
    37 }
    37 }
    38 
    38 
    39 ?>
    39 ?>
    40 
    40 
    41           <div id="installnotice">
    41           <div id="installnotice">
    42             <?php
    42           <?php
    43             if ( !defined('ENANO_INSTALLED') ):
    43             if ( !defined('ENANO_INSTALLED') ):
    44             ?>
    44             ?>
    45             <div class="info-box-mini">
    45             <div class="info-box-mini">
    46               <b>Enano hasn't been installed yet!</b><br />
    46               <b>Enano hasn't been installed yet!</b><br />
    47               You'll need to install the Enano database before you can use your site. To get started, click the Install button below.
    47               You'll need to install the Enano database before you can use your site. To get started, click the Install button below.
    48             </div>
    48             </div>
    49             <?php
    49           <?php
    50             if ( file_exists('./config.php') )
    50             if ( file_exists('./config.php') )
    51             {
    51             {
    52             ?>
    52             ?>
    53             <div class="warning-box-mini">
    53             <div class="warning-box-mini">
    54               <b>A configuration file (config.php) exists but doesn't set the ENANO_INSTALLED constant.</b><br />
    54               <b>A configuration file (config.php) exists but doesn't set the ENANO_INSTALLED constant.</b><br />
    62                  so; our public key is available <a href="http://enanocms.org/bin/enanocms-signkey.asc">here</a>.</b></p>
    62                  so; our public key is available <a href="http://enanocms.org/bin/enanocms-signkey.asc">here</a>.</b></p>
    63             </div>
    63             </div>
    64             <?php
    64             <?php
    65             }
    65             }
    66             endif;
    66             endif;
    67             ?>
    67             ?></div>
    68           </div>
       
    69           <table border="0" cellspacing="10" cellpadding="0" width="100%" id="installmenu">
    68           <table border="0" cellspacing="10" cellpadding="0" width="100%" id="installmenu">
    70             <tr>
    69             <tr>
    71               <td style="text-align: right; width: 50%;">
    70               <td style="text-align: right; width: 50%;">
    72                 <!-- Enano logo -->
    71                 <!-- Enano logo -->
    73                 <img alt="Enano CMS" src="images/enano-artwork/installer-greeting.png" />
    72                 <img alt="Enano CMS" src="images/enano-artwork/installer-greeting.png" />
    97                       Install
    96                       Install
    98                       <small>Enano is already installed.</small> <!-- CSS takes care of making this position properly -->
    97                       <small>Enano is already installed.</small> <!-- CSS takes care of making this position properly -->
    99                     </a>
    98                     </a>
   100                   </li>
    99                   </li>
   101                   <?php
   100                   <?php
   102                   if ( $version == enano_version(true) )
   101                   if ( installer_enano_version() == enano_version(true) )
   103                   {
   102                   {
   104                     echo '<li>
   103                     echo '<li>
   105                     <a class="upgrade-disabled icon icon-disabled">
   104                     <a class="upgrade-disabled icon icon-disabled">
   106                       Upgrade
   105                       Upgrade
   107                       <small>
   106                       <small>