{extends file="layout.html"}
{block name=title}LMS: {$layout.pagetitle|striphtml}{/block}
{block name=module_content}
<!--// $Id$ //-->
{$xajax}
<H1>{$layout.pagetitle}</H1>
<div id="nodeedit-sortable" class="lms-ui-sortable-persistent">
{block name="nodeeditbox"}
	{include file="node/nodeeditbox.html"}
{/block}
{block name="nodesessions"}
	{include file="node/nodesessions.html"}
{/block}
{block name="nodeassignments"}
	{include file="customer/customerassignments.html" label=trans("Node Liabilities") assignments=$nodeassignments[$nodeinfo.id] tab_id="nodeassignments" content_id="nodeassignmentpanel"}
{/block}
{block name="managementurls"}
	{include file="managementurl/managementurls.html"}
{/block}
{block name="nodegroups"}
	{include file="node/nodegroups.html"}
{/block}
{block name="nodelocks"}
	{include file="node/nodelocks.html"}
{/block}
{block name="customerinfobox"}
	{include file="customer/customerinfobox.html" customerpanel=1}
{/block}
{block name="customernotes"}
	{include file="customer/customernotes.html" limit=10}
{/block}
{block name="customernodesbox"}
	{include file="customer/customernodesbox.html"}
{/block}
{block name="customernetworksbox"}
	{include file="customer/customernetworksbox.html"}
{/block}
{block name="routednetworks"}
	{include file="node/routednetworks.html"}
{/block}
{block name="transactions"}
	{if ConfigHelper::checkConfig('logs.enabled') && (ConfigHelper::checkConfig('privileges.superuser') || ConfigHelper::checkConfig('privileges.transaction_logs'))}
		{include file="transactions.html"}
	{/if}
{/block}
{block name="customervoipaccountsbox"}
	{include file="customer/customervoipaccountsbox.html"}
{/block}
{block name="customerdevices"}
	{include file="customer/customerdevices.html"}
{/block}
{block name="customercallbox"}
	{if ConfigHelper::checkPrivilege('readonly')
		|| ConfigHelper::checkPrivilege('customer_call_view')
		|| ConfigHelper::checkPrivilege('customer_call_management')}
		{include file="customer/customercallbox.html" limit=ConfigHelper::getConfig('phpui.customer_call_limit', 20)}
	{/if}
{/block}
{block name="customerdocuments"}
	{include file="customer/customerdocuments.html" limit=10}
{/block}
{block name="customermessages"}
	{if ConfigHelper::checkPrivileges('messaging', 'messaging_view')}
		{include file="customer/customermessages.html" limit=10}
	{/if}
{/block}
{block name="customerevents"}
	{include file="customer/customerevents.html" limit=ConfigHelper::getConfig('timetable.customer_event_limit', ConfigHelper::getConfig('customers.event_limit', ConfigHelper::getConfig('phpui.customer_event_limit', 10)))}
{/block}
{block name="customergroups"}
	{include file="customer/customergroups.html"}
{/block}
{block name="customerassignments"}
	{include file="customer/customerassignments.html"}
{/block}
{block name="customerbalancebox"}
	{if (ConfigHelper::checkPrivilege('read_only') || ConfigHelper::checkPrivilege('finances_view') || ConfigHelper::checkPrivilege('financial_operations') || ConfigHelper::checkPrivilege('finances_management'))
		&& !ConfigHelper::checkPrivilege('hide_finances')}
		{include file="customer/customerbalancebox.html" limit=intval(ConfigHelper::getConfig('customers.financial_operation_list_default_limit', 10)) * -1}
	{/if}
{/block}
</div>
<script>

	restoreSortable('nodeedit-sortable', '{$nodeedit_sortable_order}');

</script>

{resource_tab_selector}

{/block}
