?>
</span>
<script type="text/javascript" src="<?php 
echo smarty_function_sugar_getjspath(array('file' => 'cache/include/javascript/sugar_grp_yui_widgets.js'), $this);
?>
"></script>
<script type="text/javascript" src="<?php 
echo smarty_function_sugar_getjspath(array('file' => 'modules/Emails/javascript/vars.js'), $this);
?>
"></script>
<script type="text/javascript" src="<?php 
echo smarty_function_sugar_getjspath(array('file' => 'cache/include/javascript/sugar_grp_emails.js'), $this);
?>
"></script>
<script type="text/javascript" src="<?php 
echo smarty_function_sugar_getjspath(array('file' => 'modules/Users/User.js'), $this);
?>
"></script>

<div class="dashletPanelMenu wizard">

<div class="bd">
		
		
<div id="welcome" class="screen">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td>
            <div class="edit view">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU Affero General Public License version 3.
* 
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
* technical reasons, the Appropriate Legal Notices must display the words
* "Powered by SugarCRM".
********************************************************************************/
-->
<script type='text/javascript' src='<?php 
echo smarty_function_sugar_getjspath(array('file' => 'modules/Users/DetailView.js'), $this);
?>
'></script>
<script type="text/javascript" src="<?php 
echo smarty_function_sugar_getjspath(array('file' => 'cache/include/javascript/sugar_grp_yui_widgets.js'), $this);
?>
"></script>
<script type='text/javascript'>
var LBL_NEW_USER_PASSWORD = '******'MOD']['LBL_NEW_USER_PASSWORD_2'];
?>
';
<?php 
if (!empty($this->_tpl_vars['ERRORS'])) {
    echo '
YAHOO.SUGAR.MessageBox.show({title: \'';
    echo $this->_tpl_vars['ERROR_MESSAGE'];
    echo '\', msg: \'';
    echo $this->_tpl_vars['ERRORS'];
    echo '\'} );
		primary_address = new SUGAR.AddressField("primary_checkbox",'', 'primary');
	});
</script>
<?php 
echo smarty_function_counter(array('name' => 'fieldsUsed'), $this);
?>


<td valign="top" width='37.5%' colspan='2'>
<?php 
echo smarty_function_counter(array('name' => 'panelFieldCount'), $this);
?>


<script type="text/javascript" src='<?php 
echo smarty_function_sugar_getjspath(array('file' => "include/SugarFields/Fields/Address/SugarFieldAddress.js"), $this);
?>
'></script>
<fieldset id='alt_address_fieldset'>
<legend><?php 
echo smarty_function_sugar_translate(array('label' => 'LBL_ALT_ADDRESS', 'module' => ''), $this);
?>
</legend>
<table border="0" cellspacing="1" cellpadding="0" class="edit" width="100%">
<tr>
<td id="alt_address_street_label" width='%' scope='row' >
<label for="alt_address_street"><?php 
echo smarty_function_sugar_translate(array('label' => 'LBL_ALT_ADDRESS_STREET', 'module' => ''), $this);
?>
:</label>
</td>
<?php

/* Smarty version 2.6.11, created on 2015-08-26 23:06:34
   compiled from include/ListView/ListViewGeneric.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'sugar_getjspath', 'include/ListView/ListViewGeneric.tpl', 43, false), array('function', 'counter', 'include/ListView/ListViewGeneric.tpl', 125, false), array('function', 'sugar_translate', 'include/ListView/ListViewGeneric.tpl', 139, false), array('function', 'sugar_getimage', 'include/ListView/ListViewGeneric.tpl', 145, false), array('function', 'sugar_ajax_url', 'include/ListView/ListViewGeneric.tpl', 213, false), array('function', 'sugar_evalcolumn_old', 'include/ListView/ListViewGeneric.tpl', 216, false), array('function', 'sugar_field', 'include/ListView/ListViewGeneric.tpl', 218, false), array('modifier', 'replace', 'include/ListView/ListViewGeneric.tpl', 78, false), array('modifier', 'default', 'include/ListView/ListViewGeneric.tpl', 128, false), array('modifier', 'lower', 'include/ListView/ListViewGeneric.tpl', 131, false), array('modifier', 'upper', 'include/ListView/ListViewGeneric.tpl', 134, false))), $this);
?>

<script type='text/javascript' src='<?php 
echo smarty_function_sugar_getjspath(array('file' => 'include/javascript/popup_helper.js'), $this);
?>
'></script>


<script>
<?php 
echo '
	$(document).ready(function(){
	    $("ul.clickMenu").each(function(index, node){
	  		$(node).sugarActionMenu();
	  	});

        $(\'.selectActionsDisabled\').children().each(function(index) {
            $(this).attr(\'onclick\',\'\').unbind(\'click\');
        });
        
        var selectedTopValue = $("#selectCountTop").attr("value");
        if(typeof(selectedTopValue) != "undefined" && selectedTopValue != "0"){
        	sugarListView.prototype.toggleSelected();
        }
	});
';
var ERR_REENTER_PASSWORDS = '<?php 
echo $this->_tpl_vars['MOD']['ERR_REENTER_PASSWORDS'];
?>
';
</script>
<script type='text/javascript' src='<?php 
echo smarty_function_sugar_getjspath(array('file' => 'modules/Users/User.js'), $this);
?>
'></script>
<script type='text/javascript' src='<?php 
echo smarty_function_sugar_getjspath(array('file' => 'modules/Users/UserEditView.js'), $this);
?>
'></script>
<script type='text/javascript' src='<?php 
echo smarty_function_sugar_getjspath(array('file' => 'modules/Users/PasswordRequirementBox.js'), $this);
?>
'></script>
<?php 
echo $this->_tpl_vars['ERROR_STRING'];
?>

<!-- This is here for the external API forms -->
<form name="DetailView" id="DetailView" method="POST" action="index.php">
<input type="hidden" name="record" id="record" value="<?php 
echo $this->_tpl_vars['ID'];
?>
">
<input type="hidden" name="module" value="Users">
<input type="hidden" name="return_module" value="Users">
<input type="hidden" name="return_id" value="<?php 
echo '\';
        SUGAR.themes.show_image      = \'';
echo smarty_function_sugar_getimagepath(array('file' => "show.gif"), $this);
echo '\';
        SUGAR.themes.loading_image   = \'';
echo smarty_function_sugar_getimagepath(array('file' => "img_loading.gif"), $this);
echo '\';
        SUGAR.themes.allThemes       = eval(';
echo $this->_tpl_vars['allThemes'];
echo ');
        if ( YAHOO.env.ua )
            UA = YAHOO.env.ua;
        -->
    </script>
    ';
?>

    <?php 
echo $this->_tpl_vars['SUGAR_CSS'];
?>

    <link rel="stylesheet" type="text/css" href="themes/SuiteR/css/colourSelector.php">
    <script type="text/javascript" src='<?php 
echo smarty_function_sugar_getjspath(array('file' => "themes/SuiteR/js/jscolor.js"), $this);
?>
'></script>
    <script type="text/javascript" src='<?php 
echo smarty_function_sugar_getjspath(array('file' => "cache/include/javascript/sugar_field_grp.js"), $this);
?>
'></script>
</head>
?>
"<?php 
echo smarty_function_sugar_getjspath(array('file' => 'include/MySugar/javascript/MySugar.js'), $this);
?>
"<?php 
echo ',
	varName: "initMySugar",
	requires: []
});
mySugarLoader.addModule({
	name :"sugar_charts",
	type : "js",
	fullpath: ';
?>
"<?php 
echo smarty_function_sugar_getjspath(array('file' => "include/SugarCharts/Jit/js/mySugarCharts.js"), $this);
?>
"<?php 
echo ',
	varName: "initmySugarCharts",
	requires: []
});
mySugarLoader.insert();
';
?>

</script>



<?php

/* Smarty version 2.6.29, created on 2016-02-03 01:53:02
   compiled from modules/Calendar/tpls/main.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'sugar_getjspath', 'modules/Calendar/tpls/main.tpl', 41, false), array('function', 'sugar_getscript', 'modules/Calendar/tpls/main.tpl', 42, false), array('function', 'counter', 'modules/Calendar/tpls/main.tpl', 101, false))), $this);
?>
<link type="text/css" href="<?php 
echo smarty_function_sugar_getjspath(array('file' => "modules/Calendar/Cal.css"), $this);
?>
" rel="stylesheet" />
<?php 
echo smarty_function_sugar_getscript(array('file' => "modules/Calendar/Cal.js"), $this);
?>

<script type="text/javascript">

	<?php 
echo '
	YAHOO.util.Event.onDOMReady(function(){
		dom_loaded = true;
	});
	
	function check_cal_loaded(){
		return (typeof cal_loaded != \'undefined\' && cal_loaded == true && typeof dom_loaded != \'undefined\' && dom_loaded == true);
	}
	';
?>

	
	SUGAR.util.doWhen(check_cal_loaded, function()<?php 
<?php

/* Smarty version 2.6.11, created on 2014-12-17 22:55:28
   compiled from modules/Administration/templates/ConfigureTabs.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'sugar_getjspath', 'modules/Administration/templates/ConfigureTabs.tpl', 41, false), array('function', 'sugar_help', 'modules/Administration/templates/ConfigureTabs.tpl', 72, false), array('function', 'sugar_translate', 'modules/Administration/templates/ConfigureTabs.tpl', 116, false))), $this);
?>
<link rel="stylesheet" type="text/css" href="<?php 
echo smarty_function_sugar_getjspath(array('file' => 'modules/Connectors/tpls/tabs.css'), $this);
?>
"/>
<script type="text/javascript" src="cache/include/javascript/sugar_grp_yui_widgets.js"></script>

<form name="ConfigureTabs" method="POST"  method="POST" action="index.php">
<input type="hidden" name="module" value="Administration">
<input type="hidden" name="action" value="SaveTabs">
<input type="hidden" id="enabled_tabs" name="enabled_tabs" value="">
<input type="hidden" id="disabled_tabs" name="disabled_tabs" value="">
<input type="hidden" name="return_module" value="<?php 
echo $this->_tpl_vars['RETURN_MODULE'];
?>
">
<input type="hidden" name="return_action" value="<?php 
echo $this->_tpl_vars['RETURN_ACTION'];
?>
">

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td colspan='100'><h2><?php 
echo $this->_tpl_vars['title'];
?>
_time_section"></div>
</td>
</tr>
</table>
<input type="hidden" class="DateTimeCombo" id="<?php 
echo $this->_tpl_vars['fields']['date_start']['name'];
?>
" name="<?php 
echo $this->_tpl_vars['fields']['date_start']['name'];
?>
" value="<?php 
echo $this->_tpl_vars['fields'][$this->_tpl_vars['fields']['date_start']['name']]['value'];
?>
">
<script type="text/javascript" src="<?php 
echo smarty_function_sugar_getjspath(array('file' => "include/SugarFields/Fields/Datetimecombo/Datetimecombo.js"), $this);
?>
"></script>
<script type="text/javascript">
var combo_<?php 
echo $this->_tpl_vars['fields']['date_start']['name'];
?>
 = new Datetimecombo("<?php 
echo $this->_tpl_vars['fields'][$this->_tpl_vars['fields']['date_start']['name']]['value'];
?>
", "<?php 
echo $this->_tpl_vars['fields']['date_start']['name'];
?>
", "<?php 
echo $this->_tpl_vars['TIME_FORMAT'];
?>
<script type="text/javascript" src='<?php 
echo smarty_function_sugar_getjspath(array('file' => 'modules/ModuleBuilder/javascript/studiotabgroups.js'), $this);
?>
'></script>
<script type="text/javascript" src='<?php 
echo smarty_function_sugar_getjspath(array('file' => 'modules/ModuleBuilder/javascript/studio2ListDD.js'), $this);
?>
' ></script>

<!--end ModuleBuilder Assistant!-->
<script type="text/javascript" language="Javascript" src='<?php 
echo smarty_function_sugar_getjspath(array('file' => 'modules/ModuleBuilder/javascript/ModuleBuilder.js'), $this);
?>
'></script>
<script type="text/javascript" language="Javascript" src='<?php 
echo smarty_function_sugar_getjspath(array('file' => 'modules/ModuleBuilder/javascript/SimpleList.js'), $this);
?>
'></script>
<script type="text/javascript" src='<?php 
echo smarty_function_sugar_getjspath(array('file' => 'modules/ModuleBuilder/javascript/JSTransaction.js'), $this);
?>
' ></script>
<script type="text/javascript" src='<?php 
echo smarty_function_sugar_getjspath(array('file' => 'include/javascript/tiny_mce/tiny_mce.js'), $this);
?>
' ></script>

<link rel="stylesheet" type="text/css" href="<?php 
echo smarty_function_sugar_getjspath(array('file' => "modules/ModuleBuilder/tpls/MB.css"), $this);
?>
" />
	var jstransaction = new JSTransaction();
</script>
<script type="text/javascript" src="<?php 
echo smarty_function_sugar_getjspath(array('file' => 'modules/Studio/studiotabgroups.js'), $this);
?>
"></script>
<script type="text/javascript" src="<?php 
echo smarty_function_sugar_getjspath(array('file' => 'modules/Studio/ygDDListStudio.js'), $this);
?>
"></script>
<script type="text/javascript" src="<?php 
echo smarty_function_sugar_getjspath(array('file' => 'modules/Studio/studiodd.js'), $this);
?>
" ></script>
<script type="text/javascript" src="<?php 
echo smarty_function_sugar_getjspath(array('file' => 'modules/Studio/studio.js'), $this);
?>
" ></script>
<?php 
echo '
<style type=\'text/css\'>
.slot {
	border-width:1px;border-color:#999999;border-style:solid;padding:0px 1px 0px 1px;margin:2px;cursor:move;

}


.slotSub {
	border-width:1px;border-color:#006600;border-style:solid;padding:0px 1px 0px 1px;margin:2px;cursor:move;

}
<!--not_in_theme!--><img id="dswidget_img" border="0" src="modules/Connectors/connectors/formatters/ext/rest/linkedin/tpls/linkedin.gif" alt="ext_rest_linkedin" onclick="show_ext_rest_linkedin(event);"><script type='text/javascript' src='<?php 
        echo smarty_function_sugar_getjspath(array('file' => 'include/connectors/formatters/default/company_detail.js'), $this);
        ?>
'></script>
<script src="<?php 
        if ($_SERVER['HTTPS'] === 'on') {
            ?>
index.php?entryPoint=get_url&type=linkedin<?php 
        } else {
            ?>
http://www.linkedin.com/companyInsider?script&useBorder=no<?php 
        }
        ?>
" type="text/javascript"></script>
<script type="text/javascript" src="<?php 
        echo smarty_function_sugar_getjspath(array('file' => 'include/connectors/formatters/default/company_detail.js'), $this);
        ?>
"></script>
<?php 
        echo '
<style type="text/css">
.yui-panel .hd {
background-color:#3D77CB;
border-color:#FFFFFF #FFFFFF #000000;
border-style:solid;
border-width:1px;
color:#000000;
font-size:100%;
font-weight:bold;
line-height:100%;
padding:4px;
<?php

/* Smarty version 2.6.11, created on 2014-12-27 20:18:58
   compiled from modules/ACLRoles/EditAllBody.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'sugar_getjspath', 'modules/ACLRoles/EditAllBody.tpl', 39, false), array('function', 'html_options', 'modules/ACLRoles/EditAllBody.tpl', 93, false))), $this);
?>
<script type="text/javascript" src='<?php 
echo smarty_function_sugar_getjspath(array('file' => 'include/javascript/yui/build/selector/selector-min.js'), $this);
?>
'></script>
<script language="Javascript" type="text/javascript">
<?php 
echo '
function cascadeAccessOption(action,selectEle) {
	var accessOption = selectEle.options[selectEle.selectedIndex].value;
	var accessLabel = selectEle.options[selectEle.selectedIndex].text;
	var nodes = YAHOO.util.Selector.query(\'.\'+action);
	var selectId = \'\';
	for(i=0; i < nodes.length; i++) {
		selectId = nodes[i].id.substring(8);
//alert(\'selectId: \'+selectId);
		nodes[i].value = accessOption;
		var roleCell = document.getElementById(selectId+\'link\');
		if(roleCell != undefined) {
			roleCell.innerHTML = accessLabel;
		}		
	}
}
';
?>
?>

<script type="text/javascript" src='<?php 
echo smarty_function_sugar_getjspath(array('file' => "cache/include/javascript/sugar_field_grp.js"), $this);
?>
'></script>
<script type="text/javascript" src='<?php 
echo smarty_function_sugar_getjspath(array('file' => "custom/themes/default/js/jquery.nicescroll.js"), $this);
?>
'></script>
<script type="text/javascript" src='<?php 
echo smarty_function_sugar_getjspath(array('file' => "custom/themes/default/js/jquery.nicescroll.js"), $this);
?>
'></script>
<script type='text/javascript' src='<?php 
echo smarty_function_sugar_getjspath(array('file' => "custom/opalo/vendors/angular-datatables/vendor/datatables/media/js/jquery.dataTables.min.js"), $this);
?>
'></script>
<?php 
echo '
<script type="text/javascript">
$(document).ready(function () {
	$("#menu-wrap").niceScroll({
    cursorcolor: "#0B578F",
    cursorborder: "0px solid #fff",
    cursorborderradius: "0px",
    cursorwidth: "0px"
  });
  $("#menu-wrap").getNiceScroll().resize();
  $("#menu-wrap").getNiceScroll().show();