本文整理汇总了PHP中vimage_path函数的典型用法代码示例。如果您正苦于以下问题:PHP vimage_path函数的具体用法?PHP vimage_path怎么用?PHP vimage_path使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了vimage_path函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: if
<?php if ($_valid && !is_callable('content_56059b42d6e2a')) {function content_56059b42d6e2a($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_truncate')) include '/var/www/kulturedkitsch.info/public_html/vtigercrm/libraries/Smarty/libs/plugins/modifier.truncate.php';
?>
<div class="row-fluid"><?php $_smarty_tpl->tpl_vars['EXTENSION'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['EXTENSION']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['EXTENSIONS_LIST']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['extensions']['index']=-1;
foreach ($_from as $_smarty_tpl->tpl_vars['EXTENSION']->key => $_smarty_tpl->tpl_vars['EXTENSION']->value){
$_smarty_tpl->tpl_vars['EXTENSION']->_loop = true;
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['extensions']['index']++;
?><?php if ($_smarty_tpl->tpl_vars['EXTENSION']->value->isAlreadyExists()){?><?php $_smarty_tpl->tpl_vars['EXTENSION_MODULE_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['EXTENSION']->value->get('moduleModel'), null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['EXTENSION_MODULE_MODEL'] = new Smarty_variable('false', null, 0);?><?php }?><div class="span6"><div class="extension_container extensionWidgetContainer"><div class="extension_header"><div class="font-x-x-large boxSizingBorderBox" style="cursor:pointer"><?php echo vtranslate($_smarty_tpl->tpl_vars['EXTENSION']->value->get('label'),$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</div><input type="hidden" name="extensionName" value="<?php echo $_smarty_tpl->tpl_vars['EXTENSION']->value->get('name');?>
" /><input type="hidden" name="moduleAction" value="<?php if (($_smarty_tpl->tpl_vars['EXTENSION']->value->isAlreadyExists())&&(!$_smarty_tpl->tpl_vars['EXTENSION_MODULE_MODEL']->value->get('trial'))){?><?php if ($_smarty_tpl->tpl_vars['EXTENSION']->value->isUpgradable()){?>Upgrade<?php }else{ ?>Installed<?php }?><?php }else{ ?>Install<?php }?>" /><input type="hidden" name="extensionId" value="<?php echo $_smarty_tpl->tpl_vars['EXTENSION']->value->get('id');?>
" /></div><div><div class="row-fluid extension_contents"><span class="span8"><div class="row-fluid extensionDescription" style="word-wrap:break-word;"><?php $_smarty_tpl->tpl_vars['SUMMARY'] = new Smarty_variable($_smarty_tpl->tpl_vars['EXTENSION']->value->get('summary'), null, 0);?><?php if (empty($_smarty_tpl->tpl_vars['SUMMARY']->value)){?><?php ob_start();?><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['EXTENSION']->value->get('description'),100);?>
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['SUMMARY'] = new Smarty_variable($_tmp1, null, 0);?><?php }?><?php echo $_smarty_tpl->tpl_vars['SUMMARY']->value;?>
</div></span><span class="span4"><?php if ($_smarty_tpl->tpl_vars['EXTENSION']->value->get('thumbnailURL')!=null){?><?php $_smarty_tpl->tpl_vars['imageSource'] = new Smarty_variable($_smarty_tpl->tpl_vars['EXTENSION']->value->get('thumbnailURL'), null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['imageSource'] = new Smarty_variable(vimage_path('unavailable.png'), null, 0);?><?php }?><img class="thumbnailImage" src="<?php echo $_smarty_tpl->tpl_vars['imageSource']->value;?>
"/></span></div><div class="extensionInfo"><div class="row-fluid"><?php $_smarty_tpl->tpl_vars['ON_RATINGS'] = new Smarty_variable($_smarty_tpl->tpl_vars['EXTENSION']->value->get('avgrating'), null, 0);?><div class="span4"><span class="rating" data-score="<?php echo $_smarty_tpl->tpl_vars['ON_RATINGS']->value;?>
" data-readonly=true></span><span><?php if ($_smarty_tpl->tpl_vars['EXTENSION']->value->get('avgrating')){?> (<?php echo $_smarty_tpl->tpl_vars['EXTENSION']->value->get('avgrating');?>
)<?php }?></span></div><div class="span8"><div class="pull-right"><button class="btn installExtension addButton" style="margin-right:5px;"><?php echo vtranslate('LBL_MORE_DETAILS',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</button><?php if ($_smarty_tpl->tpl_vars['EXTENSION']->value->isVtigerCompatible()){?><?php if (($_smarty_tpl->tpl_vars['EXTENSION']->value->isAlreadyExists())&&(!$_smarty_tpl->tpl_vars['EXTENSION_MODULE_MODEL']->value->get('trial'))){?><?php if (($_smarty_tpl->tpl_vars['EXTENSION']->value->isUpgradable())){?><?php if ($_smarty_tpl->tpl_vars['EXTENSION']->value->get('isprotected')&&$_smarty_tpl->tpl_vars['IS_PRO']->value){?><button class="oneclickInstallFree btn btn-success margin0px <?php if (($_smarty_tpl->tpl_vars['REGISTRATION_STATUS']->value)&&($_smarty_tpl->tpl_vars['PASSWORD_STATUS']->value)){?>authenticated <?php }else{ ?> loginRequired<?php }?>"><?php echo vtranslate('LBL_UPGRADE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</button><?php }elseif(!$_smarty_tpl->tpl_vars['EXTENSION']->value->get('isprotected')){?><button class="oneclickInstallFree btn btn-success margin0px <?php if (($_smarty_tpl->tpl_vars['REGISTRATION_STATUS']->value)&&($_smarty_tpl->tpl_vars['PASSWORD_STATUS']->value)){?>authenticated <?php }else{ ?> loginRequired<?php }?>"><?php echo vtranslate('LBL_UPGRADE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</button><?php }?><?php }else{ ?><span class="alert alert-info" style="vertical-align:middle; padding: 5px 10px;"><?php echo vtranslate('LBL_INSTALLED',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</span><?php }?><?php }elseif((($_smarty_tpl->tpl_vars['EXTENSION']->value->get('price')=='Free')||($_smarty_tpl->tpl_vars['EXTENSION']->value->get('price')==0))){?><?php if ($_smarty_tpl->tpl_vars['EXTENSION']->value->get('isprotected')&&$_smarty_tpl->tpl_vars['IS_PRO']->value){?><button class="oneclickInstallFree btn btn-success <?php if (($_smarty_tpl->tpl_vars['REGISTRATION_STATUS']->value)&&($_smarty_tpl->tpl_vars['PASSWORD_STATUS']->value)){?>authenticated <?php }else{ ?> loginRequired<?php }?>"><?php echo vtranslate('LBL_INSTALL',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</button><?php }elseif(!$_smarty_tpl->tpl_vars['EXTENSION']->value->get('isprotected')){?><button class="oneclickInstallFree btn btn-success <?php if (($_smarty_tpl->tpl_vars['REGISTRATION_STATUS']->value)&&($_smarty_tpl->tpl_vars['PASSWORD_STATUS']->value)){?>authenticated <?php }else{ ?> loginRequired<?php }?>"><?php echo vtranslate('LBL_INSTALL',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</button><?php }?><?php }elseif(($_smarty_tpl->tpl_vars['IS_PRO']->value)){?><?php if (($_smarty_tpl->tpl_vars['EXTENSION']->value->get('trialdays')>0)&&($_smarty_tpl->tpl_vars['EXTENSION_MODULE_MODEL']->value=='false')&&($_smarty_tpl->tpl_vars['EXTENSION']->value->get('isprotected')==1)){?><button class="oneclickInstallPaid btn btn-success <?php if (($_smarty_tpl->tpl_vars['REGISTRATION_STATUS']->value)&&($_smarty_tpl->tpl_vars['PASSWORD_STATUS']->value)){?>authenticated <?php }else{ ?> loginRequired<?php }?>" data-trial=true><?php echo vtranslate('LBL_TRY_IT',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</button><?php }elseif((($_smarty_tpl->tpl_vars['EXTENSION_MODULE_MODEL']->value!='false')&&($_smarty_tpl->tpl_vars['EXTENSION_MODULE_MODEL']->value->get('trial')))){?><span class="alert alert-info"><?php echo vtranslate('LBL_TRIAL_INSTALLED',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</span> <?php }?><button class="oneclickInstallPaid btn btn-info <?php if (($_smarty_tpl->tpl_vars['REGISTRATION_STATUS']->value)&&($_smarty_tpl->tpl_vars['PASSWORD_STATUS']->value)){?>authenticated <?php }else{ ?> loginRequired<?php }?>" data-trial=false><?php echo vtranslate('LBL_BUY',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
$<?php echo $_smarty_tpl->tpl_vars['EXTENSION']->value->get('price');?>
</button><?php }?><?php }else{ ?><span class="alert alert-error"><?php echo vtranslate('LBL_EXTENSION_NOT_COMPATABLE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</span><?php }?></div></div></div></div></div></div></div><?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['extensions']['index']%2!=0){?></div><div class="row-fluid"><?php }?><?php } ?><?php if (empty($_smarty_tpl->tpl_vars['EXTENSIONS_LIST']->value)){?><table class="emptyRecordsDiv"><tbody><tr><td><?php echo vtranslate('LBL_NO_EXTENSIONS_FOUND',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</td></tr></tbody></table><?php }?></div><?php }} ?>
开发者ID:jeremyevans6,项目名称:kulturedTiger-,代码行数:29,代码来源:d6ff856468fc449f2bbd5816c87da1afc4a350fd.file.ExtensionModules.tpl.php
示例2: content_56327dbce3bfe
function content_56327dbce3bfe($_smarty_tpl)
{
?>
<div class="row-fluid main-container">
<div class="inner-container">
<div class="row-fluid">
<div class="span10">
<h4><?php
echo vtranslate('LBL_WELCOME', 'Install');
?>
</h4>
</div>
<div class="span2">
<a href="https://wiki.vtiger.com/vtiger6/" target="_blank" class="pull-right">
<img src="<?php
echo vimage_path('help.png');
?>
" alt="Help-Icon"/>
</a>
</div>
</div>
<hr>
<form class="form-horizontal" name="step1" method="post" action="index.php">
<input type=hidden name="module" value="Install" />
<input type=hidden name="view" value="Index" />
<input type=hidden name="mode" value="Step2" />
<div class="row-fluid">
<div class="span4 welcome-image">
<img src="<?php
echo vimage_path('wizard_screen.png');
?>
" alt="Vtiger Logo"/>
</div>
<div class="span8">
<div class="welcome-div">
<h3><?php
echo vtranslate('LBL_WELCOME_TO_VTIGER6_SETUP_WIZARD', 'Install');
?>
</h3>
<?php
echo vtranslate('LBL_VTIGER6_SETUP_WIZARD_DESCRIPTION', 'Install');
?>
</div>
</div>
</div>
<div class="row-fluid">
<div class="button-container">
<input type="submit" class="btn btn-large btn-primary" value="<?php
echo vtranslate('LBL_INSTALL_BUTTON', 'Install');
?>
"/>
</div>
</div>
</form>
</div>
</div><?php
}
开发者ID:albracu,项目名称:crm_novation,代码行数:60,代码来源:fb52116aefa479e4753d6812991555e959e3a32f.file.Step1.tpl.php
示例3: content_56327dbce2932
function content_56327dbce2932($_smarty_tpl)
{
?>
<input type="hidden" id="module" value="Install" />
<input type="hidden" id="view" value="Index" />
<div class="container-fluid page-container">
<div class="row-fluid">
<div class="span6">
<div class="logo">
<img src="<?php
echo vimage_path('logo.png');
?>
"/>
</div>
</div>
<div class="span6">
<div class="head pull-right">
<h3><?php
echo vtranslate('LBL_INSTALLATION_WIZARD', 'Install');
?>
</h3>
</div>
</div>
</div>
<?php
}
开发者ID:albracu,项目名称:crm_novation,代码行数:26,代码来源:e26d27e7f42786b883f5ec460d30cd9a47d9e9d3.file.InstallPreProcess.tpl.php
示例4: content_567d6e7751be3
function content_567d6e7751be3($_smarty_tpl)
{
?>
<div style="margin:0 auto;width: 50em;">
<table border='0' cellpadding='5' cellspacing='0' height='600px' width="700px">
<tr><td align='center'>
<div style='border: 3px solid rgb(153, 153, 153); background-color: rgb(255, 255, 255); width: 80%; position: relative; z-index: 100000020;'>
<table border='0' cellpadding='5' cellspacing='0' width='98%'>
<tr>
<td rowspan='2' width='11%'><img src="<?php
echo vimage_path('denied.gif');
?>
" ></td>
<td style='border-bottom: 1px solid rgb(204, 204, 204);' nowrap='nowrap' width='70%'>
<span class='genHeaderSmall'><?php
echo vtranslate($_smarty_tpl->tpl_vars['MESSAGE']->value);
?>
</span></td>
</tr>
<tr>
<td class='small' align='right' nowrap='nowrap'>
<a href='javascript:window.history.back();'><?php
echo vtranslate('LBL_GO_BACK');
?>
</a><br>
</td>
</tr>
</table>
</div>
</td></tr>
</table>
</div><?php
}
开发者ID:thanhphi0127,项目名称:VtigerCRM,代码行数:34,代码来源:4c05df99f12403ab4be538d3e2b5004d090c74d6.file.OperationNotPermitted.tpl.php
示例5: content_56a2061eefba2
function content_56a2061eefba2($_smarty_tpl)
{
?>
<span class="span2"><img src="<?php
echo vimage_path('summary_organizations.png');
?>
" class="summaryImg" /></span><span class="span8 margin0px"><span class="row-fluid"><span class="recordLabel font-x-x-large textOverflowEllipsis span8 pushDown" title="<?php
echo $_smarty_tpl->tpl_vars['RECORD']->value->getName();
?>
"><?php
$_smarty_tpl->tpl_vars['NAME_FIELD'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['NAME_FIELD']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getNameFields();
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
foreach ($_from as $_smarty_tpl->tpl_vars['NAME_FIELD']->key => $_smarty_tpl->tpl_vars['NAME_FIELD']->value) {
$_smarty_tpl->tpl_vars['NAME_FIELD']->_loop = true;
$_smarty_tpl->tpl_vars['FIELD_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getField($_smarty_tpl->tpl_vars['NAME_FIELD']->value), null, 0);
if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getPermissions()) {
?>
<span class="<?php
echo $_smarty_tpl->tpl_vars['NAME_FIELD']->value;
?>
"><?php
echo $_smarty_tpl->tpl_vars['RECORD']->value->get($_smarty_tpl->tpl_vars['NAME_FIELD']->value);
?>
</span> <?php
}
}
?>
</span></span></span><?php
}
开发者ID:cin-system,项目名称:vtigercrm-cin,代码行数:33,代码来源:6a1d24d701ad87f1204336a6e81ce79d7424b465.file.DetailViewHeaderTitle.tpl.php
示例6: getImagePath
public function getImagePath()
{
$commentor = $this->getCommentedByModel();
if ($commentor) {
$customer = $this->get('customer');
$isMailConverterType = $this->get('from_mailconverter');
if (!empty($customer) && $isMailConverterType != 1) {
$recordModel = Vtiger_Record_Model::getInstanceById($customer);
$imageDetails = $recordModel->getImageDetails();
if (!empty($imageDetails)) {
return $imageDetails[0]['path'] . '_' . $imageDetails[0]['name'];
} else {
return vimage_path('CustomerPortal.png');
}
} else {
if ($isMailConverterType == 1) {
return vimage_path('MailConverterComment.png');
} else {
$imagePath = $commentor->getImageDetails();
if (!empty($imagePath[0]['name'])) {
return $imagePath[0]['path'] . '_' . $imagePath[0]['name'];
}
}
}
}
return false;
}
开发者ID:rcrrich,项目名称:YetiForceCRM,代码行数:27,代码来源:Record.php
示例7: content_56755d06176cd
function content_56755d06176cd($_smarty_tpl)
{
?>
<div class="quickWidgetContainer accordion"><?php
$_smarty_tpl->tpl_vars['val'] = new Smarty_variable(1, null, 0);
$_smarty_tpl->tpl_vars['SIDEBARWIDGET'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['SIDEBARWIDGET']->_loop = false;
$_smarty_tpl->tpl_vars['index'] = new Smarty_Variable();
$_from = $_smarty_tpl->tpl_vars['QUICK_LINKS']->value['SIDEBARWIDGET'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
foreach ($_from as $_smarty_tpl->tpl_vars['SIDEBARWIDGET']->key => $_smarty_tpl->tpl_vars['SIDEBARWIDGET']->value) {
$_smarty_tpl->tpl_vars['SIDEBARWIDGET']->_loop = true;
$_smarty_tpl->tpl_vars['index']->value = $_smarty_tpl->tpl_vars['SIDEBARWIDGET']->key;
?>
<div class="quickWidget"><div class="accordion-heading accordion-toggle quickWidgetHeader" data-target="#<?php
echo $_smarty_tpl->tpl_vars['MODULE']->value;
?>
_sideBar_<?php
echo Vtiger_Util_Helper::replaceSpaceWithUnderScores($_smarty_tpl->tpl_vars['SIDEBARWIDGET']->value->getLabel());
?>
"data-toggle="collapse" data-parent="#quickWidgets" data-label="<?php
echo $_smarty_tpl->tpl_vars['SIDEBARWIDGET']->value->getLabel();
?>
"data-widget-url="<?php
echo $_smarty_tpl->tpl_vars['SIDEBARWIDGET']->value->getUrl();
?>
" ><span class="pull-left"><img class="imageElement" data-rightimage="<?php
echo vimage_path('rightArrowWhite.png');
?>
" data-downimage="<?php
echo vimage_path('downArrowWhite.png');
?>
" src="<?php
echo vimage_path('rightArrowWhite.png');
?>
" /></span><h5 class="title widgetTextOverflowEllipsis pull-right" title="<?php
echo vtranslate($_smarty_tpl->tpl_vars['SIDEBARWIDGET']->value->getLabel(), $_smarty_tpl->tpl_vars['MODULE']->value);
?>
"><?php
echo vtranslate($_smarty_tpl->tpl_vars['SIDEBARWIDGET']->value->getLabel(), $_smarty_tpl->tpl_vars['MODULE']->value);
?>
</h5><div class="loadingImg hide pull-right"><div class="loadingWidgetMsg"><strong><?php
echo vtranslate('LBL_LOADING_WIDGET', $_smarty_tpl->tpl_vars['MODULE']->value);
?>
</strong></div></div><div class="clearfix"></div></div><div class="widgetContainer accordion-body collapse" id="<?php
echo $_smarty_tpl->tpl_vars['MODULE']->value;
?>
_sideBar_<?php
echo Vtiger_Util_Helper::replaceSpaceWithUnderScores($_smarty_tpl->tpl_vars['SIDEBARWIDGET']->value->getLabel());
?>
" data-url="<?php
echo $_smarty_tpl->tpl_vars['SIDEBARWIDGET']->value->getUrl();
?>
"></div></div><?php
}
?>
</div><?php
}
开发者ID:wsLapshin,项目名称:charter_crm,代码行数:60,代码来源:9be48198bb63a34d80ac3c1b2bbc45e031f79948.file.SideBarWidgets.tpl.php
示例8: 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'> <?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
示例9: if
<?php if ($_valid && !is_callable('content_560879c9cdc56')) {function content_560879c9cdc56($_smarty_tpl) {?>
<div class="container-fluid"><div class="widget_header"><h3><?php echo vtranslate('CustomerPortal',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</h3></div><hr><div class="contents row-fluid"><form id="customerPortalForm" class="form-horizontal"><div class="row-fluid"><input type="hidden" name="portalModulesInfo" value="" /><div class="control-group"><label class="muted control-label"><?php echo vtranslate('LBL_PRIVILEGES',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</label><div class="controls"><span class="row-fluid"><select name="privileges" class="select2 span3"><?php $_smarty_tpl->tpl_vars['USER_MODEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['USER_MODEL']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['USER_MODELS']->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;
?><?php $_smarty_tpl->tpl_vars['USER_ID'] = new Smarty_variable($_smarty_tpl->tpl_vars['USER_MODEL']->value->getId(), null, 0);?><option value="<?php echo $_smarty_tpl->tpl_vars['USER_ID']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['CURRENT_PORTAL_USER']->value==$_smarty_tpl->tpl_vars['USER_ID']->value){?> selected <?php }?>><?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->getName();?>
</option><?php } ?></select><span class="span1"> </span><span class="span7"><i class="icon-info-sign alignMiddle"></i> <?php echo vtranslate('LBL_PREVILEGES_MESSAGE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</span><span class="span1"> </span></span></div></div><div class="control-group"><label class="muted control-label"><?php echo vtranslate('LBL_DEFAULT_ASSIGNEE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</label><div class="controls"><span class="row-fluid"><select name="defaultAssignee" class="select2 span3"><optgroup style="border: none" label="<?php echo vtranslate('LBL_USERS',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
" ><?php $_smarty_tpl->tpl_vars['USER_MODEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['USER_MODEL']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['USER_MODELS']->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;
?><?php $_smarty_tpl->tpl_vars['USER_ID'] = new Smarty_variable($_smarty_tpl->tpl_vars['USER_MODEL']->value->getId(), null, 0);?><option value="<?php echo $_smarty_tpl->tpl_vars['USER_ID']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['CURRENT_DEFAULT_ASSIGNEE']->value==$_smarty_tpl->tpl_vars['USER_ID']->value){?> selected <?php }?>><?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->getName();?>
</option><?php } ?></optgroup><optgroup style="border: none" label="<?php echo vtranslate('LBL_GROUPS',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
"><?php $_smarty_tpl->tpl_vars['GROUP_MODEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['GROUP_MODEL']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['GROUP_MODELS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['GROUP_MODEL']->key => $_smarty_tpl->tpl_vars['GROUP_MODEL']->value){
$_smarty_tpl->tpl_vars['GROUP_MODEL']->_loop = true;
?><?php $_smarty_tpl->tpl_vars['GROUP_ID'] = new Smarty_variable($_smarty_tpl->tpl_vars['GROUP_MODEL']->value->getId(), null, 0);?><option value="<?php echo $_smarty_tpl->tpl_vars['GROUP_ID']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['CURRENT_DEFAULT_ASSIGNEE']->value==$_smarty_tpl->tpl_vars['GROUP_ID']->value){?> selected <?php }?>><?php echo $_smarty_tpl->tpl_vars['GROUP_MODEL']->value->getName();?>
</option><?php } ?></optgroup></select><span class="span1"> </span><span class="span7"><i class="icon-info-sign alignMiddle"></i> <?php echo vtranslate('LBL_DEFAULT_ASSIGNEE_MESSAGE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</span><span class="span1"> </span></span></div></div><div class="control-group"><label class="muted control-label"><?php echo vtranslate('LBL_PORTAL_URL',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</label><div class="controls"><span class="row-fluid"><span class="span4 pushDownHalfper"><a class="alignBottom" href="<?php echo $_smarty_tpl->tpl_vars['PORTAL_URL']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['PORTAL_URL']->value;?>
</a></span><span class="span7"><i class="icon-info-sign alignMiddle"></i> <?php echo vtranslate('LBL_PORTAL_URL_MESSAGE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</span><span class="span1"> </span></span></div></div><div><i class="icon-info-sign alignMiddle"></i> <?php echo vtranslate('LBL_DRAG_AND_DROP_MESSAGE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</div><br><table id="portalModulesTable" class="table table-bordered table-condensed themeTableColor"><thead><tr class="blockHeader"><th><?php echo vtranslate('LBL_MODULE_NAME',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</th><th><?php echo vtranslate('LBL_ENABLE_MODULE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</th><th><?php echo vtranslate('LBL_VIEW_ALL_RECORDS',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</th></tr></thead><tbody><?php $_smarty_tpl->tpl_vars['MODEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['MODEL']->_loop = false;
$_smarty_tpl->tpl_vars['TAB_ID'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['MODULES_MODELS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['MODEL']->key => $_smarty_tpl->tpl_vars['MODEL']->value){
$_smarty_tpl->tpl_vars['MODEL']->_loop = true;
$_smarty_tpl->tpl_vars['TAB_ID']->value = $_smarty_tpl->tpl_vars['MODEL']->key;
?><?php $_smarty_tpl->tpl_vars['MODULE_NAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['MODEL']->value->get('name'), null, 0);?><tr class="portalModuleRow" data-id="<?php echo $_smarty_tpl->tpl_vars['TAB_ID']->value;?>
" data-sequence="<?php echo $_smarty_tpl->tpl_vars['MODEL']->value->get('sequence');?>
" data-module="<?php echo $_smarty_tpl->tpl_vars['MODULE_NAME']->value;?>
"><input type="hidden" name="portalModulesInfo[<?php echo $_smarty_tpl->tpl_vars['TAB_ID']->value;?>
][sequence]" value="<?php echo $_smarty_tpl->tpl_vars['MODEL']->value->get('sequence');?>
" /><td><div class="row-fluid"><span class="span1"> </span><span class="span1"><a><img src="<?php echo vimage_path('drag.png');?>
" border="0" title="<?php echo vtranslate('LBL_DRAG',$_smarty_tpl->tpl_vars['MODULE']->value);?>
"/></a></span><span class="span10"><?php echo vtranslate($_smarty_tpl->tpl_vars['MODULE_NAME']->value,$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
</span></div></td><td><input type="hidden" name="portalModulesInfo[<?php echo $_smarty_tpl->tpl_vars['TAB_ID']->value;?>
][visible]" value="0" /><input type="checkbox" name="portalModulesInfo[<?php echo $_smarty_tpl->tpl_vars['TAB_ID']->value;?>
][visible]" value="1" <?php if ($_smarty_tpl->tpl_vars['MODEL']->value->get('visible')=='1'){?> checked <?php }?>/></td><td><label class="radio inline"><input type="radio" name="portalModulesInfo[<?php echo $_smarty_tpl->tpl_vars['TAB_ID']->value;?>
][prefValue]" value="1" <?php if ($_smarty_tpl->tpl_vars['MODEL']->value->get('prefvalue')=='1'){?> checked="checked" <?php }?>/> <?php echo vtranslate('LBL_YES',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</label><label class="radio inline"><input type="radio" name="portalModulesInfo[<?php echo $_smarty_tpl->tpl_vars['TAB_ID']->value;?>
][prefValue]" value="0" <?php if ($_smarty_tpl->tpl_vars['MODEL']->value->get('prefvalue')=='0'){?> checked="checked" <?php }?>/> <?php echo vtranslate('LBL_NO',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</label></td></tr><?php } ?></tbody></table></div><div class="row-fluid"><div class="span6 padding1per"><button class="btn btn-success pull-right" type="submit" disabled="true" name="savePortalInfo"><strong><?php echo vtranslate('LBL_SAVE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</strong></button></div><div class="span6"> </div></div></form></div></div>
<?php }} ?>
开发者ID:jeremyevans6,项目名称:kulturedTiger-,代码行数:57,代码来源:f1b66c14d0085f0e8be3ff4dadcafe53aa892458.file.Index.tpl.php
示例10: content_54e3febedb0a7
function content_54e3febedb0a7($_smarty_tpl)
{
?>
<div class="span2 row-fluid">
<div id="_quicklinks_mainuidiv_" class="quickWidgetContainer accordion">
<?php
echo $_smarty_tpl->getSubTemplate("modules/MailManager/MainuiQuickLinks.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
?>
<div id='_folderprogress_' style='float: right; display: none; position: absolute;left: 30px; font-weight: bold;'>
<span><?php
echo vtranslate('JSLBL_LOADING_FOLDERS', $_smarty_tpl->tpl_vars['MODULE']->value);
?>
</span><img src="<?php
echo vimage_path('vtbusy.gif');
?>
" border='0' align='absmiddle'>
</div>
<div id="_mainfolderdiv_" class="quickWidgetContainer accordion"></div>
</div>
</div>
<div class="contentsDiv span10 marginLeftZero">
<div id='_progress_' style='float: right; display: none; position: absolute; right: 35px; font-weight: bold;'>
<span id='_progressmsg_'>...</span><img src="<?php
echo vimage_path('vtbusy.gif');
?>
" border='0' align='absmiddle'></div>
<span id="_messagediv_"><?php
if ($_smarty_tpl->tpl_vars['ERROR']->value) {
?>
<p><?php
echo $_smarty_tpl->tpl_vars['ERROR']->value;
?>
</p><?php
}
?>
</span><br>
<div id="_contentdiv_"></div>
<div id="_contentdiv2_"></div>
<div id="_settingsdiv_"></div>
<div id="_relationpopupdiv_" style="display:none;position:absolute;width:800px;z-index:80000;"></div>
<div id="_replydiv_" style="display:none;"></div>
<div id="replycontentdiv" style="display:none;"></div>
</div>
<div id = '__vtiger__'></div>
<script type='text/javascript'>
jQuery(function(){MailManager.mainui()});
</script>
<input type="hidden" name="module" value="MailManager"><?php
}
开发者ID:jmangarret,项目名称:vtigercrm,代码行数:57,代码来源:82c508287fad9558d0b3095708e02308928e71a5.file.index.tpl.php
示例11: if
<?php if ($_valid && !is_callable('content_5605a0d218a11')) {function content_5605a0d218a11($_smarty_tpl) {?>
<div class="span2 row-fluid"><div id="_quicklinks_mainuidiv_" class="quickWidgetContainer accordion"><?php echo $_smarty_tpl->getSubTemplate ("modules/MailManager/MainuiQuickLinks.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<div class="clearfix"> <input type="hidden" id="isMailBoxExists" value="<?php if ($_smarty_tpl->tpl_vars['MAILBOX']->value->exists()){?>1<?php }else{ ?>0<?php }?>"/></div><div class="quickWidget"><div class="accordion-heading accordion-toggle quickWidgetHeader" onclick="MailManager.getFoldersList();"><span class="pull-left"><img class="imageElement" data-rightimage="<?php echo vimage_path('rightArrowWhite.png');?>
" data-downimage="<?php echo vimage_path('downArrowWhite.png');?>
" src="<?php echo vimage_path('rightArrowWhite.png');?>
" /></span> <h5 class="title widgetTextOverflowEllipsis pull-right"><?php echo vtranslate('LBL_Folders',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</h5></div><div class="widgetContainer accordion-body collapse in" id="folders"><input type=hidden name="mm_selected_folder" id="mm_selected_folder"><input type="hidden" name="_folder" id="mailbox_folder"></div></div><div id="_mainfolderdiv_" class="quickWidgetContainer accordion"></div></div></div><div class="contentsDiv span10 marginLeftZero"><div id='_progress_' style='float: right; display: none; position: absolute; right: 35px; font-weight: bold;'><span id='_progressmsg_'>...</span><img src="<?php echo vimage_path('vtbusy.gif');?>
" border='0' align='absmiddle'></div><span id="_messagediv_"><?php if ($_smarty_tpl->tpl_vars['ERROR']->value){?><p><?php echo $_smarty_tpl->tpl_vars['ERROR']->value;?>
</p><?php }?></span><div id="_contentdiv_"></div><div id="_contentdiv2_" class="container-fluid"></div><div id="_settingsdiv_"></div><div id="_relationpopupdiv_" style="display:none;position:absolute;width:800px;z-index:80000;"></div><div id="_replydiv_" style="display:none;"></div><div id="replycontentdiv" style="display:none;"></div></div><div id = '__vtiger__'></div><script type='text/javascript'>
jQuery(function(){MailManager.mainui()});
</script><input type="hidden" name="module" value="MailManager"><?php }} ?>
开发者ID:jeremyevans6,项目名称:kulturedTiger-,代码行数:12,代码来源:4a1d4a8c1f20c819173252f3e287945e307f655e.file.index.tpl.php
示例12: if
<?php if ($_valid && !is_callable('content_56059e5cb78f8')) {function content_56059e5cb78f8($_smarty_tpl) {?>
<span class="span2"><img src="<?php echo vimage_path('summary_Leads.png');?>
" class="summaryImg" /></span><span class="span8 margin0px"><span class="row-fluid"><h4 class="recordLabel pushDown" title="<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getDisplayValue('salutationtype');?>
<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getName();?>
"> <?php if ($_smarty_tpl->tpl_vars['RECORD']->value->getDisplayValue('salutationtype')){?><span class="salutation"><?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getDisplayValue('salutationtype');?>
</span> <?php }?><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable(0, null, 0);?><?php $_smarty_tpl->tpl_vars['NAME_FIELD'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['NAME_FIELD']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getNameFields(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['NAME_FIELD']->key => $_smarty_tpl->tpl_vars['NAME_FIELD']->value){
$_smarty_tpl->tpl_vars['NAME_FIELD']->_loop = true;
?><?php $_smarty_tpl->tpl_vars['FIELD_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getField($_smarty_tpl->tpl_vars['NAME_FIELD']->value), null, 0);?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getPermissions()){?><span class="<?php echo $_smarty_tpl->tpl_vars['NAME_FIELD']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['RECORD']->value->get($_smarty_tpl->tpl_vars['NAME_FIELD']->value);?>
</span><?php if ($_smarty_tpl->tpl_vars['COUNTER']->value==0&&($_smarty_tpl->tpl_vars['RECORD']->value->get($_smarty_tpl->tpl_vars['NAME_FIELD']->value))){?> <?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable($_smarty_tpl->tpl_vars['COUNTER']->value+1, null, 0);?><?php }?><?php }?><?php } ?></h4></span><span class="row-fluid"><span class="designation_label"> <?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getDisplayValue('designation');?>
</span><?php if ($_smarty_tpl->tpl_vars['RECORD']->value->getDisplayValue('designation')&&$_smarty_tpl->tpl_vars['RECORD']->value->getDisplayValue('company')){?> <?php echo vtranslate('LBL_AT');?>
<?php }?><span class="company_label"><?php echo $_smarty_tpl->tpl_vars['RECORD']->value->get('company');?>
</span></span></span><?php }} ?>
开发者ID:jeremyevans6,项目名称:kulturedTiger-,代码行数:15,代码来源:175615073bc7f53e72be3131d1a89a125ec4e290.file.DetailViewHeaderTitle.tpl.php
示例13: content_5506e559c1c46
function content_5506e559c1c46($_smarty_tpl)
{
?>
<span class="span2"><img src="<?php
echo vimage_path('summary_Tickets.png');
?>
" class="summaryImg" /></span><span class="span10 margin0px"><span class="row-fluid"><h4 class="recordLabel" title="<?php
echo $_smarty_tpl->tpl_vars['RECORD']->value->getName();
?>
"><?php
$_smarty_tpl->tpl_vars['NAME_FIELD'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['NAME_FIELD']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getNameFields();
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
foreach ($_from as $_smarty_tpl->tpl_vars['NAME_FIELD']->key => $_smarty_tpl->tpl_vars['NAME_FIELD']->value) {
$_smarty_tpl->tpl_vars['NAME_FIELD']->_loop = true;
$_smarty_tpl->tpl_vars['FIELD_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getField($_smarty_tpl->tpl_vars['NAME_FIELD']->value), null, 0);
if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getPermissions()) {
?>
<span class="<?php
echo $_smarty_tpl->tpl_vars['NAME_FIELD']->value;
?&g
|
请发表评论