当前位置: 首页>>代码示例>>PHP>>正文


PHP smarty_function_sugar_help函数代码示例

本文整理汇总了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'/>&nbsp;<?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'/>&nbsp;<?php 
echo $this->_tpl_vars['MOD']['LBL_MICROSOFT_OUTLOOK'];
?>
&nbsp;<?php 
echo smarty_function_sugar_help(array('text' => $this->_tpl_vars['MOD']['LBL_MICROSOFT_OUTLOOK_HELP']), $this);
?>
</td>
        </tr>
        <tr>
            <td colspan="2">&nbsp;</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 
开发者ID:BMLP,项目名称:memoryhole-ansible,代码行数:31,代码来源:%%38^38B^38B97008%%confirm.tpl.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>
开发者ID:stevenwck,项目名称:demo-sugarcrm,代码行数:30,代码来源:%%2B^2B5^2B5B681E%%PasswordManager.tpl.php

示例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];
        }
    }
开发者ID:augustosoto1991,项目名称:SuiteCRMGlamour,代码行数:31,代码来源:%%F0^F0F^F0FAB5FE%%coreBottom.tpl.php

示例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'];
?>
&nbsp;
	<?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 
开发者ID:kulaginds,项目名称:SugarCRMTest,代码行数:31,代码来源:%%E4^E47^E47AE4C6%%EditViewTabs.tpl.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);
 }
开发者ID:newLoki,项目名称:sugarcrm_dev,代码行数:6,代码来源:FunctionSugarHelpTest.php

示例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;
     }
开发者ID:jgera,项目名称:sugarcrm_dev,代码行数:31,代码来源:reassignUserRecords.php

示例7: ob_start

                        <td colspan="4"><hr /></td>
                    </tr>
                    <tr>
                        <?php 
ob_start();
?>
&nbsp;<?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'];
?>
:&nbsp;<?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>
开发者ID:rahimulhaq,项目名称:Rolustech,代码行数:31,代码来源:%%8F^8FE^8FE02532%%wizard.tpl.php

示例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 
}
?>
>&nbsp;
				    <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>
				    &nbsp;<?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>
开发者ID:BMLP,项目名称:memoryhole-ansible,代码行数:31,代码来源:%%07^07B^07B7FFED%%ConfigureTabs.tpl.php

示例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'));
 }
开发者ID:BMLP,项目名称:memoryhole-ansible,代码行数:49,代码来源:UserViewHelper.php

示例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>
开发者ID:BMLP,项目名称:memoryhole-ansible,代码行数:30,代码来源:%%7A^7A5^7A50C0C3%%EditView.tpl.php

示例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;">
        &nbsp;&nbsp;<?php 
        echo smarty_function_sugar_translate(array('label' => 'LBL_TABDEF_TYPE', 'module' => 'ModuleBuilder'), $this);
        ?>
&nbsp;<?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 
开发者ID:BMLP,项目名称:memoryhole-ansible,代码行数:31,代码来源:%%F9^F91^F9140B64%%layoutView.tpl.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);
?>

        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </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'];
?>
开发者ID:BMLP,项目名称:memoryhole-ansible,代码行数:31,代码来源:%%31^319^3192B2B2%%step3.tpl.php

示例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 
开发者ID:BMLP,项目名称:memoryhole-ansible,代码行数:31,代码来源:%%52^52D^52D07CB8%%dupcheck.tpl.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);
    ?>
:&nbsp;<?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 
}
开发者ID:isrealconsulting,项目名称:ic-suite,代码行数:31,代码来源:%%DA^DA6^DA6BBC23%%ConvertLeadFooter.tpl.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">&nbsp;</td>
                                <td >&nbsp;</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'];
?>
&nbsp;
                                   <?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">&nbsp;</td>
                                <td >&nbsp;</td>
开发者ID:CharlesConstantine,项目名称:SugarCRM,代码行数:31,代码来源:%%B2^B2D^B2D58405%%adminwizard.tpl.php


注:本文中的smarty_function_sugar_help函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。