home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 100
/
FreelogNo100-NovembreDecembre2010.iso
/
Internet
/
CerberusFTP
/
CerberusInstall.exe
/
CerberusInstall.msi
/
_543CA5F1DEE95C1195D97E328E187BF8
/
_CD16B94630034CE194C5D3682D638AE9
< prev
next >
Wrap
Text File
|
2010-09-10
|
5KB
|
122 lines
{{%AUTOESCAPE context="HTML"}}
<div id="tabs">
<ul>
<li><a href="#tabs-1">Users</a></li>
<li><a href="#tabs-2">Groups</a></li>
</ul>
<div id="tabs-1">
<div class="caption">Cerberus Native Users</div>
<form method="get" action="/usermanager/getuser">
<fieldset title="User List">
<legend align="left">User List</legend>
<table id="userList" class="display" cellSpacing="0" cellPadding="3" width="90%" border="0">
<thead>
<tr class="tablerowlight">
<th></th>
<th>Name</th>
<th>Group</th>
<th>Anon</th>
<th>Simple Dir</th>
<th>Disabled</th>
<th>Max Logins</th>
<th>Secure Control</th>
<th>Secure Data</th>
</tr>
</thead>
<tbody>
{{#USER_LIST}}
<tr>
<td><input type="radio" name="SelectedUser" value="{{USER_NAME}}" {{USER_NAME_SELECTED:none}} /></td>
<td>{{USER_NAME}}</td>
<td><input type="text" readonly="readonly" maxlength="10" size="10" value="{{USER_GROUP}}" /></td>
<td><input type="checkbox" disabled="disabled" {{USER_IS_ANONYMOUS:none}} /></td>
<td><input type="checkbox" disabled="disabled" {{USER_IS_SIMPLEDIR:none}} /></td>
<td><input type="checkbox" disabled="disabled" {{USER_IS_DISABLED:none}} /></td>
<td><input type="text" readonly="readonly" maxlength="5" size="5"value="{{USER_MAX_LOGINS}}" /></td>
<td><input type="checkbox" disabled="disabled" {{USER_REQ_SEC_CONTROL:none}} /></td>
<td><input type="checkbox" disabled="disabled" {{USER_REQ_SEC_DATA:none}} /></td>
</tr>
{{/USER_LIST}}
</tbody>
<tfoot>
</tfoot>
</table>
<div class="form_button_panel">
<input type="submit" name="Submit" value="Select" />
or
<input type="submit" name="Submit" value="New" />
</div>
<div style="clear:both;"></div>
</fieldset>
</form>
{{>USER_DETAILS_TEMPLATE}}
</div>
<div id="tabs-2">
<div class="caption">Cerberus Native Groups</div>
<p>Under Construction</p>
<p> </p>
</div>
</div>
<script type="text/javascript">
<!--
$(function(){
// Tabs
$('#tabs').tabs();
});
var oTable;
$(document).ready(function() {
oTable = $('#userList').dataTable( {
"bJQueryUI": true,
"sPaginationType": "full_numbers"
} );
/* Add a click handler to the rows - this could be used as a callback */
$("#userList tbody").click(function(event) {
$(oTable.fnSettings().aoData).each(function (){
$(this.nTr).removeClass('row_selected');
});
$(event.target.parentNode).addClass('row_selected');
$(event.target.parentNode).find("input[name=SelectedUser]").each(function(i) {
$(this).attr('checked', true);
});
});
} );
/* Get the rows which are currently selected */
function fnGetSelected( oTableLocal )
{
var aReturn = new Array();
var aTrs = oTableLocal.fnGetNodes();
for ( var i=0 ; i<aTrs.length ; i++ )
{
if ( $(aTrs[i]).hasClass('row_selected') )
{
aReturn.push( aTrs[i] );
}
}
return aReturn;
}
//-->
</script>