本文整理汇总了PHP中smarty_function_sugar_help函数的典型用法代码示例。如果您正苦于以下问题:PHP smarty_function_sugar_help函数的具体用法?PHP smarty_function_sugar_help怎么用?PHP smarty_function_sugar_help使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了smarty_function_sugar_help函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: smarty_function_sugar_help
echo $this->_tpl_vars['MOD']['LBL_NONE'];
?>
</td>
</tr>
<tr>
<td colspan="2"><input class="radio" type="radio" name="external_source" value="salesforce" id='sf_map'/> <?php
echo $this->_tpl_vars['MOD']['LBL_SALESFORCE'];
?>
</td>
</tr>
<tr>
<td colspan="2"><input class="radio" type="radio" name="external_source" value="outlook" id='outlook_map'/> <?php
echo $this->_tpl_vars['MOD']['LBL_MICROSOFT_OUTLOOK'];
?>
<?php
echo smarty_function_sugar_help(array('text' => $this->_tpl_vars['MOD']['LBL_MICROSOFT_OUTLOOK_HELP']), $this);
?>
</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
</table>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td align="left">
<input title="<?php
echo $this->_tpl_vars['MOD']['LBL_BACK'];
?>
" id="goback" class="button" type="submit" name="button" value=" <?php
示例2: smarty_function_sugar_help
<?php
echo smarty_function_sugar_help(array('text' => $this->_tpl_vars['MOD']['LBL_SAML_LOGIN_URL_DESC']), $this);
?>
</td>
<td align="left" valign='middle'><input name="SAML_loginurl" size='35' type="text" value="<?php
echo $this->_tpl_vars['config']['SAML_loginurl'];
?>
"></td>
</tr>
<tr>
<td width='25%' scope="row" valign='top' nowrap><?php
echo $this->_tpl_vars['MOD']['LBL_SAML_CERT'];
?>
<?php
echo smarty_function_sugar_help(array('text' => $this->_tpl_vars['MOD']['LBL_SAML_CERT_DESC']), $this);
?>
</td><?php
echo $this->_tpl_vars['settings']['proxy_host'];
?>
<td width='25%' align="left" valign='top'><textarea style='height:200px;width:600px' name="SAML_X509Cert" ><?php
echo $this->_tpl_vars['config']['SAML_X509Cert'];
?>
</textarea></td>
</tr>
</table>
示例3: smarty_function_sugar_translate
}
if (!$this->_tpl_vars['hideDuplicatable']) {
?>
<tr><td class='mbLBL'><?php
echo smarty_function_sugar_translate(array('module' => 'DynamicFields', 'label' => 'COLUMN_TITLE_DUPLICATE_MERGE'), $this);
?>
:</td><td>
<?php
if ($this->_tpl_vars['hideLevel'] < 5) {
?>
<?php
echo smarty_function_html_options(array('name' => 'duplicate_merge', 'id' => 'duplicate_merge', 'selected' => $this->_tpl_vars['vardef']['duplicate_merge_dom_value'], 'options' => $this->_tpl_vars['duplicate_merge_options']), $this);
?>
<?php
echo smarty_function_sugar_help(array('text' => $this->_tpl_vars['mod_strings']['LBL_POPHELP_DUPLICATE_MERGE'], 'FIXX' => 250, 'FIXY' => 80), $this);
?>
<?php
} else {
?>
<?php
if (isset($this->_tpl_vars['vardef']['duplicate_merge_dom_value'])) {
echo $this->_tpl_vars['vardef']['duplicate_merge_dom_value'];
?>
<?php
} else {
echo $this->_tpl_vars['duplicate_merge_options'][0];
}
}
示例4: smarty_function_html_options
<p />
<form name='edittabs' id='edittabs' method='POST' action='index.php'>
<input type="hidden" name="slot_count" id="slot_count" value="" />
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="100%" class='dataLabel' colspan=2>
<?php
echo $this->_tpl_vars['MOD']['LBL_TABGROUP_LANGUAGE'];
?>
<?php
echo smarty_function_html_options(array('name' => 'grouptab_lang', 'options' => $this->_tpl_vars['available_languages'], 'selected' => $this->_tpl_vars['tabGroupSelected_lang'], 'onchange' => " tabLanguageChange(this)"), $this);
?>
<?php
echo smarty_function_sugar_help(array('text' => $this->_tpl_vars['MOD']['LBL_TAB_GROUP_LANGUAGE_HELP']), $this);
?>
</td>
</tr>
</table>
<table><tr><td valign='top' nowrap class="edit view" style="width: auto;">
<table cellpadding="0" cellspacing="0" width="100%" id='s_field_delete'>
<tr><td ><ul id='trash' class='listContainer'>
<li class='nobullet' id='trashcan'><table>
<tr>
<td><?php
echo $this->_tpl_vars['recycleImage'];
?>
</td>
<td><br /><?php
示例5: testExtraParametersAreAdded
public function testExtraParametersAreAdded()
{
$string = 'my string';
$output = smarty_function_sugar_help(array('text' => $string, 'myPos' => 'foo', 'atPos' => 'bar'), $this->_smarty);
$this->assertContains(",'foo','bar'", $output);
}
示例6: Sugar_Smarty
}
if ($row['id'] == $_POST['touser']) {
$tousername = $row['user_name'];
}
}
echo "{$mod_strings_users['LBL_REASS_DESC_PART2']}\n";
echo "<form action=\"index.php?module=Users&action=reassignUserRecords&execute=true\" method=post>\n";
echo "<BR>{$mod_strings_users['LBL_REASS_NOTES_TITLE']}\n";
echo "<ul>\n";
echo "<li>* {$mod_strings_users['LBL_REASS_NOTES_ONE']}\n";
echo "<li>* {$mod_strings_users['LBL_REASS_NOTES_TWO']}\n";
echo "<li>* {$mod_strings_users['LBL_REASS_NOTES_THREE']}\n";
echo "</ul>\n";
require_once 'include/Smarty/plugins/function.sugar_help.php';
$sugar_smarty = new Sugar_Smarty();
$help_img = smarty_function_sugar_help(array("text" => $mod_strings['LBL_REASS_VERBOSE_HELP']), $sugar_smarty);
echo "<BR><input type=checkbox name=verbose> {$mod_strings_users['LBL_REASS_VERBOSE_OUTPUT']}" . $help_img . "<BR>\n";
unset($_SESSION['reassignRecords']['modules']);
$beanListFlip = array_flip($_SESSION['reassignRecords']['assignedModuleListCache']);
foreach ($_POST['modules'] as $module) {
if (!array_key_exists($module, $beanListFlip)) {
//echo "$module not found as key in \$beanListFlip. Skipping $module.<BR>";
continue;
}
$p_module = $beanListFlip[$module];
require_once $beanFiles[$module];
$object = new $module();
if (empty($object->table_name)) {
// echo "<h5>Could not find the database table for $p_module.</h5>";
continue;
}
示例7: ob_start
<td colspan="4"><hr /></td>
</tr>
<tr>
<?php
ob_start();
?>
<?php
echo $this->_tpl_vars['MOD']['LBL_LOCALE_NAME_FORMAT_DESC'];
$this->_smarty_vars['capture']['SMARTY_LOCALE_NAME_FORMAT_DESC'] = ob_get_contents();
ob_end_clean();
?>
<td nowrap="nowrap" scope="row" valign="top"><?php
echo $this->_tpl_vars['MOD']['LBL_LOCALE_DEFAULT_NAME_FORMAT'];
?>
: <?php
echo smarty_function_sugar_help(array('text' => $this->_smarty_vars['capture']['SMARTY_LOCALE_NAME_FORMAT_DESC']), $this);
?>
</td>
<td><slot><select id="default_locale_name_format" tabindex='14' name="default_locale_name_format" selected="<?php
echo $this->_tpl_vars['default_locale_name_format'];
?>
"><?php
echo $this->_tpl_vars['NAMEOPTIONS'];
?>
</select></slot></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
示例8: smarty_function_sugar_help
<table id="ConfigureTabs" class="themeSettings edit view" style='margin-bottom:0px;' border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
<input type='checkbox' name='user_edit_tabs' value=1 class='checkbox' <?php
if (!empty($this->_tpl_vars['user_can_edit'])) {
?>
CHECKED<?php
}
?>
>
<b onclick='document.EditView.user_edit_tabs.checked= !document.EditView.user_edit_tabs.checked' style='cursor:default'><?php
echo $this->_tpl_vars['MOD']['LBL_ALLOW_USER_TABS'];
?>
</b>
<?php
echo smarty_function_sugar_help(array('text' => $this->_tpl_vars['MOD']['LBL_CONFIG_TABS_ALLOW_USERS_HIDE_TABS_HELP']), $this);
?>
</td>
</tr>
<tr>
<td width='1%'>
<div id="enabled_div" class="enabled_tab_workarea">
</div>
</td>
<td>
<div id="disabled_div" class="disabled_tab_workarea">
</div>
</td>
</tr>
</table>
示例9: setupAdvancedTabNavSettings
protected function setupAdvancedTabNavSettings()
{
global $app_list_strings;
// Grouped tabs?
$useGroupTabs = $this->bean->getPreference('navigation_paradigm');
if (!isset($useGroupTabs)) {
if (!isset($GLOBALS['sugar_config']['default_navigation_paradigm'])) {
$GLOBALS['sugar_config']['default_navigation_paradigm'] = 'gm';
}
$useGroupTabs = $GLOBALS['sugar_config']['default_navigation_paradigm'];
}
$this->ss->assign("USE_GROUP_TABS", $useGroupTabs == 'gm' ? 'checked' : '');
$user_subpanel_tabs = $this->bean->getPreference('subpanel_tabs');
if (isset($user_subpanel_tabs)) {
$this->ss->assign("SUBPANEL_TABS", $user_subpanel_tabs ? 'checked' : '');
} else {
$this->ss->assign("SUBPANEL_TABS", $GLOBALS['sugar_config']['default_subpanel_tabs'] ? 'checked' : '');
}
/* Module Tab Chooser */
require_once 'include/templates/TemplateGroupChooser.php';
require_once 'modules/MySettings/TabController.php';
$chooser = new TemplateGroupChooser();
$controller = new TabController();
if ($this->is_current_admin || $controller->get_users_can_edit()) {
$chooser->display_hide_tabs = true;
} else {
$chooser->display_hide_tabs = false;
}
$chooser->args['id'] = 'edit_tabs';
$chooser->args['values_array'] = $controller->get_tabs($this->bean);
foreach ($chooser->args['values_array'][0] as $key => $value) {
$chooser->args['values_array'][0][$key] = $app_list_strings['moduleList'][$key];
}
foreach ($chooser->args['values_array'][1] as $key => $value) {
$chooser->args['values_array'][1][$key] = $app_list_strings['moduleList'][$key];
}
foreach ($chooser->args['values_array'][2] as $key => $value) {
$chooser->args['values_array'][2][$key] = $app_list_strings['moduleList'][$key];
}
$chooser->args['left_name'] = 'display_tabs';
$chooser->args['right_name'] = 'hide_tabs';
$chooser->args['left_label'] = translate('LBL_DISPLAY_TABS', 'Users');
$chooser->args['right_label'] = translate('LBL_HIDE_TABS', 'Users');
require_once 'include/Smarty/plugins/function.sugar_help.php';
$chooser->args['title'] = translate('LBL_EDIT_TABS', 'Users') . smarty_function_sugar_help(array("text" => translate('LBL_CHOOSE_WHICH', 'Users')), $ss);
$this->ss->assign('TAB_CHOOSER', $chooser->display());
$this->ss->assign('CHOOSER_SCRIPT', 'set_chooser();');
$this->ss->assign('CHOOSE_WHICH', translate('LBL_CHOOSE_WHICH', 'Users'));
}
示例10: smarty_function_sugar_help
?>
<?php
echo smarty_function_sugar_help(array('text' => $this->_tpl_vars['MOD']['vCAL_HELP']), $this);
?>
</td>
<td >
<input type='text' size='4' name='vcal_time' value='<?php
echo $this->_tpl_vars['config']['vcal_time'];
?>
'>
</td>
<td scope="row"><?php
echo $this->_tpl_vars['MOD']['LBL_IMPORT_MAX_RECORDS'];
?>
<?php
echo smarty_function_sugar_help(array('text' => $this->_tpl_vars['MOD']['LBL_IMPORT_MAX_RECORDS_HELP']), $this);
?>
</td>
<td >
<input type='text' size='4' name='import_max_records_total_limit' value='<?php
echo $this->_tpl_vars['config']['import_max_records_total_limit'];
?>
'>
</td>
</tr>
</table>
示例11: smarty_function_sugar_getimage
<?php
echo smarty_function_sugar_getimage(array('name' => 'edit_inline', 'ext' => ".gif", 'other_attributes' => $this->_tpl_vars['otherAttributes']), $this);
?>
<?php
}
?>
<span id="le_paneltype_<?php
echo $this->_tpl_vars['idCount'];
?>
" style="float:left;">
<?php
echo smarty_function_sugar_translate(array('label' => 'LBL_TABDEF_TYPE', 'module' => 'ModuleBuilder'), $this);
?>
<?php
echo smarty_function_sugar_help(array('text' => $this->_tpl_vars['mod']['LBL_TABDEF_TYPE_OPTION_HELP']), $this);
?>
:
<?php
if ($this->_tpl_vars['idCounter'] == 1) {
?>
<?php
$this->assign('firstpanelid', $this->_tpl_vars['panelid']);
?>
<?php
$this->assign('firstpanelidcount', $this->_tpl_vars['idCount']);
?>
<?php
}
?>
<select id="le_paneltype_select_<?php
示例12: unset
<?php
}
}
unset($_from);
?>
<tr>
<td align="left" colspan="4">
<input title="<?php
echo $this->_tpl_vars['MOD']['LBL_ADD_ROW'];
?>
" id="addrow" class="button" type="button"
name="button" value=" <?php
echo $this->_tpl_vars['MOD']['LBL_ADD_ROW'];
?>
"> <?php
echo smarty_function_sugar_help(array('text' => $this->_tpl_vars['MOD']['LBL_ADD_FIELD_HELP']), $this);
?>
</td>
</tr>
</table>
<br />
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td align="left">
<input title="<?php
echo $this->_tpl_vars['MOD']['LBL_BACK'];
?>
示例13: smarty_function_sugar_help
</td>
<td align="left">
<div id="disabled_div" class="disabled_tab_workarea">
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<div class="hr"></div>
<span><strong><label for="save_map_as"><?php
echo $this->_tpl_vars['MOD']['LBL_SAVE_MAPPING_AS'];
?>
</label></strong> <?php
echo smarty_function_sugar_help(array('text' => $this->_tpl_vars['MOD']['LBL_SAVE_MAPPING_HELP']), $this);
?>
</span>
<span >
<input type="text" name="save_map_as" id="save_map_as" value="" style="width: 20em" maxlength="254">
</span>
</div>
<br />
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td align="left">
<input title="<?php
echo $this->_tpl_vars['MOD']['LBL_BACK'];
?>
" id="goback" class="button" type="submit" name="button" value=" <?php
示例14: elseif
</tr>
</table>
<?php
} elseif ($this->_tpl_vars['lead_conv_activity_opt'] == 'copy' || $this->_tpl_vars['lead_conv_activity_opt'] == '') {
?>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class="<?php
echo is_array($_tmp = @$this->_tpl_vars['def']['templateMeta']['panelClass']) ? $this->_run_mod_handler('default', true, $_tmp, 'edit view') : smarty_modifier_default($_tmp, 'edit view');
?>
" id ="lead_conv_ac_op">
<tr>
<td width="15%" class="rssItemDate">
<?php
echo smarty_function_sugar_translate(array('label' => 'LBL_ACTIVITIES_COPY', 'module' => 'Leads'), $this);
?>
: <?php
echo smarty_function_sugar_help(array('text' => $this->_tpl_vars['MOD']['LBL_ACTIVITIES_COPY_HELP']), $this);
?>
</td>
<td>
<select id="lead_conv_ac_op_sel" name="lead_conv_ac_op_sel[]" size="5" multiple="">
<?php
echo $this->_tpl_vars['convertModuleListOptions'];
?>
</select>
</td>
</tr>
</table>
<?php
}
示例15: smarty_function_sugar_help
<td width="30%" ><slot><input type="password" id="mail_smtppass" name="mail_smtppass" size="25" maxlength="64" value="<?php
echo $this->_tpl_vars['mail_smtppass'];
?>
" tabindex='1'></slot></td>
<td scope="row"> </td>
<td > </td>
</tr>
<tr>
<td width="20%" scope="row">
<span id="notify_allow_default_outbound_label">
<?php
echo $this->_tpl_vars['MOD']['LBL_ALLOW_DEFAULT_SELECTION'];
?>
<?php
echo smarty_function_sugar_help(array('text' => $this->_tpl_vars['MOD']['LBL_ALLOW_DEFAULT_SELECTION_HELP']), $this);
?>
</span>
</td>
<td width="30%">
<slot>
<input type="hidden" name="notify_allow_default_outbound" id="notify_allow_default_outbound_hidden_input" value="0">
<input id='notify_allow_default_outbound' name='notify_allow_default_outbound' value="2" tabindex='1' class="checkbox" type="checkbox" <?php
echo $this->_tpl_vars['notify_allow_default_outbound_on'];
?>
>
</slot>
</td>
<td scope="row"> </td>
<td > </td>