trunk 20080912
[gitenigma.git] / data / templates / configSwapFileMenu.tmp
blobfbb49f9bbf061f1220b5a474d5e0db12ccc4d516
1 <script>
2 function configSwapFile()
4         var activate = "off";
5         if (swapfileconfig.swap.checked)
6                 activate = "on";
7         document.location = "/cgi-bin/setConfigSwapFile?swap=" + activate + "&swapfile=" + swapfileconfig.swapfile.value;
8         setTimeout("document.location.reload()", 500);
10 </script>
11 <form name="swapfileconfig">
12         <table border="0" cellspacing="5" cellpadding="0">
13                 <tr>
14                         <td><input type="checkbox" name="swap" value="on" #SWAP#></td>
15                         <td>Use Swap File:</td>
16                         <td><input style="color: #000000" name="swapfile" type="text" size="50" maxlength="50" value="#SWAPFILE#"></td>
17                 </tr>
18         </table>
19         <br>
20         #SWAPFILEBUTTON#
21 </form>
22 <br><br>
23 Please note that a 32 MB swap file will automatically be created if the file does not exist. 
24 This takes a while, so please be patient.