Delete to tmp option added

This commit is contained in:
Matt Pass
2016-08-27 15:08:14 +01:00
parent 0027259e67
commit d9e5737dc4
3 changed files with 5 additions and 0 deletions

View File

@@ -435,6 +435,8 @@ $text = array(
"day" => "day",
"days" => "days",
"of backups stored..." => "of backups stored currently",
"deleting actually moves..." => "deleting actually moves to ICEcoder's tmp dir",
"local/server items..." => "local/server items only",
"Get in contact..." => "Get in contact by...",
"You may use..." => "You may use ICEcoder for your own purposes, commercial or not, just let us know of any cool uses or customisations. :)<br><br>No warranty or liability accepted for anything, all responsibility of use is your own.",
"functionality" => "functionality",

View File

@@ -11,6 +11,7 @@ $ICEcoderUserSettings = array(
"languageUser" => "english.php",
"backupsKept" => true,
"backupsDays" => 14,
"deleteToTmp" => true,
"findFilesExclude" => array(".doc",".gif",".jpg",".jpeg",".pdf",".png",".swf",".xml",".zip"),
"codeAssist" => true,
"visibleTabs" => false,

View File

@@ -178,6 +178,8 @@ for ($i=0;$i<count($themeArray);$i++) {
echo $backupNumDays." ".($backupNumDays != 1 ? $t['days'] : $t['day'])." ".$t['of backups stored...'];
?>
</div><br>
<input type="checkbox" onclick="showButton();" name="deleteToTmp" value="true"<?php if($ICEcoder["deleteToTmp"]) {echo ' checked';};?>> <?php echo $t['deleting actually moves...'];?> <span class="info" title="<?php echo $t['local/server items...'];?>" style="position: absolute; margin-top: 6px">[?]</span>
<br><br>
</div>