Browse Source

fix setup display license in firefox

tags/v1.5.5
Adam Bukowski 8 years ago
parent
commit
03277cee83
2 changed files with 5 additions and 8 deletions
  1. +2
    -5
      setup.css
  2. +3
    -3
      setup.php

+ 2
- 5
setup.css View File

@@ -137,12 +137,9 @@ span.footer a:hover {
margin: 10px 10px 10px 10px;
}

div.license.summary {
float: left;
width: 500px;
}

div.license {
display: inline-block;
width: 500px;
overflow: auto;
height: 500px;
border: 1px solid #B3B3B3;


+ 3
- 3
setup.php View File

@@ -162,10 +162,10 @@ if (isset($_GET['tos1']) && $_GET['tos1'] && isset($_GET['tos2']) && $_GET['tos2

if(!isset($_GET['license'])) {
set_header(__('License Agreement'));
print('<div class="license summary">');
print('<div class="license">');
print read_doc_file('license');
print('</div>');
print('<div class="license">');
print('<div class="license agreement">');
$form = new HTML_QuickForm('licenceform','get');
$form -> addElement('html', '<tr><td colspan=2><h3>'.__('By installing and using this software you agree to the MIT license and following terms:').'</h3></td></tr>');
$form -> addElement('checkbox','tos1','',__('I will not remove the <strong>"Copyright by Telaxus LLC"</strong> notice as required by the MIT license.'));
@@ -496,7 +496,7 @@ define(\'DATABASE_DRIVER\',\''.addcslashes($engine, '\'\\').'\');
*/
//define(\'DEMO_MODE\',0);

define(\'FILE_SESSION_DIR\',\''.sys_get_temp_dir().'\');
define(\'FILE_SESSION_DIR\',\''.str_replace('\\', '/', sys_get_temp_dir()).'\');
define(\'FILE_SESSION_TOKEN\',\'epesi_'.md5(__FILE__).'_\');

'.$other_conf.'


Loading…
Cancel
Save