| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files (x86)/Mail Enable/Bin/NETWebMail/Mondo/lang/sys/dialogs/ |
Upload File : |
<br/>
<table id="tblArchiveSettings" class="options_form_table" cellpadding="3" cellspacing="0" border="0" width="100%">
<tr><td class="ME_FieldLabel options_form_table_label" valign="top" nowrap="nowrap" colspan="2"><div class="options_form_label">Archiving messages will move matching messages under the Archive folder</div></td></tr>
<tr><td class="ME_FieldLabel options_form_table_label" valign="top" nowrap="nowrap"><div class="options_form_label" id="archiveFolderLabel">Folder: </div></td><td id="tdArchiveFolder" class="ME_Field"><div id="lblArchiveFolder" class="options_form_label"></div></td></tr>
<tr><td class="ME_FieldLabel options_form_table_label" valign="top" nowrap="nowrap"><div class="options_form_label" id="archiveActionLabel">Action: </div></td><td class="ME_Field">
<select id="archiveAction" style="width:290px" onchange="toggleArchiveAction()" >
<option value="Archive">Archive (Move to subfolder under Archive)</option>
<option value="SoftDelete">Soft Delete (Move to Deleted Items)</option>
<option value="HardDelete">Hard Delete (Permanently Delete)</option>
</select></td></tr>
<tr><td class="ME_FieldLabel options_form_table_label" valign="top" nowrap="nowrap"><div class="options_form_label">Criteria Type: </div></td><td class="ME_Field">
<select id="archiveCriteria" onchange="toggleArchiveCriteria()" style="width:290px">
<option value="MaxAge">Older Than</option>
<option value="Bulk">Bulk (Distribution Lists)</option>
<option value="Sender">Sender</option>
<option value="Subject">Subject</option>
</select></td></tr>
<tr class="trArchive" id="trArchiveMaxAge"><td class="ME_FieldLabel options_form_table_label" valign="top" nowrap="nowrap"><div class="options_form_label">Older Than: </div></td><td id="archiveDatePickerLocation" class="ME_Field"></td></tr>
<tr class="trArchive" id="trArchiveSender" style="display:none"><td class="ME_FieldLabel options_form_table_label" valign="top" nowrap="nowrap"><div class="options_form_label">Sender Matches: </div></td><td class="ME_Field"><input id="archiveSender" type="text" /></td></tr>
<tr class="trArchive" id="trArchiveSubject" style="display:none"><td class="ME_FieldLabel options_form_table_label" valign="top" nowrap="nowrap"><div class="options_form_label">Subject Matches: </div></td><td class="ME_Field"><input id="archiveSubject" type="text" /></td></tr>
</table>
<script type="text/javascript">
var archiveDialog = {
Localize: function () {
//set language tokens
$('#archiveFolderLabel').text(t_('[ME_TXT-FolderName]') + ': ');
$('#archiveActionLabel').text(t_('[ME_TXT-Action]') + ': ');
},
SetFolder: function (sFolder) {
oArchiveDialog.SetTitle('Archive: ' + sFolder);
$('#lblArchiveFolder').text(sFolder);
oArchiveDialog.Show();
},
Create: function () {
$("#divArchive").show();
//
// The following date is for the archiving
//
var archivePickerLocation = document.getElementById('archiveDatePickerLocation');
arrDatePickers['archiveDatePicker'] = new InlineListsDatePicker('archiveDatePicker', archivePickerLocation, 'mdy', null, ME_DP_MONDAY, dayTokens, monthTokens, t_('[ME_TXT-None]'));
var dpDate = new Date();
dpDate.setFullYear(dpDate.getUTCFullYear() - 1); // set the date to a year earlier
dpDefaults(arrDatePickers['archiveDatePicker'], dpDate);
//source the dialog content
oArchiveDialog = new Dialog("ArchiveDialog", t_("[ME_TXT-Archive]"), $("#divArchive"), { Width: 500 });
oArchiveDialog.AddOKAndCancelActions(function () { return doArchive($('#lblArchiveFolder').text()) }, null, 'Archive', null, false);
},
Configure: function () {
//configure which options are available
if (!g_opt['AllowBulkCriteria']) {
$("#archiveCriteria option[value='Bulk']").remove();
}
}
}
</script>