<!-- manage options template -->
<script type="text/javascript">
var $j = jQuery.noConflict();
$j(document).ready(function(){
var loading = '<img src="{$templates}/images/loading.gif" width="20" height="20" alt="Loading content..." title="Loading content..." />';
$j('.sub-form').live('submit', function(){
$j('#tabsConfig .ui-tabs-panel:visible').html(loading);
$j.ajax({
data: $j(this).serialize(),
type: $j(this).attr('method'),
url: $j(this).attr('action'),
success: function(response){
$j('#tabsConfig .ui-tabs-panel:visible').html(response);
}
});
return false;
})
});
</script>
<form action="{$URL}" method="post" class="sub-form" id="application-options" name="application-options">
<fieldset>
<legend>Application options
<a href="javascript:popUp('help/help.html','800','800')" title="Need help?"><img src="{$template}/images/icons/icon-info.png" alt="{$TITLE} Help"></a>
</legend>
{$error}
<div>
<table border="0" width="100%" cellspacing="5">
<tr align="left">
<td width="20%" class="txt" title="Administrator email" nowrap><b>Email:</b></td>
<td><input type="text" title="Administrator email" name="txtOptionsEmail" value="{$txtOptionsEmail}" style="width: 100%"></td>
<td class="copywrite">{$txtOptionsEmailErr}</td>
</tr>
<tr>
<td class="txt" title="Authentication timeout" nowrap><b>Timeout:</b></td>
<td><input type="text" title="Authentication timeout" name="txtOptionsTimeout" value="{$txtOptionsTimeout}" style="width: 100%"></td>
<td class="copywrite">{$txtOptionsTimeoutErr}</td>
</tr>
<tr>
<td class="txt" title="Google Maps™ API key" nowrap><b>Google map™ key</b> <br/><span class="copyright">(<a href="http://code.google.com/apis/maps/signup.html" alt="Click here to sign up for a Google Maps™ API key" target="_blank">signup</a>)</span></td>
<td><input type="text" title="Google Maps™ API key" name="txtGMapAPIKey" value="{$txtGMapAPIKey}" style="width: 100%"></td>
<td class="copywrite">{$txtGMapAPIKeyErr}</td>
</tr>
</table>
</div>
<div align="center">
<input type="hidden" id="cmd" name="cmd" />
<input type="submit" id="myForm" name="saveOptions" title="Save options" value="Save options" onclick="$j('#cmd').val($j(this).attr('name'))" />
</div>
</fieldset>
</form>
<div style="height: 30px"> </div>
<form action="{$URL}" method="post" class="sub-form" id="auth-options" name="auth-options">
<fieldset>
<legend>Authentication options
<a href="javascript:popUp('help/help.html','800','800')" title="Need help?"><img src="{$template}/images/icons/icon-info.png" alt="{$TITLE} Help"></a>
</legend>
{$aerror}
<div>
<table border="0" width="100%" cellspacing="5">
<tr align="left">
<td width="15%" class="txt" title="OpenLDAP/Active Directory domain" nowrap><b>Domain:</b></td>
<td><input type="text" title="OpenLDAP/Active Directory domain" name="txtAuthDomain" value="{$txtAuthDomain}" style="width: 100%"></td>
<td class="copywrite">{$txtAuthDomainErr}</td>
</tr>
<tr>
<td class="txt" title="OpenLDAP/Active Directory server list" nowrap><b>Server(s):</b></td>
<td><input type="text" title="OpenLDAP/Active Directory server list" name="txtAuthServers" value="{$txtAuthServers}" style="width: 100%"></td>
<td class="copywrite">{$txtAuthServersErr}</td>
</tr>
<tr>
<td class="txt" title="OpenLDAP/Active Directory server port" nowrap><b>Port:</b></td>
<td><input type="text" title="OpenLDAP/Active Directory server port" name="txtAuthPort" value="{$txtAuthPort}" style="width: 100%"></td>
<td class="copywrite">{$txtAuthPortErr}</td>
</tr>
<tr>
<td class="txt" title="OpenLDAP/Active Directory username" nowrap><b>Username:</b></td>
<td><input type="text" title="OpenLDAP/Active Directory username" name="txtAuthUsername" value="{$txtAuthUsername}" style="width: 100%"></td>
<td class="copywrite">{$txtAuthUsernameErr}</td>
</tr>
<tr>
<td class="txt" title="OpenLDAP/Active Directory password" nowrap><b>Password:</b></td>
<td><input type="text" title="OpenLDAP/Active Directory password" name="txtAuthPassword" value="{$txtAuthPassword}" style="width: 100%"></td>
<td class="copywrite">{$txtAuthPasswordErr}</td>
</tr>
<tr>
<td class="txt" title="OpenLDAP/Active Directory bind DN" nowrap><b>Bind DN:</b></td>
<td><input type="text" title="OpenLDAP/Active Directory bind DN" name="txtAuthBindDN" value="{$txtAuthBindDN}" style="width: 100%"></td>
<td class="copywrite">{$txtAuthBindDNErr}</td>
</tr>
<tr>
<td class="txt" title="OpenLDAP/Active Directory base DN" nowrap><b>Base DN:</b></td>
<td><input type="text" title="OpenLDAP/Active Directory base DN" name="txtAuthBaseDN" value="{$txtAuthBaseDN}" style="width: 100%"></td>
<td class="copywrite">{$txtAuthBaseDNErr}</td>
</tr>
</table>
</div>
<div align="center">
<input type="hidden" id="cmd" name="cmd" />
<input type="hidden" name="key" value="{$key}" />
<input type="hidden" name="salt" value="{$salt}" />
<input type="submit" id="myForm" name="AuthOptions" title="Save authentication options" value="Save authentication options" onclick="$j('#cmd').val($j(this).attr('name'))" />
</div>
</fieldset>
</form>
<div style="height: 30px"> </div>
<form action="{$URL}" method="post" class="sub-form" id="access-list" name="access-options">
<fieldset>
<legend>Access list
<a href="javascript:popUp('help/help.html','800','800')" title="Need help?"><img src="{$template}/images/icons/icon-info.png" alt="{$TITLE} Help"></a>
</legend>
{$berror}
<div>
<table border="0" width="100%" cellspacing="5">
<tr align="left">
<td colspan="3" class="txt" nowrap>Add list of allowed hosts as well of denied hosts separated by a comma</td>
</tr>
<tr align="left">
<td width="20%" class="txt" title="Access list" nowrap><b>Allow IP/Hostname:</b></td>
<td><textarea name="txtAccessAllow" style="width: 100%">{$txtAccessAllow}</textarea></td>
<td class="copywrite">{$txtAccessAllowErr}</td>
</tr>
<tr align="left">
<td class="txt" title="Access list" nowrap><b>Deny IP/Hostname:</b></td>
<td><textarea name="txtAccessDeny" style="width: 100%">{$txtAccessDeny}</textarea></td>
<td class="copywrite">{$txtAccessDenyErr}</td>
</tr>
</table>
</div>
<div align="center">
<input type="hidden" id="cmd" name="cmd" />
<input type="submit" id="myForm" name="AccessList" title="Save access list options" value="Save access list options" onclick="$j('#cmd').val($j(this).attr('name'))" />
</div>
</fieldset>
</form>
<!-- end manage options template -->