<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<inp2:m_CheckSSL mode="required" condition="Require_AdminSSL" />
<inp2:m_CheckSSL/>
<inp2:m_DefaultParam body_properties=""/>
<html>
<head>
<title><inp2:m_GetConfig var="Site_Name"/> - <inp2:m_Phrase label="la_AdministrativeConsole"/></title>

<meta http-equiv="content-type" content="text/html; charset=<inp2:lang_GetCharset/>"/>
<meta name="keywords" content="..."/>
<meta name="description" content="..."/>
<meta name="robots" content="all"/>
<meta name="copyright" content="In-Portal CMS, Copyright &#174; 2011"/>
<meta name="author" content="Intechnic Inc."/>

<inp2:m_base_ref/>

<link rel="icon" href="<inp2:m_BaseURL/>favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="<inp2:m_BaseURL/>favicon.ico" type="image/x-icon" />

<inp2:adm_AdminSkin file_only="1" result_to_var="skin_css"/>
<link rel="stylesheet" href="<inp2:m_Compress files='
	js/jquery/thickbox/thickbox.css|
	js/calendar/calendar-blue.css|
	$skin_css
'/>" type="text/css" media="screen" />

<script type="text/javascript" src="js/jquery/jquery.pack.js"></script>
<script type="text/javascript" src="js/jquery/jquery-ui.custom.min.js"></script>

<script type="text/javascript" src="<inp2:m_Compress files='
	js/is.js|
	js/ajax.js|
	js/application.js|
	js/script.js|
	js/in-portal.js|
	js/toolbar.js|
	js/grid.js|
	js/grid_filters.js|
	js/simple_grid.js|
	js/grid_scroller.js|
	js/forms.js|
	js/drag.js|
	js/ajax_dropdown.js|
	js/form_controls.js|
	js/jquery/thickbox/thickbox.js|
	js/tab_scroller.js|
	js/calendar/calendar.js|
	js/calendar/calendar-setup.js|
	js/calendar/calendar-en.js
'/>"></script>

<script type="text/javascript">
TB.pathToImage = 'js/jquery/thickbox/loadingAnimation.gif';
var t = '<inp2:m_get param="t"/>';
var popups = '1';
var $use_popups = <inp2:m_if check="adm_UsePopups">true<inp2:m_else/>false</inp2:m_if>;
var $modal_windows = <inp2:m_if check="adm_UsePopups" mode="modal">true<inp2:m_else/>false</inp2:m_if>;
var multiple_windows = '1';
var main_title = '<inp2:m_GetConfig var="Site_Name" escape="1"/>';
var tpl_changed = 0;
var base_url = '<inp2:m_BaseURL/>';
var $base_path = '<inp2:m_GetConst name="BASE_PATH"/>';
var img_path = '<inp2:m_TemplatesBase module="#MODULE#"/>/img/';

var phrases = {
	'la_Delete_Confirm' : '<inp2:m_Phrase label="la_Delete_Confirm" js_escape="1"/>'
}

NumberFormatter.ThousandsSep = '<inp2:lang.current_Field name="ThousandSep" js_escape="1"/>';
NumberFormatter.DecimalSep = '<inp2:lang.current_Field name="DecimalPoint" js_escape="1"/>';

<inp2:m_if check="m_GetEquals" name="m_wid" value="" inverse="inverse">
	if (!window.name.match(/_<inp2:m_get name="m_wid"/>$/)) {
		window.name += '_<inp2:m_get name="m_wid"/>'; // change window name only once per window

		if ($modal_windows) {
			getFrame('main').TB.setWindowMetaData('window_name', window.name); // used to simulate window.opener functionality
		}
	}
</inp2:m_if>

var $use_toolbarlabels = <inp2:m_if check="adm_UseToolbarLabels">true<inp2:m_else/>false</inp2:m_if>;
</script>

<inp2:m_if check="m_get" var="m_wid">
<style type="text/css">
	.tableborder {
		border: none;
	}
	.toolbar {
		border-right: none;
		border-left: none;
	}
	.tableborder_full {
		border-right: none;
		border-left: none;
	}
</style>
</inp2:m_if>

<inp2:m_ifnot check="adm_UsePopups">
	<style type="text/css">
		table.edit-form {
			border: 1px solid black;
		}
	</style>
</inp2:m_ifnot>

</head>

<inp2:m_include t="incs/blocks"/>
<inp2:m_include t="incs/in-portal"/>

<inp2:m_if check="m_ParamEquals" name="nobody" value="yes" inverse="inverse">
	<body class="<inp2:m_if check="m_get" var="m_wid">edit-popup<inp2:m_else/>regular-body</inp2:m_if>" <inp2:m_param name="body_properties"/>>
</inp2:m_if>

<inp2:m_if check="m_ParamEquals" name="noform" value="yes" inverse="inverse">
	<inp2:m_RenderElement name="kernel_form"/>
</inp2:m_if>