Merge pull request #239 from Xesau/patch-1

Translated one sentence from Russian to English...
This commit is contained in:
Max Kostjukevich 2016-07-06 18:06:47 +03:00 committed by GitHub
commit aa587a6293
1 changed files with 5 additions and 3 deletions

View File

@ -19,7 +19,7 @@ Also if a child template extends a parent template with the `{extends}` tag it m
### {use}
Что бы импортировать блоки из другого шаблона используйте тег {use}:
Import the blocks defined in another file. Specifying blocks in this template will override those from the other file.
```smarty
{use 'blocks.tpl'} merge blocks from blocks.tpl template
@ -31,6 +31,8 @@ Also if a child template extends a parent template with the `{extends}` tag it m
### {parent}
Uses the code from the block as defined in the parent.
```smarty
{extends 'parent.tpl'}
@ -43,7 +45,7 @@ Also if a child template extends a parent template with the `{extends}` tag it m
### {paste}
Paste code of any block
Pastes the code of any block
```smarty
{block 'b1'}
@ -65,4 +67,4 @@ Checks if clock exists
{if $.block.header}
block header exists
{/if}
```
```