<?php if ($_valid && !is_callable('content_53720a894156d')) {function content_53720a894156d($_smarty_tpl) {?>
<br>
<center>
	<footer class="noprint">
		<div class="vtFooter">
			<p>
				<?php echo vtranslate('POWEREDBY');?>
 <?php echo $_smarty_tpl->tpl_vars['VTIGER_VERSION']->value;?>
 &nbsp;
				&copy; 2004 - <?php echo date('Y');?>
&nbsp&nbsp;
				<a href="//www.vtiger.com" target="_blank">vtiger.com</a>
				&nbsp;|&nbsp;
				<a href="#" onclick="window.open('../copyright.html','copyright', 'height=115,width=575').moveTo(210,620)"><?php echo vtranslate('LBL_READ_LICENSE');?>
</a>
				&nbsp;|&nbsp;
				<a href="https://www.vtiger.com/crm/privacy-policy" target="_blank"><?php echo vtranslate('LBL_PRIVACY_POLICY');?>
</a>
			</p>
		</div>
	</footer>
</center>
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('JSResources.tpl'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

</div>
<?php }} ?>
    function content_5523e2107134d($_smarty_tpl)
    {
        echo $_smarty_tpl->getSubTemplate(vtemplate_path("Header.tpl", $_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        echo $_smarty_tpl->getSubTemplate(vtemplate_path("BasicHeader.tpl", $_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
<div class="bodyContents"><div class="mainContainer row-fluid"><?php 
        $_smarty_tpl->tpl_vars['LEFTPANELHIDE'] = new Smarty_variable($_smarty_tpl->tpl_vars['CURRENT_USER_MODEL']->value->get('leftpanelhide'), null, 0);
        ?>
<div class="span2 row-fluid <?php 
        if ($_smarty_tpl->tpl_vars['LEFTPANELHIDE']->value == '1') {
            ?>
 hide <?php 
        }
        ?>
" id="leftPanel"><?php 
        echo $_smarty_tpl->getSubTemplate(vtemplate_path("ListViewSidebar.tpl", $_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
</div><div class="contentsDiv <?php 
        if ($_smarty_tpl->tpl_vars['LEFTPANELHIDE']->value != '1') {
            ?>
 span10 <?php 
        }
        ?>
marginLeftZero" id="rightPanel"><div><div id="toggleButton" class="toggleButton" title="Left Panel Show/Hide"><i id="tButtonImage" class="<?php 
        if ($_smarty_tpl->tpl_vars['LEFTPANELHIDE']->value != '1') {
            ?>
icon-chevron-left<?php 
        } else {
            ?>
icon-chevron-right<?php 
        }
        ?>
"></i></div>&nbsp<?php 
        echo $_smarty_tpl->getSubTemplate(vtemplate_path("dashboards/DashBoardHeader.tpl", $_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('DASHBOARDHEADER_TITLE' => vtranslate($_smarty_tpl->tpl_vars['MODULE']->value, $_smarty_tpl->tpl_vars['MODULE']->value)), 0);
    }
    function content_567e19d218984($_smarty_tpl)
    {
        ?>
<div id="addFolderContainer" class="modelContainer" style='min-width:350px;'><div class="modal-header"><button data-dismiss="modal" class="close" title="<?php 
        echo vtranslate('LBL_CLOSE');
        ?>
">x</button><h3><?php 
        echo vtranslate('LBL_ADD_NEW_FOLDER', $_smarty_tpl->tpl_vars['MODULE']->value);
        ?>
</h3></div><form class="form-horizontal contentsBackground" id="addFolder" method="post" action="index.php"><input type="hidden" name="module" value="<?php 
        echo $_smarty_tpl->tpl_vars['MODULE']->value;
        ?>
" /><input type="hidden" name="action" value="Folder" /><input type="hidden" name="mode" value="save" /><input type="hidden" name="folderid" value="<?php 
        echo $_smarty_tpl->tpl_vars['FOLDER_MODEL']->value->getId();
        ?>
" /><div class="modal-body"><div class="row-fluid verticalBottomSpacing"><span class="span4"><?php 
        echo vtranslate('LBL_FOLDER_NAME', $_smarty_tpl->tpl_vars['MODULE']->value);
        ?>
<span class="redColor">*</span></span><span class="span7 row-fluid"><input data-validation-engine='validate[required]' id="foldername" name="foldername" class="span12" type="text" value="<?php 
        echo vtranslate($_smarty_tpl->tpl_vars['FOLDER_MODEL']->value->getName(), $_smarty_tpl->tpl_vars['MODULE']->value);
        ?>
"/></span></div><div class="row-fluid"><span class="span4"><?php 
        echo vtranslate('LBL_FOLDER_DESCRIPTION', $_smarty_tpl->tpl_vars['MODULE']->value);
        ?>
</span><span class="span7 row-fluid"><textarea class="span12" name="description" placeholder="<?php 
        echo vtranslate('LBL_WRITE_YOUR_DESCRIPTION_HERE', $_smarty_tpl->tpl_vars['MODULE']->value);
        ?>
"><?php 
        echo vtranslate($_smarty_tpl->tpl_vars['FOLDER_MODEL']->value->getDescription(), $_smarty_tpl->tpl_vars['MODULE']->value);
        ?>
</textarea></span></div></div><?php 
        echo $_smarty_tpl->getSubTemplate(vtemplate_path('ModalFooter.tpl', $_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
</form></div><?php 
    }
    function content_5694a35396fa4($_smarty_tpl)
    {
        echo $_smarty_tpl->getSubTemplate(vtemplate_path("Header.tpl", $_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<?php 
        echo $_smarty_tpl->getSubTemplate(vtemplate_path("BasicHeader.tpl", $_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>


<?php 
        if ($_smarty_tpl->tpl_vars['LOAD_OLD']->value) {
            ?>
<div class="bodyContents"><div class="mainContainer row-fluid"><div class="span12"><iframe id="ui5frame" src="<?php 
            echo $_smarty_tpl->tpl_vars['UI5_URL']->value;
            ?>
" width="100%" height="650px" style="border:0;"></iframe></div><?php 
        } else {
            ?>
<div class="bodyContents"><div class="mainContainer row-fluid"><div class="span2 row-fluid"><div><?php 
            echo $_smarty_tpl->getSubTemplate(vtemplate_path('ConfigSidebar.tpl', $_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
            ?>
</div></div><div class="contentsDiv span10 marginLeftZero"><?php 
        }
    }
    function content_567aff60a7986($_smarty_tpl)
    {
        ?>
<div id="popupPageContainer" class="popupContainer" style="min-height: 600px"><div class="popupContainer padding1per"><div class="row-fluid"><div class="span6"><span><h3><?php 
        echo vtranslate('LBL_ASSIGN_ROLE', "Settings:Roles");
        ?>
</h3></span></div><div class="span6 pull-right"><span class="logo pull-right" style="float: none"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['COMPANY_LOGO']->value->get('imagepath');
        ?>
" title="<?php 
        echo $_smarty_tpl->tpl_vars['COMPANY_LOGO']->value->get('title');
        ?>
" alt="<?php 
        echo $_smarty_tpl->tpl_vars['COMPANY_LOGO']->value->get('alt');
        ?>
"/></div></div><hr></div><div class="popupContainer row-fluid"><div class="clearfix treeView"><ul><li data-role="<?php 
        echo $_smarty_tpl->tpl_vars['ROOT_ROLE']->value->getParentRoleString();
        ?>
" data-roleid="<?php 
        echo $_smarty_tpl->tpl_vars['ROOT_ROLE']->value->getId();
        ?>
"><div><a href="javascript:;" class="btn btn-inverse"><?php 
        echo $_smarty_tpl->tpl_vars['ROOT_ROLE']->value->getName();
        ?>
</a></div><?php 
        $_smarty_tpl->tpl_vars["ROLE"] = new Smarty_variable($_smarty_tpl->tpl_vars['ROOT_ROLE']->value, null, 0);
        echo $_smarty_tpl->getSubTemplate(vtemplate_path("RoleTree.tpl", "Settings:Roles"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
</li></ul></div></div></div><script type="text/javascript">jQuery('body').ready(function(){Settings_Roles_Js.initPopupView()});</script><?php 
    }
<?php if ($_valid && !is_callable('content_56059c186b1a4')) {function content_56059c186b1a4($_smarty_tpl) {?>
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("Header.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("BasicHeader.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<div class="bodyContents"><div class="mainContainer row-fluid"><?php $_smarty_tpl->tpl_vars['LEFTPANELHIDE'] = new Smarty_variable($_smarty_tpl->tpl_vars['CURRENT_USER_MODEL']->value->get('leftpanelhide'), null, 0);?><div class="span2 row-fluid <?php if ($_smarty_tpl->tpl_vars['LEFTPANELHIDE']->value=='1'){?> hide <?php }?>" id="leftPanel" style="min-height:550px;"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ListViewSidebar.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
</div><div class="contentsDiv <?php if ($_smarty_tpl->tpl_vars['LEFTPANELHIDE']->value!='1'){?> span10 <?php }?>marginLeftZero" id="rightPanel" style="min-height:550px;"><div id="toggleButton" class="toggleButton" title="<?php echo vtranslate('LBL_LEFT_PANEL_SHOW_HIDE','Vtiger');?>
"><i id="tButtonImage" class="<?php if ($_smarty_tpl->tpl_vars['LEFTPANELHIDE']->value!='1'){?>icon-chevron-left<?php }else{ ?>icon-chevron-right<?php }?>"></i></div><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ListViewHeader.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php }} ?>
    function content_558c2a3b4060b($_smarty_tpl)
    {
        if (!empty($_smarty_tpl->tpl_vars['CHILD_COMMENTS_MODEL']->value)) {
            ?>
<ul class="liStyleNone"><?php 
            $_smarty_tpl->tpl_vars['COMMENT'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['COMMENT']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['CHILD_COMMENTS_MODEL']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['COMMENT']->key => $_smarty_tpl->tpl_vars['COMMENT']->value) {
                $_smarty_tpl->tpl_vars['COMMENT']->_loop = true;
                ?>
<li class="commentDetails"><?php 
                echo $_smarty_tpl->getSubTemplate(vtemplate_path('CommentThreadList.tpl'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('COMMENT' => $_smarty_tpl->tpl_vars['COMMENT']->value), 0);
                $_smarty_tpl->tpl_vars['CHILD_COMMENTS'] = new Smarty_variable($_smarty_tpl->tpl_vars['COMMENT']->value->getChildComments(), null, 0);
                if (!empty($_smarty_tpl->tpl_vars['CHILD_COMMENTS']->value)) {
                    echo $_smarty_tpl->getSubTemplate(vtemplate_path('CommentsListIteration.tpl'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('CHILD_COMMENTS_MODEL' => $_smarty_tpl->tpl_vars['COMMENT']->value->getChildComments()), 0);
                }
                ?>
</li><?php 
            }
            ?>
</ul><?php 
        }
    }
    function content_555e15825dab9($_smarty_tpl)
    {
        ?>
<div class="recordDetails"><div><label><strong><?php 
        echo vtranslate('LBL_RECORD_SUMMARY', $_smarty_tpl->tpl_vars['MODULE_NAME']->value);
        ?>
</strong></label></div><div class="row-fluid textAlignCenter roundedCorners"><?php 
        $_smarty_tpl->tpl_vars['FIELD_VALUE'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['FIELD_VALUE']->_loop = false;
        $_smarty_tpl->tpl_vars['FIELD_NAME'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['SUMMARY_INFORMATION']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['FIELD_VALUE']->key => $_smarty_tpl->tpl_vars['FIELD_VALUE']->value) {
            $_smarty_tpl->tpl_vars['FIELD_VALUE']->_loop = true;
            $_smarty_tpl->tpl_vars['FIELD_NAME']->value = $_smarty_tpl->tpl_vars['FIELD_VALUE']->key;
            ?>
<span class="shade7 well squeezedWell marginLeftZero span" style='width:100px'><div><label class="font-x-small"><?php 
            echo vtranslate($_smarty_tpl->tpl_vars['FIELD_NAME']->value, $_smarty_tpl->tpl_vars['MODULE_NAME']->value);
            ?>
</label></div><div><label class="font-x-x-large"><?php 
            echo $_smarty_tpl->tpl_vars['FIELD_VALUE']->value;
            ?>
</label></div></span><?php 
        }
        ?>
</div><?php 
        echo $_smarty_tpl->getSubTemplate(vtemplate_path('SummaryViewContents.tpl'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
</div><?php 
    }
    function content_56755e7c23f3c($_smarty_tpl)
    {
        ?>
<div class="detailViewInfo"><table class="table table-bordered equalSplit detailview-table" style="table-layout:fixed"><?php 
        $_smarty_tpl->tpl_vars['FIELD_MODEL'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['FIELD_MODEL']->_loop = false;
        $_smarty_tpl->tpl_vars['FIELD_NAME'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['RECORD_STRUCTURE']->value['TOOLTIP_FIELDS'];
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['smarty']->value['foreach']['fieldsCount']['index'] = -1;
        foreach ($_from as $_smarty_tpl->tpl_vars['FIELD_MODEL']->key => $_smarty_tpl->tpl_vars['FIELD_MODEL']->value) {
            $_smarty_tpl->tpl_vars['FIELD_MODEL']->_loop = true;
            $_smarty_tpl->tpl_vars['FIELD_NAME']->value = $_smarty_tpl->tpl_vars['FIELD_MODEL']->key;
            $_smarty_tpl->tpl_vars['smarty']->value['foreach']['fieldsCount']['index']++;
            if ($_smarty_tpl->getVariable('smarty')->value['foreach']['fieldsCount']['index'] < 7) {
                ?>
<tr><td class="fieldLabel narrowWidthType" nowrap><label class="muted"><?php 
                echo vtranslate($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label'), $_smarty_tpl->tpl_vars['MODULE']->value);
                ?>
</label></td><td class="fieldValue narrowWidthType"><span class="value"><?php 
                echo $_smarty_tpl->getSubTemplate(vtemplate_path($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getDetailViewTemplateName(), $_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('FIELD_MODEL' => $_smarty_tpl->tpl_vars['FIELD_MODEL']->value, 'USER_MODEL' => $_smarty_tpl->tpl_vars['USER_MODEL']->value, 'MODULE' => $_smarty_tpl->tpl_vars['MODULE_NAME']->value, 'RECORD' => $_smarty_tpl->tpl_vars['RECORD']->value), 0);
                ?>
</span></td></tr><?php 
            }
        }
        ?>
</table></div>
<?php 
    }
    function content_56962c9ceece3($_smarty_tpl)
    {
        if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getName() == 'date_start') {
            $_smarty_tpl->tpl_vars['DATE_FIELD'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value, null, 0);
            $_smarty_tpl->tpl_vars['MODULE_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD_STRUCTURE_MODEL']->value->getModule(), null, 0);
            $_smarty_tpl->tpl_vars['TIME_FIELD'] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getField('time_start'), null, 0);
        } elseif ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getName() == 'due_date') {
            $_smarty_tpl->tpl_vars['DATE_FIELD'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value, null, 0);
            $_smarty_tpl->tpl_vars['MODULE_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD_STRUCTURE_MODEL']->value->getModule(), null, 0);
            $_smarty_tpl->tpl_vars['TIME_FIELD'] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getField('time_end'), null, 0);
        }
        $_smarty_tpl->tpl_vars['DATE_TIME_VALUE'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue'), null, 0);
        $_smarty_tpl->tpl_vars['DATE_TIME_COMPONENTS'] = new Smarty_variable(explode(' ', $_smarty_tpl->tpl_vars['DATE_TIME_VALUE']->value), null, 0);
        $_smarty_tpl->tpl_vars['TIME_FIELD'] = new Smarty_variable($_smarty_tpl->tpl_vars['TIME_FIELD']->value->set('fieldvalue', $_smarty_tpl->tpl_vars['DATE_TIME_COMPONENTS']->value[1]), null, 0);
        $_smarty_tpl->tpl_vars['DATE_TIME_CONVERTED_VALUE'] = new Smarty_variable(DateTimeField::convertToUserTimeZone($_smarty_tpl->tpl_vars['DATE_TIME_VALUE']->value)->format('Y-m-d H:i:s'), null, 0);
        $_smarty_tpl->tpl_vars['DATE_TIME_COMPONENTS'] = new Smarty_variable(explode(' ', $_smarty_tpl->tpl_vars['DATE_TIME_CONVERTED_VALUE']->value), null, 0);
        $_smarty_tpl->tpl_vars['DATE_FIELD'] = new Smarty_variable($_smarty_tpl->tpl_vars['DATE_FIELD']->value->set('fieldvalue', $_smarty_tpl->tpl_vars['DATE_TIME_COMPONENTS']->value[0]), null, 0);
        ?>
<div><?php 
        echo $_smarty_tpl->getSubTemplate(vtemplate_path('uitypes/Date.tpl', $_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('BLOCK_FIELDS' => $_smarty_tpl->tpl_vars['BLOCK_FIELDS']->value, 'FIELD_MODEL' => $_smarty_tpl->tpl_vars['DATE_FIELD']->value), 0);
        ?>
</div><div><?php 
        echo $_smarty_tpl->getSubTemplate(vtemplate_path('uitypes/Time.tpl', $_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('BLOCK_FIELDS' => $_smarty_tpl->tpl_vars['BLOCK_FIELDS']->value, 'FIELD_MODEL' => $_smarty_tpl->tpl_vars['TIME_FIELD']->value), 0);
        ?>
</div><?php 
    }
    function content_567d6cfb17c55($_smarty_tpl)
    {
        ?>

<?php 
        $_smarty_tpl->tpl_vars["_DefaultLoginTemplate"] = new Smarty_variable(vtemplate_path('Login.Default.tpl', 'Users'), null, 0);
        $_smarty_tpl->tpl_vars["_CustomLoginTemplate"] = new Smarty_variable(vtemplate_path('Login.Custom.tpl', 'Users'), null, 0);
        $_smarty_tpl->tpl_vars["_CustomLoginTemplateFullPath"] = new Smarty_variable("layouts/vlayout/" . $_smarty_tpl->tpl_vars['_CustomLoginTemplate']->value, null, 0);
        ?>

<?php 
        if (file_exists($_smarty_tpl->tpl_vars['_CustomLoginTemplateFullPath']->value)) {
            ?>
	<?php 
            echo $_smarty_tpl->getSubTemplate($_smarty_tpl->tpl_vars['_CustomLoginTemplate']->value, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
            ?>

<?php 
        } else {
            ?>
	<?php 
            echo $_smarty_tpl->getSubTemplate($_smarty_tpl->tpl_vars['_DefaultLoginTemplate']->value, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
            ?>

<?php 
        }
    }
    function content_555e1584b31ee($_smarty_tpl)
    {
        ?>
<input type="hidden" name="page" value="<?php 
        echo $_smarty_tpl->tpl_vars['PAGING_MODEL']->value->get('page');
        ?>
" /><input type="hidden" name="pageLimit" value="<?php 
        echo $_smarty_tpl->tpl_vars['PAGING_MODEL']->value->get('limit');
        ?>
" /><input type="hidden" name="relatedModule" value="<?php 
        echo $_smarty_tpl->tpl_vars['RELATED_MODULE']->value;
        ?>
" /><?php 
        if ($_smarty_tpl->tpl_vars['RELATED_MODULE']->value && $_smarty_tpl->tpl_vars['RELATED_RECORDS']->value) {
            $_smarty_tpl->tpl_vars['FILENAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['RELATED_MODULE']->value . "SummaryWidgetContents.tpl", null, 0);
            echo $_smarty_tpl->getSubTemplate(vtemplate_path($_smarty_tpl->tpl_vars['FILENAME']->value, $_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('RELATED_RECORDS' => $_smarty_tpl->tpl_vars['RELATED_RECORDS']->value), 0);
        } else {
            ?>
<div class="summaryWidgetContainer"><p class="textAlignCenter"><?php 
            echo vtranslate('LBL_NO_RELATED', $_smarty_tpl->tpl_vars['MODULE']->value);
            ?>
 <?php 
            echo $_smarty_tpl->tpl_vars['RELATED_MODULE']->value;
            ?>
</p></div><?php 
        }
    }
<?php if ($_valid && !is_callable('content_56059e5ce69ac')) {function content_56059e5ce69ac($_smarty_tpl) {?>
<table class="summary-table" style="width:100%;"><tbody><?php  $_smarty_tpl->tpl_vars['FIELD_MODEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['FIELD_MODEL']->_loop = false;
 $_smarty_tpl->tpl_vars['FIELD_NAME'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['SUMMARY_RECORD_STRUCTURE']->value['SUMMARY_FIELDS']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['FIELD_MODEL']->key => $_smarty_tpl->tpl_vars['FIELD_MODEL']->value){
$_smarty_tpl->tpl_vars['FIELD_MODEL']->_loop = true;
 $_smarty_tpl->tpl_vars['FIELD_NAME']->value = $_smarty_tpl->tpl_vars['FIELD_MODEL']->key;
?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name')!='modifiedtime'&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name')!='createdtime'){?><tr class="summaryViewEntries"><td class="fieldLabel" style="width:35%"><label class="muted"><?php echo vtranslate($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
</label></td><td class="fieldValue" style="width:65%"><div class="row-fluid"><span class="value" <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='19'||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='20'||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='21'){?>style="word-wrap: break-word;white-space:pre-wrap;"<?php }?>><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getDetailViewTemplateName()), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('FIELD_MODEL'=>$_smarty_tpl->tpl_vars['FIELD_MODEL']->value,'USER_MODEL'=>$_smarty_tpl->tpl_vars['USER_MODEL']->value,'MODULE'=>$_smarty_tpl->tpl_vars['MODULE_NAME']->value,'RECORD'=>$_smarty_tpl->tpl_vars['RECORD']->value), 0);?>
</span><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isEditable()=='true'&&($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType()!=Vtiger_Field_Model::REFERENCE_TYPE)&&$_smarty_tpl->tpl_vars['IS_AJAX_ENABLED']->value&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isAjaxEditable()=='true'&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')!=69){?><span class="hide edit"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getTemplateName(),$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('FIELD_MODEL'=>$_smarty_tpl->tpl_vars['FIELD_MODEL']->value,'USER_MODEL'=>$_smarty_tpl->tpl_vars['USER_MODEL']->value,'MODULE'=>$_smarty_tpl->tpl_vars['MODULE_NAME']->value), 0);?>
<?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType()=='multipicklist'){?><input type="hidden" class="fieldname" value='<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name');?>
[]' data-prev-value='<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getDisplayValue($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue'));?>
' /><?php }else{ ?><input type="hidden" class="fieldname" value='<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name');?>
' data-prev-value='<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue');?>
' /><?php }?></span><span class="summaryViewEdit cursorPointer pull-right">&nbsp;<i class="icon-pencil" title="<?php echo vtranslate('LBL_EDIT',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
"></i></span><?php }?></div></td></tr><?php }?><?php } ?></tbody></table><hr><div class="row-fluid"><div class="span4 toggleViewByMode"><?php $_smarty_tpl->tpl_vars["CURRENT_VIEW"] = new Smarty_variable("full", null, 0);?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['MODULE_NAME']->value;?>
<?php $_tmp1=ob_get_clean();?><?php ob_start();?><?php echo vtranslate('LBL_COMPLETE_DETAILS',$_tmp1);?>
<?php $_tmp2=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["CURRENT_MODE_LABEL"] = new Smarty_variable($_tmp2, null, 0);?><button type="button" class="btn changeDetailViewMode cursorPointer"><strong><?php echo vtranslate('LBL_SHOW_FULL_DETAILS',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
</strong></button><?php ob_start();?><?php echo ($_smarty_tpl->tpl_vars['RECORD']->value->getDetailViewUrl()).('&mode=showDetailViewByMode&requestMode=full');?>
<?php $_tmp3=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["FULL_MODE_URL"] = new Smarty_variable($_tmp3, null, 0);?><input type="hidden" name="viewMode" value="<?php echo $_smarty_tpl->tpl_vars['CURRENT_VIEW']->value;?>
" data-nextviewname="full" data-currentviewlabel="<?php echo $_smarty_tpl->tpl_vars['CURRENT_MODE_LABEL']->value;?>
"data-full-url="<?php echo $_smarty_tpl->tpl_vars['FULL_MODE_URL']->value;?>
"  /></div><div class="span8"><div class="pull-right"><div><p><small><?php echo vtranslate('LBL_CREATED_ON',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
 <?php echo Vtiger_Util_Helper::formatDateTimeIntoDayString($_smarty_tpl->tpl_vars['RECORD']->value->get('createdtime'));?>
</small></p></div><div><p><small><?php echo vtranslate('LBL_MODIFIED_ON',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
 <?php echo Vtiger_Util_Helper::formatDateTimeIntoDayString($_smarty_tpl->tpl_vars['RECORD']->value->get('modifiedtime'));?>
</small></p></div></div></div></div><?php }} ?>
    function content_564cd12534e65($_smarty_tpl)
    {
        ?>
<div class="container-fluid"><div class="widget_header row-fluid"><div class="span8"><h3><?php 
        echo vtranslate($_smarty_tpl->tpl_vars['MODULE']->value, $_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);
        ?>
</h3></div></div><hr><div class="clearfix treeView"><ul><li data-role="<?php 
        echo $_smarty_tpl->tpl_vars['ROOT_ROLE']->value->getParentRoleString();
        ?>
" data-roleid="<?php 
        echo $_smarty_tpl->tpl_vars['ROOT_ROLE']->value->getId();
        ?>
"><div class="toolbar-handle"><a href="javascript:;" class="btn btn-inverse draggable droppable"><?php 
        echo $_smarty_tpl->tpl_vars['ROOT_ROLE']->value->getName();
        ?>
</a><div class="toolbar" title="<?php 
        echo vtranslate('LBL_ADD_RECORD', $_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);
        ?>
">&nbsp;<a href="<?php 
        echo $_smarty_tpl->tpl_vars['ROOT_ROLE']->value->getCreateChildUrl();
        ?>
" data-url="<?php 
        echo $_smarty_tpl->tpl_vars['ROOT_ROLE']->value->getCreateChildUrl();
        ?>
" data-action="modal"><span class="icon-plus-sign"></span></a></div></div><?php 
        $_smarty_tpl->tpl_vars["ROLE"] = new Smarty_variable($_smarty_tpl->tpl_vars['ROOT_ROLE']->value, null, 0);
        echo $_smarty_tpl->getSubTemplate(vtemplate_path("RoleTree.tpl", "Settings:Roles"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
</li></ul></div></div><?php 
    }
    function content_54e3f82c1a28f($_smarty_tpl)
    {
        $_smarty_tpl->tpl_vars['WIDTHTYPE'] = new Smarty_variable($_smarty_tpl->tpl_vars['USER_MODEL']->value->get('rowheight'), null, 0);
        echo $_smarty_tpl->getSubTemplate(vtemplate_path('DetailViewBlockView.tpl', 'Vtiger'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('RECORD_STRUCTURE' => $_smarty_tpl->tpl_vars['RECORD_STRUCTURE']->value, 'MODULE_NAME' => $_smarty_tpl->tpl_vars['MODULE_NAME']->value), 0);
        $_smarty_tpl->tpl_vars["IS_HIDDEN"] = new Smarty_variable(false, null, 0);
        ?>
<table class="table table-bordered equalSplit detailview-table"><thead><tr><th class="blockHeader" colspan="4"><img class="cursorPointer alignMiddle blockToggle <?php 
        if (!$_smarty_tpl->tpl_vars['IS_HIDDEN']->value) {
            ?>
 hide <?php 
        }
        ?>
 "  src="<?php 
        echo vimage_path('arrowRight.png');
        ?>
" data-mode="hide" data-id='INVITE_USER_BLOCK_ID'><img class="cursorPointer alignMiddle blockToggle <?php 
        if ($_smarty_tpl->tpl_vars['IS_HIDDEN']->value) {
            ?>
 hide <?php 
        }
        ?>
"  src="<?php 
        echo vimage_path('arrowDown.png');
        ?>
" data-mode="show" data-id='INVITE_USER_BLOCK_ID'>&nbsp;&nbsp;<?php 
        ob_start();
        echo $_smarty_tpl->tpl_vars['MODULE_NAME']->value;
        $_tmp1 = ob_get_clean();
        echo vtranslate('LBL_INVITE_USER_BLOCK', $_tmp1);
        ?>
</th></tr></thead><tr><td class="fieldLabel <?php 
        echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;
        ?>
"><label class="muted pull-right marginRight10px"><?php 
        echo vtranslate('LBL_INVITE_USERS', $_smarty_tpl->tpl_vars['MODULE_NAME']->value);
        ?>
</label></td><td class="fieldValue <?php 
        echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;
        ?>
"><?php 
        $_smarty_tpl->tpl_vars['USER_NAME'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['USER_NAME']->_loop = false;
        $_smarty_tpl->tpl_vars['USER_ID'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['ACCESSIBLE_USERS']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['USER_NAME']->key => $_smarty_tpl->tpl_vars['USER_NAME']->value) {
            $_smarty_tpl->tpl_vars['USER_NAME']->_loop = true;
            $_smarty_tpl->tpl_vars['USER_ID']->value = $_smarty_tpl->tpl_vars['USER_NAME']->key;
            if (in_array($_smarty_tpl->tpl_vars['USER_ID']->value, $_smarty_tpl->tpl_vars['INVITIES_SELECTED']->value)) {
                echo $_smarty_tpl->tpl_vars['USER_NAME']->value;
                ?>
<br><?php 
            }
        }
        ?>
</td></tr></table><?php 
    }
    function content_567ff6ce0c2a8($_smarty_tpl)
    {
        ?>
<div class="dashboardWidgetHeader">
	<table width="100%" cellspacing="0" cellpadding="0">
	<thead>
		<tr>
			<th class="span4">
				<div class="dashboardTitle" title="<?php 
        echo vtranslate($_smarty_tpl->tpl_vars['WIDGET']->value->getTitle(), $_smarty_tpl->tpl_vars['MODULE_NAME']->value);
        ?>
"><b>&nbsp;&nbsp;<?php 
        echo vtranslate($_smarty_tpl->tpl_vars['WIDGET']->value->getTitle());
        ?>
</b></div>
			</th>
			<th class="span2">
				<div>
					<select class="widgetFilter" id="historyType" name="type" style='width:100px;margin-bottom:0px'>
						<option value="all" ><?php 
        echo vtranslate('LBL_ALL');
        ?>
</option>
						<?php 
        if ($_smarty_tpl->tpl_vars['COMMENTS_MODULE_MODEL']->value->isPermitted('DetailView')) {
            ?>
<option value="comments" ><?php 
            echo vtranslate('LBL_COMMENTS');
            ?>
</option><?php 
        }
        ?>
						<option value="updates" ><?php 
        echo vtranslate('LBL_UPDATES');
        ?>
</option>
					</select>
				</div>
			</th>
			<th class="refresh span1" align="right">
				<span style="position:relative;"></span>
			</th>
			<th class="widgeticons span5" align="right">
				<?php 
        echo $_smarty_tpl->getSubTemplate(vtemplate_path("dashboards/DashboardHeaderIcons.tpl", $_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

			</th>
		</tr>
	</thead>
	</table>
</div>
<div class="dashboardWidgetContent">
	<?php 
        echo $_smarty_tpl->getSubTemplate(vtemplate_path("dashboards/HistoryContents.tpl", $_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

</div><?php 
    }
<?php if ($_valid && !is_callable('content_56059b1da9418')) {function content_56059b1da9418($_smarty_tpl) {?>
<div id="addNotePadWidgetContainer" class='modal'><div class="modal-header contentsBackground"><button data-dismiss="modal" class="close" title="<?php echo vtranslate('LBL_CLOSE');?>
">&times;</button><h3 id="massEditHeader"><?php echo vtranslate('LBL_ADD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
 <?php echo vtranslate('LBL_NOTEPAD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</h3></div><form class="form-horizontal" method="POST"><div class="control-group margin0px padding1per"><label class="control-label"><?php echo vtranslate('LBL_NOTEPAD_NAME',$_smarty_tpl->tpl_vars['MODULE']->value);?>
<span class="redColor">*</span> </label><div class="controls"><input type="text" name="notePadName" class="input-large" data-validation-engine="validate[required]" /></div></div><div class="control-group margin0px padding1per"><label class="control-label"><?php echo vtranslate('LBL_NOTEPAD_CONTENT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</label><div class="controls"><textarea type="text" name="notePadContent" style="min-height: 100px;resize: none;"/></div></div><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('ModalFooter.tpl',$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
</form></div><?php }} ?>
    function content_5685e9aa6aa26($_smarty_tpl)
    {
        ?>
<div class="recordDetails"><?php 
        echo $_smarty_tpl->getSubTemplate(vtemplate_path('SummaryViewContents.tpl'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
</div><?php 
    }
    function content_56756381da2bc($_smarty_tpl)
    {
        echo $_smarty_tpl->getSubTemplate(vtemplate_path("EditViewBlocks.tpl", $_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

<?php 
        echo $_smarty_tpl->getSubTemplate(vtemplate_path("EditViewActions.tpl", $_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
    }
    function content_56a2060b4853a($_smarty_tpl)
    {
        ?>
<div class="row-fluid"><?php 
        echo $_smarty_tpl->getSubTemplate(vtemplate_path('SideBar.tpl', $_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
</div><?php 
    }
    function content_569490d6872f1($_smarty_tpl)
    {
        echo $_smarty_tpl->getSubTemplate(vtemplate_path("Header.tpl", $_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        echo $_smarty_tpl->getSubTemplate(vtemplate_path("BasicHeader.tpl", $_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
<div class="bodyContents"><div class="mainContainer row-fluid"><div class="contentsDiv span12 marginLeftZero dashboardContainer"><?php 
        echo $_smarty_tpl->getSubTemplate(vtemplate_path("dashboards/DashBoardHeader.tpl", $_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('DASHBOARDHEADER_TITLE' => vtranslate($_smarty_tpl->tpl_vars['MODULE']->value, $_smarty_tpl->tpl_vars['MODULE']->value)), 0);
    }
    function content_54f8b3e4cdfa1($_smarty_tpl)
    {
        ?>
<div id="massEditContainer" class='modelContainer'><div class="modal-header contentsBackground"><button data-dismiss="modal" class="close" title="<?php 
        echo vtranslate('LBL_CLOSE');
        ?>
">&times;</button><h3 id="massEditHeader"><?php 
        echo vtranslate('Transfer records to user', $_smarty_tpl->tpl_vars['MODULE']->value);
        ?>
</h3></div><form class="form-horizontal" id="deleteUser" name="deleteUser" method="post" action="index.php"><input type="hidden" name="module" value="<?php 
        echo $_smarty_tpl->tpl_vars['MODULE']->value;
        ?>
" /><input type="hidden" name="userid" value="<?php 
        echo $_smarty_tpl->tpl_vars['USERID']->value;
        ?>
" /><div name='massEditContent'><div class="modal-body tabbable"><div class="tab-content massEditContent"><table class="massEditTable table table-bordered"><tr><td class="fieldLabel alignMiddle"><?php 
        echo vtranslate('User to be deleted', $_smarty_tpl->tpl_vars['MODULE']->value);
        ?>
</td><td class="fieldValue"><?php 
        echo $_smarty_tpl->tpl_vars['DELETE_USER_NAME']->value;
        ?>
</td></tr><tr><td class="fieldLabel alignMiddle"><?php 
        echo vtranslate('Transfer records to user', $_smarty_tpl->tpl_vars['MODULE']->value);
        ?>
</td><td class="fieldValue"><select class="chzn-select <?php 
        if ($_smarty_tpl->tpl_vars['OCCUPY_COMPLETE_WIDTH']->value) {
            ?>
 row-fluid <?php 
        }
        ?>
" name="tranfer_owner_id" data-validation-engine="validate[ required]" ><?php 
        $_smarty_tpl->tpl_vars['USER_MODEL'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['USER_MODEL']->_loop = false;
        $_smarty_tpl->tpl_vars['USER_ID'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['USER_LIST']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['USER_MODEL']->key => $_smarty_tpl->tpl_vars['USER_MODEL']->value) {
            $_smarty_tpl->tpl_vars['USER_MODEL']->_loop = true;
            $_smarty_tpl->tpl_vars['USER_ID']->value = $_smarty_tpl->tpl_vars['USER_MODEL']->key;
            ?>
<option value="<?php 
            echo $_smarty_tpl->tpl_vars['USER_ID']->value;
            ?>
" ><?php 
            echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->getName();
            ?>
</option><?php 
        }
        ?>
</select></td></tr></table></div></div></div><?php 
        echo $_smarty_tpl->getSubTemplate(vtemplate_path('ModalFooter.tpl', $_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
</form></div>
<?php 
    }
    function content_553ed31f90f32($_smarty_tpl)
    {
        ?>
<div id='popupContentsDiv'><?php 
        echo $_smarty_tpl->getSubTemplate(vtemplate_path("PopupEntries.tpl", $_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
</div>
<?php 
    }
    function content_54d243c943a88($_smarty_tpl)
    {
        ?>
<div class="navbar navbar-fixed-top  navbar-inverse noprint" style='min-width:1050px'><?php 
        echo $_smarty_tpl->getSubTemplate(vtemplate_path('MenuBar.tpl'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        echo $_smarty_tpl->getSubTemplate(vtemplate_path('CommonActions.tpl'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
</div><?php 
    }
    function content_568618ae5fe4f($_smarty_tpl)
    {
        ?>
<div class="recordDetails"><?php 
        echo $_smarty_tpl->getSubTemplate(vtemplate_path('DetailViewBlockView.tpl', $_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('RECORD_STRUCTURE' => $_smarty_tpl->tpl_vars['SUMMARY_RECORD_STRUCTURE']->value, 'MODULE_NAME' => $_smarty_tpl->tpl_vars['MODULE_NAME']->value), 0);
        ?>
</div>
<?php 
    }
    function content_568dd9a29802c($_smarty_tpl)
    {
        ?>
<div class="navbar navbar-fixed-top  navbar-inverse noprint"><?php 
        echo $_smarty_tpl->getSubTemplate(vtemplate_path('MenuBar.tpl'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        echo $_smarty_tpl->getSubTemplate(vtemplate_path('CommonActions.tpl'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
</div><?php 
    }
    function content_56854f8fdd718($_smarty_tpl)
    {
        ?>
 <?php 
        echo $_smarty_tpl->getSubTemplate(vtemplate_path("Header.tpl", $_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        echo $_smarty_tpl->getSubTemplate(vtemplate_path("BasicHeader.tpl", $_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
<div class="bodyContents" style='min-width:1200px'><div class="mainContainer row-fluid" id="_mailmanagermaindiv_" ><?php 
    }
<?php if ($_valid && !is_callable('content_55c5c16089168')) {function content_55c5c16089168($_smarty_tpl) {?>

<div class="dashboardWidgetHeader">
	<table width="100%" cellspacing="0" cellpadding="0">
	<thead>
		<tr>
			<th class="span4">
				<div class="dashboardTitle" title="<?php echo vtranslate($_smarty_tpl->tpl_vars['WIDGET']->value->getTitle(),$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
"><b>&nbsp;&nbsp;<?php echo vtranslate($_smarty_tpl->tpl_vars['WIDGET']->value->getTitle());?>
</b></div>
			</th>
			<th class="span2">
				<div>
					<select class="widgetFilter" name="type" style='width:100px;margin-bottom:0px'>
						<option value="<?php echo $_smarty_tpl->tpl_vars['CURRENTUSER']->value->getId();?>
"><?php echo vtranslate('LBL_MINE');?>
</option>
						<option value="all"><?php echo vtranslate('LBL_ALL');?>
</option>
					</select>
				</div>
			</th>
			<th class="refresh span1" align="right">
				<span style="position:relative;"></span>
			</th>
			<th class="widgeticons span5" align="right">
				<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("dashboards/DashboardHeaderIcons.tpl",$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

			</th>
		</tr>
	</thead>
	</table>
</div>
<div name="history" class="dashboardWidgetContent">
	<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("dashboards/CalendarActivitiesContents.tpl",$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('WIDGET'=>$_smarty_tpl->tpl_vars['WIDGET']->value), 0);?>

</div>



<script type='text/javascript'>
	$(document).ready(function(){
        jQuery('.dashboardWidgetContent').off('click', 'a[name="history_more"]');
		jQuery('.dashboardWidgetContent').on('click', 'a[name="history_more"]', function(e) {
                var element = jQuery(e.currentTarget);
                var parent = jQuery(e.delegateTarget).closest('.dashboardWidget');
                jQuery(parent).find('.slimScrollDiv').css('overflow','visible');
                var type = parent.find("[name='type']").val();
                var url = element.data('url')+'&content=true&type='+type;
                AppConnector.request(url).then(function(data) {
                    jQuery(parent).find('.dashboardWidgetContent').append(data);
                    element.parent().remove();
                });
		});
	});
</script><?php }} ?>
<?php if ($_valid && !is_callable('content_56059ba57cf3b')) {function content_56059ba57cf3b($_smarty_tpl) {?>

<div class="dashboardWidgetHeader">
	<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("dashboards/WidgetHeader.tpl",$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

</div>
<div class="dashboardWidgetContent">
	<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("dashboards/TopPotentialsContents.tpl",$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

</div><?php }} ?>
    function content_567d667178d9c($_smarty_tpl)
    {
        echo $_smarty_tpl->getSubTemplate(vtemplate_path("Header.tpl", $_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        echo $_smarty_tpl->getSubTemplate(vtemplate_path("BasicHeader.tpl", $_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
<div class="bodyContents"><div class="mainContainer row-fluid"><div class="span2 row-fluid"><?php 
        echo $_smarty_tpl->getSubTemplate(vtemplate_path("SideBar.tpl", $_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
</div><div class="contentsDiv span10 marginLeftZero"><?php 
    }