本文整理汇总了PHP中smarty_function_sugar_getimage函数的典型用法代码示例。如果您正苦于以下问题:PHP smarty_function_sugar_getimage函数的具体用法?PHP smarty_function_sugar_getimage怎么用?PHP smarty_function_sugar_getimage使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了smarty_function_sugar_getimage函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: smarty_function_sugar_getimage
<div class="clear"></div>
<div id="pageContainer" class="yui-skin-sam">
<div id="pageNum_<?php
echo $this->_tpl_vars['activePage'];
?>
_div">
<table width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-top: 5px;">
<tr>
<td>
</td>
<td rowspan="3">
<?php
echo smarty_function_sugar_getimage(array('name' => "blank.gif", 'width' => '40', 'height' => '1', 'border' => '0'), $this);
?>
</td>
<td align='right'>
<?php
if (!$this->_tpl_vars['lock_homepage']) {
?>
<input id="add_dashlets" class="button" type="button" value="<?php
echo $this->_tpl_vars['lblAddDashlets'];
?>
" onclick="return SUGAR.mySugar.showDashletsDialog();"/><?php
}
?>
</td>
</tr>
示例2: ob_start
</tr>
<?php
if ($this->_tpl_vars['DISPLAY_SAVED_SEARCH']) {
?>
<tr>
<td colspan='2'>
<a class='tabFormAdvLink' onhover href='javascript:toggleInlineSearch()'>
<?php
ob_start();
echo smarty_function_sugar_translate(array('label' => 'LBL_ALT_SHOW_OPTIONS'), $this);
$this->_smarty_vars['capture']['default'] = ob_get_contents();
$this->assign('alt_show_hide', ob_get_contents());
ob_end_clean();
?>
<?php
echo smarty_function_sugar_getimage(array('alt' => $this->_tpl_vars['alt_show_hide'], 'name' => 'advanced_search', 'ext' => ".gif", 'other_attributes' => 'border="0" id="up_down_img" '), $this);
?>
<?php
echo $this->_tpl_vars['APP']['LNK_SAVED_VIEWS'];
?>
</a><br>
<input type='hidden' id='showSSDIV' name='showSSDIV' value='<?php
echo $this->_tpl_vars['SHOWSSDIV'];
?>
'><p>
</td>
<td scope='row' width='10%' nowrap="nowrap">
<?php
echo smarty_function_sugar_translate(array('label' => 'LBL_SAVE_SEARCH_AS', 'module' => 'SavedSearch'), $this);
?>
示例3: smarty_function_sugar_getimage
<input type="hidden" name="advanced" value="false">
<?php
echo smarty_function_sugar_getimage(array('name' => 'searchMore', 'ext' => ".gif", 'alt' => $this->_tpl_vars['APP']['LBL_SEARCH'], 'other_attributes' => 'border="0" id="unified_search_advanced_img" '), $this);
?>
<input type="text" name="query_string" id="query_string" size="20" value="<?php
echo $this->_tpl_vars['SEARCH'];
?>
">
<input type="submit" class="button" value="<?php
echo $this->_tpl_vars['APP']['LBL_SEARCH'];
?>
">
</form><br />
<div id="unified_search_advanced_div"> </div>
</div>
<div id="sitemapLink">
<span id="sitemapLinkSpan">
<?php
echo $this->_tpl_vars['APP']['LBL_SITEMAP'];
?>
<?php
echo smarty_function_sugar_getimage(array('name' => 'MoreDetail', 'alt' => $this->_tpl_vars['app_strings']['LBL_MOREDETAIL'], 'ext' => ".png", 'other_attributes' => ''), $this);
?>
</span>
</div>
<span id='sm_holder'></span>
<?php
}
示例4: smarty_core_load_plugins
<?php
/* Smarty version 2.6.29, created on 2016-02-03 00:30:11
compiled from modules/ModuleBuilder/tpls/MBPackage/deploy.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'sugar_getimage', 'modules/ModuleBuilder/tpls/MBPackage/deploy.tpl', 41, false))), $this);
echo smarty_function_sugar_getimage(array('name' => 'img_loading', 'alt' => $this->_tpl_vars['mod_strings']['LBL_LOADING'], 'ext' => ".gif", 'other_attributes' => 'align="absmiddle" '), $this);
?>
<?php
echo $this->_tpl_vars['message'];
?>
<?php
echo $this->_tpl_vars['package'];
?>
<script type='text/javascript' language='Javascript'>ModuleBuilder.beginDeploy('<?php
echo $this->_tpl_vars['package'];
?>
');</script>
示例5: elseif
} elseif (!$this->_tpl_vars['pageData']['offsets']['totalCounted'] || $this->_tpl_vars['pageData']['offsets']['total'] == $this->_tpl_vars['pageData']['offsets']['lastOffsetOnPage']) {
?>
<button type='button' class='button' disabled title='<?php
echo $this->_tpl_vars['navStrings']['end'];
?>
'>
<?php
echo smarty_function_sugar_getimage(array('name' => 'end_off', 'ext' => ".png", 'alt' => $this->_tpl_vars['navStrings']['end'], 'other_attributes' => 'align="absmiddle" border="0" '), $this);
?>
</button>
<!-- <?php
echo $this->_tpl_vars['navStrings']['end'];
?>
<?php
echo smarty_function_sugar_getimage(array('name' => 'end_off', 'ext' => ".png", 'alt' => $this->_tpl_vars['navStrings']['end'], 'other_attributes' => 'align="absmiddle" border="0" '), $this);
?>
-->
<?php
}
?>
</td>
</tr>
</table>
</td>
</tr>
</table>
<?php
if ($this->_tpl_vars['prerow']) {
?>
<script>
示例6: ob_start
echo $this->_tpl_vars['action'];
?>
&record=<?php
echo $this->_tpl_vars['rowData']['ID'];
?>
"
>
<?php
ob_start();
echo smarty_function_sugar_translate(array('label' => 'LNK_EDIT'), $this);
$this->_smarty_vars['capture']['tmp1'] = ob_get_contents();
$this->assign('alt_edit', ob_get_contents());
ob_end_clean();
?>
<?php
echo smarty_function_sugar_getimage(array('name' => "edit_inline.gif", 'attr' => 'border="0" ', 'alt' => $this->_tpl_vars['alt_edit']), $this);
?>
</a>
<?php
}
?>
</td>
<?php
}
?>
<?php
echo smarty_function_counter(array('start' => 0, 'name' => 'colCounter', 'print' => false, 'assign' => 'colCounter'), $this);
?>
<?php
示例7: smarty_function_sugar_getimage
<tr class="toggleClass yui-hidden">
<td class="advancedSearchTD">
<?php
echo $this->_tpl_vars['app_strings']['LBL_EMAIL_SEARCH_DATE_UNTIL'];
?>
: <i>(<?php
echo $this->_tpl_vars['dateFormatExample'];
?>
)</i><br/>
<input name='searchDateTo' id='searchDateTo' onblur="parseDate(this, '<?php
echo $this->_tpl_vars['dateFormat'];
?>
');" maxlength='10' size='11' value="" type="text">
<?php
echo smarty_function_sugar_getimage(array('name' => 'jscalendar', 'ext' => ".gif", 'alt' => $this->_tpl_vars['app_strings']['LBL_ENTER_DATE'], 'other_attributes' => 'align="absmiddle" id="searchDateTo_trigger" '), $this);
?>
</td>
</tr>
<tr class="toggleClass yui-hidden">
<td class="advancedSearchTD">
<?php
echo smarty_function_sugar_translate(array('label' => 'LBL_ASSIGNED_TO'), $this);
?>
: <br/>
<input name="assigned_user_name" class="sqsEnabled" tabindex="2" id="assigned_user_name" size="" value="<?php
echo $this->_tpl_vars['currentUserName'];
?>
" type="text" >
示例8: settype
</a>
<?php
$_from = $this->_tpl_vars['GCL']['SUBMENU'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$this->_foreach['gcl_submenu'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['gcl_submenu']['total'] > 0) {
foreach ($_from as $this->_tpl_vars['gcl_submenu_key'] => $this->_tpl_vars['GCL_SUBMENU']) {
$this->_foreach['gcl_submenu']['iteration']++;
?>
<?php
if ($this->_foreach['gcl_submenu']['iteration'] <= 1) {
?>
<?php
echo smarty_function_sugar_getimage(array('name' => 'menuarrow', 'ext' => ".gif", 'alt' => "", 'other_attributes' => ''), $this);
?>
<br />
<ul class="cssmenu">
<?php
}
?>
<li><a id="<?php
echo $this->_tpl_vars['gcl_submenu_key'];
?>
_link" href="<?php
echo $this->_tpl_vars['GCL_SUBMENU']['URL'];
?>
"<?php
if (!empty($this->_tpl_vars['GCL_SUBMENU']['ONCLICK'])) {
?>
示例9: is_array
echo is_array($_tmp = @$this->_tpl_vars['rowData'][$this->_tpl_vars['params']['id']]) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['rowData']['ID']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['rowData']['ID']);
?>
&offset=<?php
echo $this->_tpl_vars['pageData']['offsets']['current'] + $this->_foreach['rowIteration']['iteration'];
?>
&stamp=<?php
echo $this->_tpl_vars['pageData']['stamp'];
?>
&return_module=<?php
echo is_array($_tmp = @$this->_tpl_vars['params']['module']) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['pageData']['bean']['moduleDir']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['pageData']['bean']['moduleDir']);
?>
' title="<?php
echo smarty_function_sugar_translate(array('label' => 'LBL_EDIT_INLINE'), $this);
?>
"><?php
echo smarty_function_sugar_getimage(array('name' => "edit_inline.gif", 'attr' => 'border="0" '), $this);
?>
</a>
<?php
}
?>
</td>
<?php
}
?>
<?php
echo smarty_function_counter(array('start' => 0, 'name' => 'colCounter', 'print' => false, 'assign' => 'colCounter'), $this);
?>
<?php
$_from = $this->_tpl_vars['displayColumns'];
示例10: smarty_function_sugar_getimage
</td>
</tr>
<tr>
<td class='mbLBL' ><b><?php
echo $this->_tpl_vars['mod_strings']['LBL_DESCRIPTION'];
?>
</b></td><td><textarea name='description' cols='60' rows='5'><?php
echo $this->_tpl_vars['package']->description;
?>
</textarea></td>
</tr>
<tr>
<td></td><td id='readme'><?php
echo smarty_function_sugar_getimage(array('name' => 'advanced_search', 'ext' => ".gif", 'alt' => $this->_tpl_vars['mod_strings']['LBL_HIDEOPTIONS'], 'other_attributes' => 'border="0" id="options" '), $this);
?>
<a style="text-decoration:none" href="javascript: void(0)" onclick ="toggleEl('readmefield');"><b><?php
echo $this->_tpl_vars['mod_strings']['LBL_ADD_README'];
?>
</b></a></td>
</tr>
<tr>
<td height='100%'> </td><td> </td>
</tr>
<tr id='readmefield' style="display:none;">
<td></td>
<td ><textarea name='readme' cols='60' rows='10'><?php
echo $this->_tpl_vars['package']->readme;
?>
</textarea></td>
示例11: ob_start
?>
" value='<?php
echo $_REQUEST['end_range_date_modified_basic'];
?>
' title='' tabindex='' size="11" style="width:100px !important;" maxlength="10">
<?php
ob_start();
?>
align="absmiddle" border="0" id="end_range_<?php
echo $this->_tpl_vars['id'];
?>
_trigger"<?php
$this->_smarty_vars['capture']['default'] = ob_get_contents();
$this->assign('other_attributes', ob_get_contents());
ob_end_clean();
echo smarty_function_sugar_getimage(array('name' => 'jscalendar', 'ext' => ".gif", 'alt' => $this->_tpl_vars['APP'] . ".LBL_ENTER_DATE other_attributes=" . $this->_tpl_vars['other_attributes']), $this);
?>
<script type="text/javascript">
Calendar.setup ({
inputField : "end_range_<?php
echo $this->_tpl_vars['id'];
?>
",
daFormat : "<?php
echo $this->_tpl_vars['CALENDAR_FORMAT'];
?>
",
button : "end_range_<?php
echo $this->_tpl_vars['id'];
?>
示例12: smarty_function_sugar_fetch
echo $this->_tpl_vars['displayParams']['module'];
echo $this->_tpl_vars['vardef']['displayParams']['module'];
?>
" class="tabDetailViewDFLink" target='_blank'><?php
echo smarty_function_sugar_fetch(array('object' => $this->_tpl_vars['parentFieldArray'], 'key' => $this->_tpl_vars['col']), $this);
?>
<?php
if (isset($this->_tpl_vars['vardef']['allowEapm']) && $this->_tpl_vars['vardef']['allowEapm'] && isset($this->_tpl_vars['parentFieldArray']['DOC_TYPE'])) {
ob_start();
echo smarty_function_sugar_fetch(array('object' => $this->_tpl_vars['parentFieldArray'], 'key' => 'DOC_TYPE'), $this);
?>
_image_inline.png
<?php
$this->_smarty_vars['capture']['imageNameCapture'] = ob_get_contents();
$this->assign('imageName', ob_get_contents());
ob_end_clean();
ob_start();
echo smarty_function_sugar_getimagepath(array('file' => $this->_tpl_vars['imageName']), $this);
?>
<?php
$this->_smarty_vars['capture']['imageURLCapture'] = ob_get_contents();
$this->assign('imageURL', ob_get_contents());
ob_end_clean();
if (strlen($this->_tpl_vars['imageURL']) > 1) {
echo smarty_function_sugar_getimage(array('name' => $this->_tpl_vars['imageName'], 'alt' => $this->_tpl_vars['imageName'], 'other_attributes' => 'border="0" '), $this);
}
}
?>
</a>
示例13: smarty_function_sugar_getimage
?>
<div id="chartDashlets" style="<?php
if ($this->_tpl_vars['moduleName'] == 'Home') {
?>
height:400px;display:none;<?php
} else {
?>
height:425px;display:;<?php
}
?>
">
<?php
if ($this->_tpl_vars['charts'] != false) {
?>
<h3><span id="basicChartDashletsExpCol"><a href="javascript:void(0)" onClick="javascript:SUGAR.mySugar.collapseList('basicChartDashlets');"><?php
echo smarty_function_sugar_getimage(array('alt' => $this->_tpl_vars['app_strings']['LBL_BASIC_SEARCH'], 'name' => 'basic_search', 'ext' => ".gif", 'other_attributes' => 'align="absmiddle" border="0" '), $this);
?>
</span></a> <?php
echo smarty_function_sugar_translate(array('label' => 'LBL_BASIC_CHARTS', 'module' => 'Home'), $this);
?>
</h3>
<div id="basicChartDashletsList">
<table width="100%">
<?php
$_from = $this->_tpl_vars['charts'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
if (count($_from)) {
foreach ($_from as $this->_tpl_vars['chart']) {
?>
示例14: ob_start
?>
.update(); SugarWidgetScheduler.update_time();" >
<?php
ob_start();
?>
alt="<?php
echo $this->_tpl_vars['APP']['LBL_ENTER_DATE'];
?>
" style="position:relative; top:6px" border="0" id="<?php
echo $this->_tpl_vars['fields']['date_end']['name'];
?>
_trigger"<?php
$this->_smarty_vars['capture']['default'] = ob_get_contents();
$this->assign('other_attributes', ob_get_contents());
ob_end_clean();
echo smarty_function_sugar_getimage(array('name' => 'jscalendar', 'ext' => ".gif", 'other_attributes' => $this->_tpl_vars['other_attributes']), $this);
?>
</td>
<td nowrap>
<div id="<?php
echo $this->_tpl_vars['fields']['date_end']['name'];
?>
_time_section"></div>
</td>
</tr>
</table>
<input type="hidden" class="DateTimeCombo" id="<?php
echo $this->_tpl_vars['fields']['date_end']['name'];
?>
" name="<?php
示例15: smarty_function_sugar_getimage
?>
" />
<input type="hidden" name="module" value="<?php
echo $this->_tpl_vars['module'];
?>
" />
<input type="hidden" name="to_pdf" value="true" />
<span class="id-ff">
<button type="submit" name="vCardButton" id="btn_vCardButton" value="<?php
echo $this->_tpl_vars['APP']['LBL_VCARD'];
?>
" title="<?php
echo $this->_tpl_vars['APP']['LBL_VCARD'];
?>
" class="button"><?php
echo smarty_function_sugar_getimage(array('alt' => $this->_tpl_vars['app_strings']['LBL_ID_FF_VCARD'], 'name' => "id-ff-vcard", 'ext' => ".png", 'other_attributes' => ''), $this);
?>
</button>
</span>
</form>
<?php
}
?>
</td>
<?php
echo smarty_function_counter(array('name' => 'fieldsUsed'), $this);
?>
<td width='12.5%' scope="col">
<?php
if (!$this->_tpl_vars['fields']['phone_work']['hidden']) {