mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-08-30 12:45:32 +08:00
修正block标签嵌套时外层不能正确替换的问题;
This commit is contained in:
16
tests/thinkphp/library/think/extend2.html
Normal file
16
tests/thinkphp/library/think/extend2.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{layout name="layout" replace="[__REPLACE__]" /}
|
||||
<div>
|
||||
{include file="include" name="info" value="$info.value" /}
|
||||
{block name="main"}
|
||||
{block name="side"}
|
||||
side
|
||||
{/block}
|
||||
{block name="mainbody"}
|
||||
|
||||
{/block}
|
||||
{/block}
|
||||
{literal}
|
||||
{$name}
|
||||
{/literal}
|
||||
<?php echo 'php code'; ?>
|
||||
</div>
|
||||
Reference in New Issue
Block a user