MODx/Подключаемые плагины/PHx: различия между версиями

Содержимое удалено Содержимое добавлено
Строка 403:
 
:'''Пример использования модификатора:'''
*<code>[+phx:if=`assets/images/path/to/your/file.jpg`:'''fileexists''':then=`Файл существует!`:else=`А был ли файл?`+]</code>
*<code>[+myimage:'''fileexists''':then=`Файл существует!`:else=`А был ли файл?`+]</code>
*<code><img src="[+myimage:'''fileexists''':then=`[+myimage:phpthumb=`w=200`+]`:else=`[+phx:input=`path/to/blank/image.jpg`:phpthumb=`w=200`+]`]" /></code>
 
=== Contributed ===