Imported Upstream version 3.2.0
This commit is contained in:
76
templates/admin/import.tpl.htm
Normal file
76
templates/admin/import.tpl.htm
Normal file
@@ -0,0 +1,76 @@
|
||||
<!-- (c) 2005-2012 by Martin Willisegger -->
|
||||
<!-- -->
|
||||
<!-- Project : NagiosQL -->
|
||||
<!-- Component : nagios config 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.frmImport.hidStatus.value = 1;
|
||||
document.frmImport.submit();
|
||||
document.frmImport.subForm.disabled = true;
|
||||
}
|
||||
function del(key) {
|
||||
if (key == "search") {
|
||||
document.frmImport.txtSearch.value = "";
|
||||
document.frmImport.submit();
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<form action="{ACTION_INSERT}" method="post" enctype="multipart/form-data" name="frmImport">
|
||||
<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.frmImport.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">{IMPORTFILE}</td>
|
||||
<td rowspan="2" colspan="2">
|
||||
<select name="mselValue1[]" size="10" multiple id="mselValue1" class="selectborder" style="width:500px;">
|
||||
<!-- BEGIN filelist2 -->
|
||||
<option value="{DAT_IMPORTFILE_2}">{DAT_IMPORTFILE_2}</option>
|
||||
<!-- END filelist2 -->
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><small>{CTRL_INFO}</small></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{LOCAL_FILE}</td>
|
||||
<td colspan="2"><input type="file" name="datValue1" id="datValue1" size="70"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{OVERWRITE}</td>
|
||||
<td colspan="2"><input name="chbValue1" type="checkbox" class="checkbox" id="chbValue1" value="1" checked></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"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<p>{IMPORT_INFO_1}<span style="color:#FF0000">{IMPORT_INFO_2}</span></p>
|
||||
<p><span class="redmessage">{ERRORMESSAGE}</span><span class="greenmessage">{INFOMESSAGE}</span></p>
|
||||
</div>
|
||||
<!-- END main -->
|
||||
Reference in New Issue
Block a user