仓库初始化
This commit is contained in:
1
thinkphp/tests/application/views/display.html
Normal file
1
thinkphp/tests/application/views/display.html
Normal file
@@ -0,0 +1 @@
|
||||
{$name??'default'}
|
||||
1
thinkphp/tests/application/views/display.phtml
Normal file
1
thinkphp/tests/application/views/display.phtml
Normal file
@@ -0,0 +1 @@
|
||||
{$name??'default'}
|
||||
2
thinkphp/tests/application/views/extend.html
Normal file
2
thinkphp/tests/application/views/extend.html
Normal file
@@ -0,0 +1,2 @@
|
||||
{extend name="extend2" /}
|
||||
{block name="head"}header{/block}
|
||||
17
thinkphp/tests/application/views/extend2.html
Normal file
17
thinkphp/tests/application/views/extend2.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{layout name="layout2" replace="[__REPLACE__]" /}
|
||||
{block name="head"}{/block}
|
||||
<div id="wrap">
|
||||
{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>
|
||||
2
thinkphp/tests/application/views/include.html
Normal file
2
thinkphp/tests/application/views/include.html
Normal file
@@ -0,0 +1,2 @@
|
||||
<input name="[name]" value="[value]">
|
||||
{include file="include2" /}
|
||||
1
thinkphp/tests/application/views/include2.html
Normal file
1
thinkphp/tests/application/views/include2.html
Normal file
@@ -0,0 +1 @@
|
||||
{$info.value}:
|
||||
2
thinkphp/tests/application/views/layout.html
Normal file
2
thinkphp/tests/application/views/layout.html
Normal file
@@ -0,0 +1,2 @@
|
||||
<div>{__CONTENT__}
|
||||
</div>
|
||||
2
thinkphp/tests/application/views/layout2.html
Normal file
2
thinkphp/tests/application/views/layout2.html
Normal file
@@ -0,0 +1,2 @@
|
||||
<nav>[__REPLACE__]
|
||||
</nav>
|
||||
Reference in New Issue
Block a user