📄 html_template_flexy.reg
字号:
will compile a file {compileDir}/sometemplate.html#mytag which contains the tag and contents of <span id="mytag"> ... </span> flexy:function call="xxx" checks that the user defined function block exists ";}i:9;a:4:{s:7:"version";s:5:"0.9.1";s:12:"release_date";s:10:"2004-06-17";s:13:"release_state";s:4:"beta";s:13:"release_notes";s:539:"Feature addition releasesupport for function blocks<flexy:function name="myfunction"> define a block here </flexy:function><flexy:function call="myfunction"> calls the function </flexy:functio><flexy:function call="{somevar}"> variable function calls </flexy:function>support for static template compilesoptions[compiler] = rawplugin support and user defined modifiers using plugins{this.plugin(#name#,var,var):h}{var:formatdate} (calls plugin {var:formatnumber}Assign API support using setData() and setDataByRef() ";}i:10;a:4:{s:7:"version";s:5:"0.9.0";s:12:"release_date";s:10:"2004-05-06";s:13:"release_state";s:4:"beta";s:13:"release_notes";s:728:"minor BC break release:Moving to stable Planned Sometime after Late May 2004BC Break on Gettext string storage. * during parsing of the template flexy builds an array of strings that can be used to automate translation. The strings in this array used to be escaped (similar to addslashes). This proved to be a bad decision (As the unescaping and escaping got too messy) - the strings are now stored as they are found. (albiet still trimmed) New Features: * strings from option tags, and value of input tags are added to gettext array. * ability to generate namespaced options (eg. for XUL) $x = new HTML_Template_Flexy_Element('html:select'); $x->setOptions(array(1=>'test')); ";}i:11;a:4:{s:7:"version";s:5:"0.8.2";s:12:"release_date";s:10:"2004-05-05";s:13:"release_state";s:4:"beta";s:13:"release_notes";s:562:"Bugfix release:Moving to stable Planned Sometime after Late May 2004 Bugs / Fixes: * Bug #1274 * Test added for Bug #1310 * fix Flexy_Element::setOptions / Flexy_Element::setValue, using a value of 0 highlighting everything. * Closing Tags for XHTML closers correctly placed at end of tag. (Flexy_Element only) * url_rewriting now works in <?xml-stylesheet tags. (they are treaded similar to normal html tags now. (and only the opening < is written using php. * closers for namepaced tags are now output (big oops bug..) ";}i:12;a:4:{s:7:"version";s:5:"0.8.1";s:12:"release_date";s:10:"2004-04-24";s:13:"release_state";s:4:"beta";s:13:"release_notes";s:266:"Bugfix release: Moving to stable Planned Sometime after Late May 2004 Bugs / Fixes: * Stoped Javascript being striped when language= tag not used. * PHP5 tested * javscript and php code not added to gettext string list. Add test suite to package. ";}i:13;a:4:{s:7:"version";s:5:"0.8.0";s:12:"release_date";s:10:"2004-04-22";s:13:"release_state";s:4:"beta";s:13:"release_notes";s:1781:"Feature addition release: Moving to stable is posponed another month, so these new features get a thorough testing. Bugs / Fixes: * fixed overzealous closing on some tags * fixed double html escaping of some dynamic attributes * ignore empty url_rewrite options (eg. images/:/templates/images,,) * fixed recursion death, on <s> tags * fixed flexy {variables} inside attributes='that are single quoted' * unknown namespaces are assumed to be HTML (so XUL with html works ok) Features: * Translation2 transparent translation backend support $options['Translation2'] = array( 'driver' => 'dataobjectsimple', 'options' => array() ) will instantate Translation2 once , and call it to translate all strings found when compiling. * Strings to be translated can be explicitly marked by encapsulating them in {_( ....... )_} Parsing is done prior to tokenizing, so you can include {variables} inside the translation strings. * Access to private variables and methods now possible eg. {_myprivate_var} ** requires option['privates'] = true * Access to super global variables now possible eg. {_SESSION[lang]} {_GET[posted]} {_POST[posted]}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -