📄 html_template_flexy.reg
字号:
{_REQUEST[lang]} {GLOBALS[posted]} {_COOKIES[posted]} ** requires option['globals'] = true (as per all variable, these are html escaped by default, for security reasons, over-ride with the :h modifier) * Access to php functions now possible {GLOBALS.date(mydate,#d/m/y#)} ** requires option['globalfunctions'] = true ** this is a big security hole if you dont trust your template authors, it exposes exec() etc. * New Test infrastructure in CVS - enabling better unit testing. ";}i:14;a:4:{s:7:"version";s:5:"0.7.1";s:12:"release_date";s:10:"2004-04-07";s:13:"release_state";s:4:"beta";s:13:"release_notes";s:601:"Last Beta releases - (eg. it's a RC Release - stable will be within a month!!! hopefully)Security: *** THIS AFFECTS __ALL__ PREVIOUS RELEASES **** HTML_Template_Flexy_Element::setOptions and HTML_Template_Flexy_Element::setValue with textareas did not htmlspecialchars escape text automatically - opening up potential for cross site scripting posibliities.. Bugs: radio buttons and hidden fields with same name could be created - blanking out the radio buttons url_rewrite option is now syntax tested.Features: An attempt to create base Compile directory if it doesnt exist. ";}i:15;a:4:{s:7:"version";s:3:"0.7";s:12:"release_date";s:10:"2004-04-03";s:13:"release_state";s:4:"beta";s:13:"release_notes";s:2080:"Last Beta release - (eg. it's a RC Release - next one will be stable!!! hopefully)Minor Bugfix - fixed bug #643 (compile incorrectly tests for string on windows.) - fixed bug #615 constructor can not return errors * check for compileDir isDir is in the compile() anyway.. - fix bug 1120: remove necessity to use flexy:ignoreonly, * if a input tag has {variable} the engine assumes you dont want use a flexy_element. - fix bug #809 - extra minuses in comments (too may ---> caused problems ) - fix bug #874 (literals with commas in flexy:if) flexy:if=(#aaa,bbb#) correctly seen as a single attribute - fix bug 739 - syntax checking on foreach flexy:foreach="singlevalue" now flagged as error. - /flexy:include and toJavascript closers now correctly ignored. - fix #856 - fix get_class usage. - Fix bug when too many closing tags could zero the stack and delete parts of the template. New Features - config option templateDirOrder=reverse, allows you to prefer the first found template, rather than the last found template (when using theme type configurations) - Engine uses File_Gettext if gettext is not found. (or textdomain is set.) - Provisional SmartyConverter compiler, * provides a basic Coversion of Smarty to Flexy templates - Provisional SmartyAPI emulator added. * allows drop in replacement of flexy with simple code that uses Smarty. - strict option so variable can emit errors if they are not defined. - multiSource option for enabling themes type systems, where you can override the default template folder with your own custom designs. Behaviour changed - templateDir can be an array, or string seperated by the system path seperatory (; on windows,: on unix) - If a file exists in multiple paths, then The LAST FOUND template will be used. (previously this emited an error) - If you use multiple paths in the template_dir, then the path will be modified to write to {compileDir}/{basename(actualTemplateDir)}_{md5(actualTemplateDir)}/...template.. ";}i:16;a:4:{s:7:"version";s:5:"0.6.3";s:12:"release_date";s:10:"2004-01-21";s:13:"release_state";s:4:"beta";s:13:"release_notes";s:67:"Minor Bugfix - fixed class="{some_method(with_some_args)}" ";}i:17;a:4:{s:7:"version";s:5:"0.6.2";s:12:"release_date";s:10:"2004-01-20";s:13:"release_state";s:4:"beta";s:13:"release_notes";s:213:"Minor Bugfix / mini feature release - support flexy:if with method arguments eg. flexy:if="somemethod(#with#,some,#args#)" - foreach works on objects and arrays. : eg. flexy:foreach="someobject" ";}i:18;a:4:{s:7:"version";s:5:"0.6.1";s:12:"release_date";s:10:"2003-12-21";s:13:"release_state";s:4:"beta";s:13:"release_notes";s:61:"Bugfix release - got javascript script wrapper wrong. ";}i:19;a:4:{s:7:"version";s:3:"0.6";s:12:"release_date";s:10:"2003-12-20";s:13:"release_state";s:4:"beta";s:13:"release_notes";s:1516:"This is a major fix release, along with quite a few new usefull features,many thanks to the various bug reporters, and especially from the Damein Turner and The Seagull framework TeamHopefully, it is now the last beta before a stable release..... New features - <flexy:include src="xxx.html"/> to include other templates - <flexy:toJavascript flexy:prefix="js_name_prefix_" jsvar="php_flexy_var" ....> uses HTML_Javascript_Convert to import PHP variables into Javascript. - new modifier :b (for NL2BR + HTMLSPECIALCHARS) - support for mulitple paths in templateDir - attribute flexy:raw="{checked}" allows you to to put raw data into a tag. - -- double minus, is valid inside comments (not really valid XHTML though)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -