install/includes/ui.php
changeset 685 17ebe24cdf85
parent 583 c97d5f0d6636
child 801 eb8b23f11744
equal deleted inserted replaced
684:15dbbe7e7674 685:17ebe24cdf85
     1 <?php
     1 <?php
     2 
     2 
     3 /*
     3 /*
     4  * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between
     4  * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between
     5  * Version 1.1.4 (Caoineag alpha 4)
     5  * Version 1.1.5 (Caoineag alpha 5)
     6  * Copyright (C) 2006-2008 Dan Fuhry
     6  * Copyright (C) 2006-2008 Dan Fuhry
     7  * Installation package
     7  * Installation package
     8  * ui.php - User interface for installations and upgrades
     8  * ui.php - User interface for installations and upgrades
     9  *
     9  *
    10  * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
    10  * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
   165     $additional_headers = implode("\n    ", $this->additional_headers);
   165     $additional_headers = implode("\n    ", $this->additional_headers);
   166     $title = addslashes(str_replace(' ', '_', $stage_name));
   166     $title = addslashes(str_replace(' ', '_', $stage_name));
   167     $js_dynamic = '<script type="text/javascript">
   167     $js_dynamic = '<script type="text/javascript">
   168         var title="' . $title . '";
   168         var title="' . $title . '";
   169         var scriptPath="'.scriptPath.'";
   169         var scriptPath="'.scriptPath.'";
       
   170         var cdnPath="'.scriptPath.'";
   170         var ENANO_SID="";
   171         var ENANO_SID="";
   171         var AES_BITS='.AES_BITS.';
   172         var AES_BITS='.AES_BITS.';
   172         var AES_BLOCKSIZE=' . AES_BLOCKSIZE . ';
   173         var AES_BLOCKSIZE=' . AES_BLOCKSIZE . ';
   173         var pagepass=\'\';
   174         var pagepass=\'\';
   174         var ENANO_LANG_ID = 1;
   175         var ENANO_LANG_ID = 1;
   224    * Displays the page footer.
   225    * Displays the page footer.
   225    */
   226    */
   226   
   227   
   227   function show_footer()
   228   function show_footer()
   228   {
   229   {
       
   230     $scriptpath = scriptPath;
   229     echo <<<EOF
   231     echo <<<EOF
   230           <div id="copyright">
   232           <div id="copyright">
   231             Enano and its various components, related documentation, and artwork are copyright &copy; 2006-2008 Dan Fuhry.<br />
   233             Enano and its various components, related documentation, and artwork are copyright &copy; 2006-2008 Dan Fuhry.<br />
       
   234             Copyrights for <a href="{$scriptpath}/licenses/">third-party components</a> are held by their respective authors.<br />
   232             This program is Free Software; see the file "GPL" included with this package for details.
   235             This program is Free Software; see the file "GPL" included with this package for details.
   233           </div>
   236           </div>
   234         </div> <!-- div#enano-body -->
   237         </div> <!-- div#enano-body -->
   235       </div> <!-- div#enano-fill -->
   238       </div> <!-- div#enano-fill -->
   236     </div> <!-- div#enano -->
   239     </div> <!-- div#enano -->