本文整理汇总了PHP中smarty_modifier_lower函数的典型用法代码示例。如果您正苦于以下问题:PHP smarty_modifier_lower函数的具体用法?PHP smarty_modifier_lower怎么用?PHP smarty_modifier_lower使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了smarty_modifier_lower函数的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: is_array
<a href='#' onclick='return SUGAR.sugarHome.retrieveDashlet("<?php
echo $this->_tpl_vars['dashletId'];
?>
", "<?php
echo $this->_tpl_vars['pageData']['urls']['orderBy'];
echo is_array($_tmp = is_array($_tmp = @$this->_tpl_vars['params']['orderBy']) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['colHeader']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['colHeader'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp);
?>
&sugar_body_only=1&id=<?php
echo $this->_tpl_vars['dashletId'];
?>
")' class='listViewThLinkS1'><?php
echo smarty_function_sugar_translate(array('label' => $this->_tpl_vars['params']['label'], 'module' => $this->_tpl_vars['pageData']['bean']['moduleDir']), $this);
?>
<?php
if ((is_array($_tmp = is_array($_tmp = @$this->_tpl_vars['params']['orderBy']) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['colHeader']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['colHeader'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)) == $this->_tpl_vars['pageData']['ordering']['orderBy']) {
?>
<?php
if ($this->_tpl_vars['pageData']['ordering']['sortOrder'] == 'ASC') {
?>
<img border='0' src='<?php
echo $this->_tpl_vars['imagePath'];
?>
arrow_down.<?php
echo $this->_tpl_vars['arrowExt'];
?>
' width='<?php
echo $this->_tpl_vars['arrowWidth'];
?>
' height='<?php
echo $this->_tpl_vars['arrowHeight'];
开发者ID:BackupTheBerlios,项目名称:livealphaprint,代码行数:31,代码来源:%%14^148^14804A90%%DashletGenericDisplay.tpl.php
示例2: if
<a href="<?php echo $this->_tpl_vars['config']->bvs_url; ?>
">
<img src="./image/<?php echo $this->_tpl_vars['lang']; ?>
/logo_bvs.gif" alt="<?php echo $this->_tpl_vars['texts']['vhl_alternate']; ?>
" title="<?php echo $this->_tpl_vars['texts']['vhl_alternate']; ?>
" />
</a>
</div>
<div class="identification">
<h2><?php echo $this->_tpl_vars['texts']['BVS_TITLE']; ?>
</h2>
<h1><?php echo $this->_tpl_vars['texts']['TITLE']; ?>
</h1>
</div>
<div class="otherVersions">
<?php $_from = $this->_tpl_vars['texts']['AVAILABLE_LANGUAGES']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['langcode'] => $this->_tpl_vars['language']):
?>
<?php if (((is_array($_tmp=$this->_tpl_vars['langcode'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)) == $this->_tpl_vars['lang']): ?>
<?php $this->assign('class', " class='selected'"); ?>
<?php else: ?>
<?php $this->assign('class', ""); ?>
<?php endif; ?>
<a href="#" onclick="searchForm.q.value='';changeFormParameter('lang','<?php echo ((is_array($_tmp=$this->_tpl_vars['langcode'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
');" <?php echo $this->_tpl_vars['class']; ?>
><?php echo $this->_tpl_vars['language']; ?>
</a>
<?php endforeach; endif; unset($_from); ?>
</div>
<div class="spacer"> </div>
示例3: settype
<?php
$_from = $this->_tpl_vars['links'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
if (count($_from)) {
foreach ($_from as $this->_tpl_vars['link']) {
?>
<a href="<?php
echo $this->_reg_objects['g'][0]->url(array('params' => $this->_tpl_vars['link']['params']), $this);
?>
" class="gbAdminLink <?php
echo $this->_reg_objects['g'][0]->linkid(array('urlParams' => $this->_tpl_vars['link']['params']), $this);
?>
"><?php
if ($this->_tpl_vars['lowercase']) {
echo is_array($_tmp = $this->_tpl_vars['link']['text']) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp);
} else {
echo $this->_tpl_vars['link']['text'];
}
?>
</a>
<?php
}
}
unset($_from);
?>
</div>
<?php
}
}
示例4: is_array
echo $this->_tpl_vars['design'];
?>
_gfx/games/<?php
echo $this->_tpl_vars['ban_list']['mod'];
?>
.gif" /></td>
<td><?php
echo is_array($_tmp = $this->_tpl_vars['ban_list']['ban_created']) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d") : smarty_modifier_date_format($_tmp, "%Y-%m-%d");
?>
</td>
<td><img alt="" src="templates/<?php
echo $this->_tpl_vars['design'];
?>
_gfx/country/<?php
if ($this->_tpl_vars['ban_list']['cc']) {
echo is_array($_tmp = $this->_tpl_vars['ban_list']['cc']) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp);
} else {
?>
clear<?php
}
?>
.png" /> <?php
echo $this->_tpl_vars['ban_list']['player_nick'];
?>
</td>
<td><?php
echo $this->_tpl_vars['ban_list']['admin_nick'];
?>
</td>
<td><?php
echo $this->_tpl_vars['ban_list']['ban_reason'];
示例5: settype
?>
</h2></div>
<ul id="cloud">
<?php
$_from = $this->_tpl_vars['tags'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
if (count($_from)) {
foreach ($_from as $this->_tpl_vars['tag'] => $this->_tpl_vars['count']) {
?>
<li><a href="<?php
echo $this->_tpl_vars['relative'];
?>
/search?search_query=<?php
echo is_array($_tmp = $this->_tpl_vars['tag']) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html');
?>
&search_type=games" class="tag<?php
echo $this->_tpl_vars['count'];
?>
"><?php
echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['tag']) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp);
?>
</a></li>
<?php
}
}
unset($_from);
?>
</ul>
</div>
示例6: is_array
<option value="">
<?php
if ($this->_tpl_vars['list_info']['num_fields'] == 1) {
?>
1 <?php
echo is_array($_tmp = $this->_tpl_vars['LANG']['word_field']) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp);
?>
<?php
} else {
?>
<?php
echo $this->_tpl_vars['list_info']['num_fields'];
?>
<?php
echo is_array($_tmp = $this->_tpl_vars['LANG']['word_fields']) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp);
?>
<?php
}
?>
</option>
<?php
$_from = $this->_tpl_vars['list_info']['fields'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
if (count($_from)) {
foreach ($_from as $this->_tpl_vars['grouped_field']) {
?>
<optgroup label="<?php
示例7:
echo $this->_tpl_vars['def']['templateMeta']['widths'][$this->_foreach['colIteration']['iteration'] - 1]['label'];
?>
%' scope='row' >
<label for="<?php
echo $this->_tpl_vars['country'];
?>
">{sugar_translate label='LBL_COUNTRY' module='<?php
echo $this->_tpl_vars['module'];
?>
'}:</label>
{if $fields.<?php
echo $this->_tpl_vars['country'];
?>
.required || <?php
if (is_array($_tmp = is_array($_tmp = $this->_tpl_vars['country']) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)) ? $this->_run_mod_handler('in_array', true, $_tmp, $this->_tpl_vars['displayParams']['required']) : smarty_modifier_in_array($_tmp, $this->_tpl_vars['displayParams']['required'])) {
?>
true<?php
} else {
?>
false<?php
}
?>
}
<span class="required">{$APP.LBL_REQUIRED_SYMBOL}</span>
{/if}
</td>
<td>
<input type="text" name="<?php
echo $this->_tpl_vars['country'];
?>
示例8: is_array
<div class="button2" >
<a href="tiki-pagehistory.php?page=<?php
echo is_array($_tmp = $this->_tpl_vars['page']) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url');
?>
&source=0" class="linkbut">
source
</a>
</div>
</td>
<?php
}
}
?>
<?php
if ((is_array($_tmp = $this->_tpl_vars['page']) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)) != 'sandbox') {
?>
<?php
if ($this->_tpl_vars['tiki_p_remove'] == 'y' && $this->_tpl_vars['editable']) {
?>
<td><div class="button2"><a href="tiki-removepage.php?page=<?php
echo is_array($_tmp = $this->_tpl_vars['page']) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url');
?>
&version=last" class="linkbut">remove</a></div></td>
<?php
}
if ($this->_tpl_vars['tiki_p_rename'] == 'y' && $this->_tpl_vars['editable']) {
?>
<td><div class="button2"><a href="tiki-rename_page.php?page=<?php
echo is_array($_tmp = $this->_tpl_vars['page']) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url');
示例9:
?>
</td>
<?php
if ($this->_tpl_vars['is_categorized'] == 'y' && $this->_tpl_vars['feature_categories'] == 'y' && $this->_tpl_vars['feature_categorypath'] == 'y') {
?>
<td style="vertical-align:top;width:100px;"><?php
echo $this->_tpl_vars['display_catpath'];
?>
</td>
<?php
}
if ($this->_tpl_vars['print_page'] != 'y') {
?>
<td style="text-align:right;width:142px;wrap:nowrap">
<?php
if ($this->_tpl_vars['editable'] && ($this->_tpl_vars['tiki_p_edit'] == 'y' || (is_array($_tmp = $this->_tpl_vars['page']) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)) == 'sandbox') && $this->_tpl_vars['beingEdited'] != 'y') {
?>
<a title="edit" href="tiki-editpage.php?page=<?php
echo is_array($_tmp = $this->_tpl_vars['page']) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url');
?>
"><img src="img/icons/edit.gif" border="0" width="20" height="16" alt="edit" /></a>
<?php
}
?>
<?php
if ($this->_tpl_vars['wiki_feature_3d'] == 'y') {
?>
<a title="3D browser" href="javascript:wiki3d_open('<?php
echo is_array($_tmp = $this->_tpl_vars['page']) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp);
?>
示例10: is_array
echo $this->_tpl_vars['i']->id;
echo '.draw();
}
';
?>
</script>
<?php
if ($this->_tpl_vars['i']->related_data['milestone']['units_of_time'] && $this->_tpl_vars['i']->related_data['trend'] && $this->_tpl_vars['i']->related_data['trend'] != 0) {
?>
Current growth rate: <?php
if ($this->_tpl_vars['i']->related_data['trend'] > 0) {
?>
<span style="color:green">+<?php
} else {
?>
<span style="color:red"><?php
}
echo is_array($_tmp = $this->_tpl_vars['i']->related_data['trend']) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp);
?>
</span>/<?php
echo is_array($_tmp = $this->_tpl_vars['i']->related_data['milestone']['units_of_time']) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp);
?>
<?php
}
if (!$this->_tpl_vars['expand']) {
?>
</div>
<?php
}
示例11: is_array
$this->assign('pubId', $this->_tpl_vars['pubIdPlugin']->getPubId($this->_tpl_vars['pubObject']));
?>
<?php
} else {
?>
<?php
$this->assign('pubId', $this->_tpl_vars['pubIdPlugin']->getPubId($this->_tpl_vars['pubObject'], true));
?>
<?php
}
?>
<?php
if ($this->_tpl_vars['pubId']) {
?>
<meta name="citation_<?php
echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['pubIdPlugin']->getPubIdDisplayType()) ? $this->_run_mod_handler('escape', true, $_tmp) : $this->_plugins['modifier']['escape'][0][0]->smartyEscape($_tmp)) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp);
?>
" content="<?php
echo is_array($_tmp = $this->_tpl_vars['pubId']) ? $this->_run_mod_handler('escape', true, $_tmp) : $this->_plugins['modifier']['escape'][0][0]->smartyEscape($_tmp);
?>
"/>
<?php
}
}
}
unset($_from);
?>
<meta name="citation_abstract_html_url" content="<?php
echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('page' => 'article', 'op' => 'view', 'path' => $this->_tpl_vars['article']->getBestArticleId($this->_tpl_vars['currentJournal'])), $this);
?>
"/>
示例12: lang_get_smarty
<form action="lib/execute/bugAdd.php" method="post">
<p>
<a style="font-weight:normal" target="_blank" href="<?php
echo $this->_tpl_vars['bts_url'];
?>
">
<?php
echo lang_get_smarty(array('s' => 'link_bts_create_bug'), $this);
?>
(<?php
echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['gui']->interface_bugs) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)) ? $this->_run_mod_handler('capitalize', true, $_tmp) : smarty_modifier_capitalize($_tmp);
?>
)</a>
</p>
<p class="label"><?php
echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['gsmarty_interface_bugs']) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)) ? $this->_run_mod_handler('capitalize', true, $_tmp) : smarty_modifier_capitalize($_tmp);
?>
<?php
echo lang_get_smarty(array('s' => 'bug_id'), $this);
?>
<input type="text" id="bug_id" name="bug_id" size="<?php
echo $this->_config[0]['vars']['BUGID_SIZE'];
?>
" maxlength="<?php
echo $this->_tpl_vars['bugIDMaxLength'];
?>
"/>
</p>
<div class="groupBtn">
<input type="submit" value="<?php
示例13: is_array
</span>
<br><?php
echo $this->_tpl_vars['stats_hotspots'];
?>
<span style="color: black;">Hotspots</span></td>
</tr>
<tr>
<td class="quick-login-text"><?php
echo $this->_tpl_vars['stats_services_active'];
?>
/<?php
echo $this->_tpl_vars['stats_services_total'];
?>
<span style="color: black;"><?php
echo is_array($_tmp = $this->_tpl_vars['lang']['active_services']) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp);
?>
</span></td>
</tr>
<tr>
<td colspan="2" class="table-middle-left-pad"></td>
</tr>
</table>
</td>
</tr>
<?php
if ($this->_tpl_vars['logged'] == TRUE) {
?>
<tr>