|
|
ef5584 |
|
|
|
ef5584 |
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
|
|
|
ef5584 |
<head>
|
|
|
ef5584 |
|
|
|
ef5584 |
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}" />
|
|
|
ef5584 |
<meta http-equiv="Content-Style-Type" content="text/css" />
|
|
|
ef5584 |
<meta http-equiv="Content-Language" content="{S_USER_LANG}" />
|
|
|
ef5584 |
<meta http-equiv="imagetoolbar" content="no" />
|
|
|
ef5584 |
{META}
|
|
|
ef5584 |
<title>{PAGE_TITLE}</title>
|
|
|
ef5584 |
|
|
|
ef5584 |
<link href="style/admin.css" rel="stylesheet" type="text/css" media="screen" />
|
|
|
ef5584 |
|
|
|
ef5584 |
<script type="text/javascript">
|
|
|
ef5584 |
//
|
|
|
ef5584 |
var jump_page = '{LA_JUMP_PAGE}:';
|
|
|
ef5584 |
var on_page = '{ON_PAGE}';
|
|
|
ef5584 |
var per_page = '{PER_PAGE}';
|
|
|
ef5584 |
var base_url = '{A_BASE_URL}';
|
|
|
ef5584 |
|
|
|
ef5584 |
/**
|
|
|
ef5584 |
* Window popup
|
|
|
ef5584 |
*/
|
|
|
ef5584 |
function popup(url, width, height, name)
|
|
|
ef5584 |
{
|
|
|
ef5584 |
if (!name)
|
|
|
ef5584 |
{
|
|
|
ef5584 |
name = '_popup';
|
|
|
ef5584 |
}
|
|
|
ef5584 |
|
|
|
ef5584 |
window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes, width=' + width);
|
|
|
ef5584 |
return false;
|
|
|
ef5584 |
}
|
|
|
ef5584 |
|
|
|
ef5584 |
/**
|
|
|
ef5584 |
* Jump to page
|
|
|
ef5584 |
*/
|
|
|
ef5584 |
function jumpto()
|
|
|
ef5584 |
{
|
|
|
ef5584 |
var page = prompt(jump_page, on_page);
|
|
|
ef5584 |
|
|
|
ef5584 |
if (page !== null && !isNaN(page) && page > 0)
|
|
|
ef5584 |
{
|
|
|
ef5584 |
document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page);
|
|
|
ef5584 |
}
|
|
|
ef5584 |
}
|
|
|
ef5584 |
|
|
|
ef5584 |
/**
|
|
|
ef5584 |
* Set display of page element
|
|
|
ef5584 |
* s[-1,0,1] = hide,toggle display,show
|
|
|
ef5584 |
*/
|
|
|
ef5584 |
function dE(n, s, type)
|
|
|
ef5584 |
{
|
|
|
ef5584 |
if (!type)
|
|
|
ef5584 |
{
|
|
|
ef5584 |
type = 'block';
|
|
|
ef5584 |
}
|
|
|
ef5584 |
|
|
|
ef5584 |
var e = document.getElementById(n);
|
|
|
ef5584 |
if (!s)
|
|
|
ef5584 |
{
|
|
|
ef5584 |
s = (e.style.display == '') ? -1 : 1;
|
|
|
ef5584 |
}
|
|
|
ef5584 |
e.style.display = (s == 1) ? type : 'none';
|
|
|
ef5584 |
}
|
|
|
ef5584 |
|
|
|
ef5584 |
/**
|
|
|
ef5584 |
* Mark/unmark checkboxes
|
|
|
ef5584 |
* id = ID of parent container, name = name prefix, state = state [true/false]
|
|
|
ef5584 |
*/
|
|
|
ef5584 |
function marklist(id, name, state)
|
|
|
ef5584 |
{
|
|
|
ef5584 |
var parent = document.getElementById(id);
|
|
|
ef5584 |
if (!parent)
|
|
|
ef5584 |
{
|
|
|
ef5584 |
return;
|
|
|
ef5584 |
}
|
|
|
ef5584 |
|
|
|
ef5584 |
var rb = parent.getElementsByTagName('input');
|
|
|
ef5584 |
|
|
|
ef5584 |
for (var r = 0; r < rb.length; r++)
|
|
|
ef5584 |
{
|
|
|
ef5584 |
if (rb[r].name.substr(0, name.length) == name)
|
|
|
ef5584 |
{
|
|
|
ef5584 |
rb[r].checked = state;
|
|
|
ef5584 |
}
|
|
|
ef5584 |
}
|
|
|
ef5584 |
}
|
|
|
ef5584 |
|
|
|
ef5584 |
/**
|
|
|
ef5584 |
* Find a member
|
|
|
ef5584 |
*/
|
|
|
ef5584 |
function find_username(url)
|
|
|
ef5584 |
{
|
|
|
ef5584 |
popup(url, 760, 570, '_usersearch');
|
|
|
ef5584 |
return false;
|
|
|
ef5584 |
}
|
|
|
ef5584 |
|
|
|
ef5584 |
// ]]>
|
|
|
ef5584 |
</script>
|
|
|
ef5584 |
</head>
|
|
|
ef5584 |
|
|
|
ef5584 |
<body class="{S_CONTENT_DIRECTION}">
|
|
|
ef5584 |
|
|
|
ef5584 |
|