На Ñрани� п€оизо�а о�бка #S51. Св�и�ь с вебмаÑĐром.На Ñрани� п€оизо�а о�бка #S51. Св�и�ь с вебмаÑĐром.На Ñрани� п€оизо�а о�бка #S51. Св�и�ь с вебмаÑĐром. PHP 5.6 и PHP 7 на русском: (none)

<FLEXY:TOJAVASCRIPT JSVAR="PHPVAR"> ...

<FLEXY:TOJAVASCRIPT JSVAR="PHPVAR"> ... -- Provides a simple way to pass data from PHP to Javascript

Synopsis

Описание

To reduce the "WTF" effect of magically having javascript code that looks like flexy tags completely broken by the template engine, Flexy deliberately turns the parser OFF when dealing with script contents (see Configuration Options for details of PHP in script tags)

As a result of this, it is not possible to put any flexy tags within blocks of javascript code. the flexy:tojavascript tag solves this in a way that enables javascript to be tested seperatly from the application, and also serves to encourage better coding practices. (eg. seperating your code with distinct lines of communication)

This feature depends on PEAR's HTML_Javascript Library

Пример

    Поддержать сайт на родительском проекте КГБ