本文整理汇总了PHP中smarty_modifier_strip_semicolon函数的典型用法代码示例。如果您正苦于以下问题:PHP smarty_modifier_strip_semicolon函数的具体用法?PHP smarty_modifier_strip_semicolon怎么用?PHP smarty_modifier_strip_semicolon使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了smarty_modifier_strip_semicolon函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: ob_start
}
?>
</td>
</tr>
<tr>
<td valign="top" id='description_label' width='12.5%' scope="row">
<?php
ob_start();
echo smarty_function_sugar_translate(array('label' => 'LBL_DESCRIPTION', 'module' => 'Accounts'), $this);
?>
<?php
$this->_smarty_vars['capture']['label'] = ob_get_contents();
$this->assign('label', ob_get_contents());
ob_end_clean();
echo is_array($_tmp = $this->_tpl_vars['label']) ? $this->_run_mod_handler('strip_semicolon', true, $_tmp) : smarty_modifier_strip_semicolon($_tmp);
?>
:
</td>
<td valign="top" width='37.5%' colspan='3'>
<?php
echo smarty_function_counter(array('name' => 'panelFieldCount', 'print' => false), $this);
?>
<?php
if (empty($this->_tpl_vars['fields']['description']['value'])) {
$this->assign('value', $this->_tpl_vars['fields']['description']['default_value']);
} else {
$this->assign('value', $this->_tpl_vars['fields']['description']['value']);
}
示例2: is_array
<td width="15%" scope="row"><slot><?php
echo is_array($_tmp = $this->_tpl_vars['MOD']['LBL_USE_GROUP_TABS']) ? $this->_run_mod_handler('strip_semicolon', true, $_tmp) : smarty_modifier_strip_semicolon($_tmp);
?>
:</slot></td>
<td><slot><input class="checkbox" type="checkbox" disabled <?php
echo $this->_tpl_vars['USE_GROUP_TABS'];
?>
></slot></td>
<td><slot><?php
echo $this->_tpl_vars['MOD']['LBL_NAVIGATION_PARADIGM_DESCRIPTION'];
?>
</slot></td>
</tr>
<tr>
<td width="15%" scope="row"><slot><?php
echo is_array($_tmp = $this->_tpl_vars['MOD']['LBL_SUBPANEL_TABS']) ? $this->_run_mod_handler('strip_semicolon', true, $_tmp) : smarty_modifier_strip_semicolon($_tmp);
?>
:</slot></td>
<td><slot><input class="checkbox" type="checkbox" disabled <?php
echo $this->_tpl_vars['SUBPANEL_TABS'];
?>
></slot></td>
<td><slot><?php
echo $this->_tpl_vars['MOD']['LBL_SUBPANEL_TABS_DESCRIPTION'];
?>
</slot></td>
</tr>
</table>
</div>
</div>
<?php
示例3: is_array
<tr>
<td width="17%" scope="row"><slot><?php
echo is_array($_tmp = $this->_tpl_vars['MOD']['LBL_SEARCH_URL']) ? $this->_run_mod_handler('strip_semicolon', true, $_tmp) : smarty_modifier_strip_semicolon($_tmp);
?>
:</slot></td>
<td colspan=2><span class="calendar_publish_ok"><?php
echo $this->_tpl_vars['CALENDAR_SEARCH_URL'];
?>
</span><span class="calendar_publish_none" style="display: none"><?php
echo $this->_tpl_vars['MOD']['LBL_NO_KEY'];
?>
</span></td>
</tr>
<tr>
<td width="15%" scope="row"><slot><?php
echo is_array($_tmp = $this->_tpl_vars['MOD']['LBL_ICAL_PUB_URL']) ? $this->_run_mod_handler('strip_semicolon', true, $_tmp) : smarty_modifier_strip_semicolon($_tmp);
?>
: <?php
echo smarty_function_sugar_help(array('text' => $this->_tpl_vars['MOD']['LBL_ICAL_PUB_URL_HELP']), $this);
?>
</slot></td>
<td colspan=2><span class="calendar_publish_ok"><?php
echo $this->_tpl_vars['CALENDAR_ICAL_URL'];
?>
</span><span class="calendar_publish_none" style="display: none"><?php
echo $this->_tpl_vars['MOD']['LBL_NO_KEY'];
?>
</span></td>
</tr>
<tr>
<td width="17%" scope="row"><slot><?php