本文整理汇总了PHP中tpl_block_strip函数的典型用法代码示例。如果您正苦于以下问题:PHP tpl_block_strip函数的具体用法?PHP tpl_block_strip怎么用?PHP tpl_block_strip使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了tpl_block_strip函数的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: tpl_function_seolink
?>
<a href="<?php
echo tpl_function_seolink(array('module' => 'users', 'method' => 'profile', 'section-code' => 'view', 'section-name' => $this->_vars['profile_section_name']), $this);
?>
" class="btn-link"><i class="icon icon-arrow-left icon-big edge hover"></i><?php
echo l('btn_back', 'start', '', 'text', array());
?>
</a>
</div>
</div>
</form>
<?php
$this->_block_content = ob_get_contents();
ob_end_clean();
$this->_block_content = tpl_block_strip($this->_tag_stack[count($this->_tag_stack) - 1][1], $this->_block_content, $this);
echo $this->_block_content;
array_pop($this->_tag_stack);
?>
<?php
echo tpl_function_block(array('name' => geomap_load_geocoder, 'module' => 'geomap'), $this);
?>
<script type='text/javascript'><?php
echo '
$(function(){
var now = new Date();
var yr = (new Date(now.getYear() - ';
echo $this->_vars['age_max'];
echo ', 0, 1).getFullYear()) + \':\' + (new Date(now.getYear() - ';
echo $this->_vars['age_min'];
示例2: ob_get_contents
<?php
}
?>
<!--<?php
$this->_block_content = ob_get_contents();
ob_end_clean();
$this->_block_content = tpl_block_strip($this->_tag_stack[count($this->_tag_stack) - 1][1], $this->_block_content, $this);
echo $this->_block_content;
array_pop($this->_tag_stack);
$_templatelite_tpl_vars = $this->_vars;
echo $this->_fetch_compile_include($this->module_path . "users" . $this->module_templates . $this->get_current_theme_gid('', '"users"') . "map.html", array('load_type' => false));
$this->_vars = $_templatelite_tpl_vars;
unset($_templatelite_tpl_vars);
$this->_tag_stack[] = array('tpl_block_strip', array());
tpl_block_strip(array(), null, $this);
ob_start();
?>
-->
<!--
<script>
var latitude = <?php
echo $this->_vars['data']['lat'];
?>
;
var longitude = <?php
echo $this->_vars['data']['lon'];
?>
;
</script>