本文整理汇总了PHP中smarty_function_sugar_getimagepath函数的典型用法代码示例。如果您正苦于以下问题:PHP smarty_function_sugar_getimagepath函数的具体用法?PHP smarty_function_sugar_getimagepath怎么用?PHP smarty_function_sugar_getimagepath使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了smarty_function_sugar_getimagepath函数的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: smarty_function_sugar_getimagepath
' onclick='SUGAR.searchForm.clear_form(this.form); return false;' class='button' type='button' name='clear' id='search_form_clear' value='<?php
echo $this->_tpl_vars['APP']['LBL_CLEAR_BUTTON_LABEL'];
?>
'/>
<?php
if ($this->_tpl_vars['HAS_ADVANCED_SEARCH']) {
?>
<a id="advanced_search_link" onclick="SUGAR.searchForm.searchFormSelect('<?php
echo $this->_tpl_vars['module'];
?>
|advanced_search','<?php
echo $this->_tpl_vars['module'];
?>
|basic_search')" href="javascript:void(0);" accesskey="<?php
echo $this->_tpl_vars['APP']['LBL_ADV_SEARCH_LNK_KEY'];
?>
" ><?php
echo $this->_tpl_vars['APP']['LNK_ADVANCED_SEARCH'];
?>
</a>
<?php
}
?>
</td>
<td class="helpIcon" width="*"><img alt="Help" border='0' id="filterHelp" src='<?php
echo smarty_function_sugar_getimagepath(array('file' => "help-dashlet.gif"), $this);
?>
'></td>
</tr>
</table><?php
echo '<script language="javascript">if(typeof sqs_objects == \'undefined\'){var sqs_objects = new Array;}sqs_objects[\'search_form_modified_by_name_basic\']={"form":"search_form","method":"get_user_array","field_list":["user_name","id"],"populate_list":["modified_by_name_basic","modified_user_id_basic"],"required_list":["modified_user_id"],"conditions":[{"name":"user_name","op":"like_custom","end":"%","value":""}],"limit":"30","no_match_text":"No Match"};sqs_objects[\'search_form_created_by_name_basic\']={"form":"search_form","method":"get_user_array","field_list":["user_name","id"],"populate_list":["created_by_name_basic","created_by_basic"],"required_list":["created_by"],"conditions":[{"name":"user_name","op":"like_custom","end":"%","value":""}],"limit":"30","no_match_text":"No Match"};sqs_objects[\'search_form_assigned_user_name_basic\']={"form":"search_form","method":"get_user_array","field_list":["user_name","id"],"populate_list":["assigned_user_name_basic","assigned_user_id_basic"],"required_list":["assigned_user_id"],"conditions":[{"name":"user_name","op":"like_custom","end":"%","value":""}],"limit":"30","no_match_text":"No Match"};</script>';
示例2: smarty_function_sugar_translate
?>
" tabindex="" title="<?php
echo smarty_function_sugar_translate(array('label' => 'LBL_ACCESSKEY_CLEAR_ACCOUNTS_TITLE'), $this);
?>
" class="button lastChild"
onclick="SUGAR.clearRelateField(this.form, '<?php
echo $this->_tpl_vars['contact_def']['account_name']['name'];
?>
', '<?php
echo $this->_tpl_vars['contact_def']['account_name']['id_name'];
?>
');" value="<?php
echo smarty_function_sugar_translate(array('label' => 'LBL_ACCESSKEY_CLEAR_ACCOUNTS_LABEL'), $this);
?>
" ><img src="<?php
echo smarty_function_sugar_getimagepath(array('file' => "id-ff-clear.png"), $this);
?>
"></button>
</span>
<script type="text/javascript">
SUGAR.util.doWhen(
"typeof(sqs_objects) != 'undefined' && typeof(sqs_objects['<?php
echo $this->_tpl_vars['form_name'];
?>
_<?php
echo $this->_tpl_vars['contact_def']['account_name']['name'];
?>
']) != 'undefined'",
enableQS
);
</script>
示例3: smarty_function_counter
}
?>
<div id='detailpanel_2' class='detail view detail508 expanded'>
<?php
echo smarty_function_counter(array('name' => 'panelFieldCount', 'start' => 0, 'print' => false, 'assign' => 'panelFieldCount'), $this);
?>
<h4>
<a href="javascript:void(0)" class="collapseLink" onclick="collapsePanel(2);">
<img border="0" id="detailpanel_2_img_hide" src="<?php
echo smarty_function_sugar_getimagepath(array('file' => "basic_search.gif"), $this);
?>
"></a>
<a href="javascript:void(0)" class="expandLink" onclick="expandPanel(2);">
<img border="0" id="detailpanel_2_img_show" src="<?php
echo smarty_function_sugar_getimagepath(array('file' => "advanced_search.gif"), $this);
?>
"></a>
<?php
echo smarty_function_sugar_translate(array('label' => 'LBL_EMPLOYEE_INFORMATION', 'module' => 'Users'), $this);
?>
<script>
document.getElementById('detailpanel_2').className += ' expanded';
</script>
</h4>
<table id='LBL_EMPLOYEE_INFORMATION' class="panelContainer" cellspacing='<?php
echo $this->_tpl_vars['gridline'];
?>
'>
<?php
示例4: smarty_function_sugar_getimagepath
echo $this->_tpl_vars['MOD']['LBL_THEME'];
?>
</h4></td>
</tr>
<tr>
<td width="17%">
<select name="user_theme" tabindex='366' size="20" id="user_theme_picker" style="width: 100%">
<?php
echo $this->_tpl_vars['THEMES'];
?>
</select>
</td>
<td width="33%">
<img id="themePreview" src="<?php
echo smarty_function_sugar_getimagepath(array('file' => 'themePreview.png'), $this);
?>
" border="1" />
</td>
<td width="17%"> </td>
<td width="33%"> </td>
</tr>
</tbody>
</table>
</div>
</div>
<?php
}
?>
<div>
<div id="settings" style="display:<?php
示例5: smarty_function_sugar_getimagepath
<script type="text/javascript">
<!--
SUGAR.themes.theme_name = \'';
echo $this->_tpl_vars['THEME'];
echo '\';
SUGAR.themes.theme_ie6compat = \'';
echo $this->_tpl_vars['THEME_IE6COMPAT'];
echo '\';
SUGAR.themes.hide_image = \'';
echo smarty_function_sugar_getimagepath(array('file' => "hide.gif"), $this);
echo '\';
SUGAR.themes.show_image = \'';
echo smarty_function_sugar_getimagepath(array('file' => "show.gif"), $this);
echo '\';
SUGAR.themes.loading_image = \'';
echo smarty_function_sugar_getimagepath(array('file' => "img_loading.gif"), $this);
echo '\';
SUGAR.themes.allThemes = eval(';
echo $this->_tpl_vars['allThemes'];
echo ');
if ( YAHOO.env.ua )
UA = YAHOO.env.ua;
-->
</script>
';
?>
<?php
echo $this->_tpl_vars['SUGAR_CSS'];
?>
示例6: smarty_function_sugar_getimage
<?php
}
?>
<?php
if (isset($this->_tpl_vars['field_defs'][$this->_tpl_vars['key']]['dependency']) && $this->_tpl_vars['field_defs'][$this->_tpl_vars['key']]['dependency']) {
?>
<?php
echo smarty_function_sugar_getimage(array('name' => "SugarLogic/icon_dependent", 'alt' => $this->_tpl_vars['mod_strings']['LBL_DEPENDANT'], 'ext' => ".png", 'other_attributes' => ''), $this);
?>
<?php
}
?>
<img src="<?php
echo smarty_function_sugar_getimagepath(array('file' => 'edit_inline.gif'), $this);
?>
" style="cursor: pointer;"
onclick="var value_label = document.getElementById('subslot<?php
echo $this->_tpl_vars['modCounter'];
?>
label').innerHTML.replace(/^\s+|\s+$/g,'');
<?php
if (!((is_array($_tmp = $this->_tpl_vars['view']) ? $this->_run_mod_handler('substr', true, $_tmp, -6) : substr($_tmp, -6)) == 'search')) {
?>
var value_width = document.getElementById('subslot<?php
echo $this->_tpl_vars['modCounter'];
?>
width').innerHTML;
<?php
}
示例7: smarty_function_html_options
</tr>
<tr class="toggleClass yui-hidden">
<td NOWRAP class="advancedSearchTD">
<?php
echo $this->_tpl_vars['mod_strings']['LBL_EMAIL_RELATE'];
?>
:<br/>
<?php
echo smarty_function_html_options(array('options' => $this->_tpl_vars['linkBeansOptions'], 'name' => 'data_parent_type_search', 'id' => 'data_parent_type_search'), $this);
?>
<input id="data_parent_id_search" name="data_parent_id_search" type="hidden" value="">
<br/><br/>
<input class="sqsEnabled" id="data_parent_name_search" name="data_parent_name_search" type="text" value="">
<a href="javascript:void(0);"><img src="<?php
echo smarty_function_sugar_getimagepath(array('file' => 'select.gif'), $this);
?>
" align="absmiddle" border="0" alt=$mod_strings.LBL_EMAIL_SELECTOR onclick="SUGAR.email2.composeLayout.callopenpopupForEmail2('_search',{'form_name':'advancedSearchForm'} );">
</a>
</td>
</tr>
<tr class="toggleClass yui-hidden">
<td class="visible-search-option"><a href="javascript:void(0);" onclick="SE.search.toggleAdvancedOptions();"><?php
echo $this->_tpl_vars['mod_strings']['LBL_LESS_OPTIONS'];
?>
</a></td>
<td> </td>
</tr>
<tr>
<td NOWRAP>
<br /> <br />
示例8: smarty_function_sugar_getimagepath
</button>
<?php
} else {
?>
<button type='button' id='listViewEndButton' name='listViewEndButton' title='<?php
echo $this->_tpl_vars['navStrings']['end'];
?>
' disabled='disabled' class='button' onClick='SUGAR.IV.getTable("<?php
echo $this->_tpl_vars['tableID'];
?>
", <?php
echo $this->_tpl_vars['pageData']['offsets']['last'];
?>
);' >
<img src='<?php
echo smarty_function_sugar_getimagepath(array('file' => 'end_off.png'), $this);
?>
' alt='<?php
echo $this->_tpl_vars['navStrings']['end'];
?>
' align='absmiddle' border='0'>
</button>
<?php
}
?>
</td>
<td nowrap="nowrap" width='2%' class='paginationActionButtons'></td>
</tr>
</table>
</td>
</tr>
示例9: toggleEl
'<?php
echo $this->_tpl_vars['package']->help['group'];
?>
','<?php
echo $this->_tpl_vars['package']->help['default'];
?>
'<?php
echo ');
function toggleEl(){
var display = document.getElementById(\'readmefield\').style.display;
if(display==\'table-row\' || display==\'inline-block\'){
document.getElementById(\'options\').src = "';
echo smarty_function_sugar_getimagepath(array('file' => 'advanced_search.gif'), $this);
echo '";
document.getElementById(\'readmefield\').style.display =\'none\';
}else if (display==\'none\'){
document.getElementById(\'options\').src = "';
echo smarty_function_sugar_getimagepath(array('file' => 'basic_search.gif'), $this);
echo '";
document.getElementById(\'readmefield\').style.display = (navigator.appName=="Microsoft Internet Explorer")? \'inline-block\' : \'table-row\';
}
}
</script>
';
?>
<?php
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'modules/ModuleBuilder/tpls/assistantJavascript.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
示例10: 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>