66 lines
2.9 KiB
HTML
66 lines
2.9 KiB
HTML
<!-- (c) 2005-2012 by Martin Willisegger -->
|
|
<!-- -->
|
|
<!-- Project : NagiosQL -->
|
|
<!-- Component : backup file deletion template -->
|
|
<!-- Website : http://www.nagiosql.org -->
|
|
<!-- Date : $LastChangedDate: 2012-02-21 14:10:41 +0100 (Tue, 21 Feb 2012) $ -->
|
|
<!-- Author : $LastChangedBy: martin $ -->
|
|
<!-- Version : 3.2.0 -->
|
|
<!-- Revision : $LastChangedRevision: 1229 $ -->
|
|
<!-- BEGIN header -->
|
|
<div id="content_main">
|
|
<div id="content_title">{TITLE}</div>
|
|
<!-- END header -->
|
|
<!-- BEGIN main -->
|
|
<script language="JavaScript" type="text/JavaScript">
|
|
<!--
|
|
// Interrupt input
|
|
function abort() {
|
|
this.location.href = "{ACTION_INSERT}";
|
|
}
|
|
// Send form
|
|
function LockButton() {
|
|
document.frmDeleteFile.hidStatus.value = 1;
|
|
document.frmDeleteFile.submit();
|
|
document.frmDeleteFile.subForm.disabled = true;
|
|
}
|
|
function del(key) {
|
|
if (key == "search") {
|
|
document.frmDeleteFile.txtSearch.value = "";
|
|
document.frmDeleteFile.submit();
|
|
}
|
|
}
|
|
//-->
|
|
</script>
|
|
<form name="frmDeleteFile" method="post" action="{ACTION_INSERT}">
|
|
<table border="0" cellpadding="0" class="content_formtable">
|
|
<tr>
|
|
<td class="content_tbl_row1">{LANG_SEARCH_STRING}</td>
|
|
<td class="content_tbl_row2"><input type="text" name="txtSearch" value="{DAT_SEARCH}"></td>
|
|
<td style="width:490px;"><img src="{IMAGE_PATH}lupe.gif" width="18" height="18" alt="{LANG_SEARCH}" title="{LANG_SEARCH}" style="cursor: hand; cursor:pointer;" onClick="document.frmDeleteFile.submit()"> <img src="{IMAGE_PATH}del.png" width="18" height="18" alt="{LANG_DELETE_SEARCH}" title="{LANG_DELETE_SEARCH}" onClick="del('search')" style="cursor: hand; cursor:pointer;"></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">{BACKUPFILE} *</td>
|
|
<td rowspan="2" colspan="2">
|
|
<select name="mselValue1[]" size="10" multiple id="mselValue1" class="selectborder" style="width:500px;">
|
|
<!-- BEGIN filelist -->
|
|
<option value="{DAT_BACKUPFILE}">{DAT_BACKUPFILE}</option>
|
|
<!-- END filelist -->
|
|
</select></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><small>{CTRL_INFO}</small></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3"><input name="subForm" type="button" id="subForm" value="{MAKE}" onClick="LockButton()" {ADD_CONTROL}> <input name="subAbort" type="button" id="subAbort" onClick="abort()" value="{ABORT}">
|
|
<input name="hidStatus" type="hidden" id="hidStatus" value="0"><span class="required_info">* {LANG_REQUIRED}</span></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
<br>
|
|
<p><span class="redmessage">{ERRORMESSAGE}</span><span class="greenmessage">{INFOMESSAGE}</span></p>
|
|
</div>
|
|
<!-- END main --> |