]> git.p6c8.net - jirafeau.git/blobdiff - index.php
Work around LiteSpeed's truncation of large files
[jirafeau.git] / index.php
index 832749bb3303be153066bb2b1797fcc6c7122a63..faeb8db07670973e916173b931bdad50a1236acb 100644 (file)
--- a/index.php
+++ b/index.php
@@ -178,10 +178,12 @@ else {
 
     <div id="options">
         <table id="option_table">
-        <tr>
-        <td><?php echo t('ONE_TIME_DL'); ?>:</td>
-        <td><input type="checkbox" id="one_time_download" /></td>
-        </tr>
+        <?php
+        if ($cfg['one_time_download']) {
+            echo '<tr><td>' . t('ONE_TIME_DL') . ':</td>';
+            echo '<td><input type="checkbox" id="one_time_download" /></td></tr>';
+        }
+        ?>
         <tr>
         <td><label for="input_key"><?php echo t('PSW') . ':'; ?></label></td>
         <td><input type="password" name="key" id="input_key" /></td>

patrick-canterino.de