Merge remote-tracking branch 'origin/master'

Conflicts:
	docs/tags/capture.md
	src/Fenom.php
This commit is contained in:
bzick
2013-07-07 01:36:24 +04:00
7 changed files with 11 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
Installation
============
For installation use [composer](http://getcompoer.org). Add in your `composer.json` requirements:
For installation use [composer](http://getcomposer.org). Add in your `composer.json` requirements:
```json
{
"require": {

View File

@@ -196,7 +196,7 @@ but if use single quote any template expressions will be on display as it is
{funct arg=($a.d.c|count+4)/3}
```
### Ignoring temaplate code
### Ignoring template code
В шаблонизаторе Fenom используются фигурные скобки для отделения HTML от кода Fenom.
Если требуется вывести текст, содержащий фигурные скобки, помните о следующих возможностях:

View File

@@ -60,7 +60,7 @@ Planned. Not supported yet. Feature #5.
{/block}
```
### Perfomance
### Performance
Алгоритм реализации наследования шаблонов может работать в разных режимах, в зависимости от условий.
Каждый режим имеет свою производительность.

View File

@@ -6,7 +6,7 @@ Tag {if} [RU]
```smarty
{if <expression>}
{* ...code... *}
{elseif <expresion>}
{elseif <expression>}
{* ...code... *}
{else}
{* ...code... *}
@@ -16,7 +16,7 @@ Tag {if} [RU]
### {if}
```smarty
{if <expresion>}
{if <expression>}
{*...some code...*}
{/if}
```
@@ -26,9 +26,9 @@ Tag {if} [RU]
### {elseif}
```smarty
{if <expresion1>}
{if <expression1>}
{*...some code...*}
{elseif <expresion2>}
{elseif <expression2>}
{*...some code...*}
{/if}
```
@@ -38,7 +38,7 @@ Tag {if} [RU]
### {else}
```smarty
{if <expresion>}
{if <expression>}
{*...some code...*}
{else}
{*...some code...*}