install: Improve GPL display

Use <pre> to display the GPL license instead of a hacked <textarea>.
It's scrollable and non editable, and looks better thanks to bootstrap
default CSS.
1.9.x
Diego Escalante Urrelo 11 years ago
parent 1e93c46d27
commit 99484b1618
  1. 5
      main/install/install.lib.php

@ -1480,10 +1480,7 @@ function display_license_agreement() {
?> ?>
<table> <table>
<tr><td> <tr><td>
<p style="font-size:90%"> <pre style="overflow: auto; height: 150px; margin-top: 5px;" class="span7"><?php echo api_htmlentities(@file_get_contents(api_get_path(SYS_PATH).'documentation/license.txt')); ?></pre>
<textarea cols="90" rows="7" class="span6">
<?php echo api_htmlentities(@file_get_contents(api_get_path(SYS_PATH).'documentation/license.txt')); ?>
</textarea></p>
</td> </td>
</tr> </tr>
<tr><td> <tr><td>

Loading…
Cancel
Save