fenom icon indicating copy to clipboard operation
fenom copied to clipboard

Template Engine for PHP

Results 33 fenom issues
Sort by recently updated
recently updated
newest added

Не помешало бы влить в master изменения из develop раз уж эта ветка полноценно не поддерживается

Hi, In fenom 2.12.1 and before ,there is a way to bypass sandbox to exec arbitrary php code when disable_native_funcs is true.

How could i compare variable for NaN property?

Возникла проблема с источниками шаблонов. При добавлении провайдера, последним параметром можно передать директорию кэша, но этот параметр только записывается в массив $_compiles и нигде дальше не используется. А сами шаблоны...

Если написать вот так: ``` {set $values = []} {$.fetch('template', $values)} ``` То вылезает ошибка ``` Unexpected token '$values' in expression, expect '[' ``` Т.е. Fenom хочет чтоб я вручную...

### I found this bug When you create your own function with addFunction or addFunctionSmart and like to use the results in another fenom tag/function, i get errors ### This...

Возможно ли убрать использование функции eval() из шаблонизатора? Что при этом потеряется и как примерно это сделать? Хочу сделать форк без этой функции.

### I would like to have this new functionality Hi, Is it possible to access template variables from a function (non compiler) tag/modifier? For example, I want to automatically display...

### I would like to have this new functionality Hi, Would it be possible to have a short closing tag for short usage. Example: ``` {if $cond}text{/if} ``` become ```...