• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP vtemplate_path函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中vtemplate_path函数的典型用法代码示例。如果您正苦于以下问题:PHP vtemplate_path函数的具体用法?PHP vtemplate_path怎么用?PHP vtemplate_path使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了vtemplate_path函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: if

<?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 }} ?>
开发者ID:nvh3010,项目名称:quancrm,代码行数:26,代码来源:3f1985eca58d6ed0adad9bf8b192c6db116c3407.file.InstallPostProcess.tpl.php


示例2: content_5523e2107134d

    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);
    }
开发者ID:jmangarret,项目名称:vtigercrm,代码行数:35,代码来源:ffa565b41ed54bc0dbd40f04620f80cb6575c86f.file.DashBoardPreProcess.tpl.php


示例3: content_567e19d218984

    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 
    }
开发者ID:wsLapshin,项目名称:charter_crm,代码行数:35,代码来源:07edc69293e06c65b01d924bc56b6a5e923b8d7e.file.EditFolder.tpl.php


示例4: content_5694a35396fa4

    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 
        }
    }
开发者ID:cin-system,项目名称:vtigercrm-cin,代码行数:25,代码来源:8b006f216f9ff9d89a60f0e1bb1f33cf89a8beed.file.ConfigMenuStart.tpl.php


示例5: content_567aff60a7986

    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 
    }
开发者ID:wsLapshin,项目名称:charter_crm,代码行数:30,代码来源:1c8a1e1459f80036fa38951afb06779ac083d4f8.file.Popup.tpl.php


示例6: if

<?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 }} ?>
开发者ID:jeremyevans6,项目名称:kulturedTiger-,代码行数:7,代码来源:4b6bf9ed22f40ba5bccf98681b77f3f5334bc793.file.ListViewPreProcess.tpl.php


示例7: content_558c2a3b4060b

    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 
        }
    }
开发者ID:jmangarret,项目名称:vtigercrm,代码行数:27,代码来源:dd4792a59020e955c33f64385cf888114a760c14.file.CommentsListIteration.tpl.php


示例8: content_555e15825dab9

    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 
    }
开发者ID:jmangarret,项目名称:vtigercrm,代码行数:32,代码来源:153ba1748732aad0f9e888adbbce31fc79ac873e.file.ModuleSummaryView.tpl.php


示例9: content_56755e7c23f3c

    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 
    }
开发者ID:wsLapshin,项目名称:charter_crm,代码行数:31,代码来源:f85d624f9461d96296a8f8ee26ce1a5163633bd0.file.TooltipContents.tpl.php


示例10: content_56962c9ceece3

    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 
    }
开发者ID:cin-system,项目名称:vtigercrm-cin,代码行数:26,代码来源:723bb5c35df37d328bdfe6f87398c0fd610faee4.file.DateTime.tpl.php


示例11: content_567d6cfb17c55

    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 
        }
    }
开发者ID:thanhphi0127,项目名称:VtigerCRM,代码行数:27,代码来源:2d87a18c91423903349f7424a4657d1c8d51d70f.file.Login.tpl.php


示例12: content_555e1584b31ee

    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 
        }
    }
开发者ID:jmangarret,项目名称:vtigercrm,代码行数:27,代码来源:b79c83b197617b1185cd8b16dd7a78857433fd5a.file.SummaryWidgets.tpl.php


示例13: if

<?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 }} ?>
开发者ID:jeremyevans6,项目名称:kulturedTiger-,代码行数:27,代码来源:33e48621f9021078a695668197e56668702bfe38.file.SummaryViewContents.tpl.php


示例14: content_564cd12534e65

    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 
    }
开发者ID:jmangarret,项目名称:vtigercrm,代码行数:30,代码来源:2944eeca95980b3bef586a1306eea2568279ccfa.file.Index.tpl.php


示例15: content_54e3f82c1a28f

    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 
    }
开发者ID:jmangarret,项目名称:vtigercrm,代码行数:59,代码来源:23a6a26043156fd08ce90a9c4ab9351e836d0f1b.file.DetailViewBlockView.tpl.php


示例16: content_567ff6ce0c2a8

    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 
    }
开发者ID:thanhphi0127,项目名称:VtigerCRM,代码行数:59,代码来源:e16ebde72756872ec0366ae9a04a0b03ff45d02d.file.History.tpl.php


示例17: if

<?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">*< 

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP vtiger_imageurl函数代码示例发布时间:2022-05-23
下一篇:
PHP vt_suppressHTMLTags函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap