» Version | » Information |
---|---|
1.3.13 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-1.3.13 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-1.3.13 Release date: 2014-11-21 05:29 UTC Release state: stable Release uploaded by: alan_k Changelog: Minor fixes and feature release - includes PHP5 depricated fixes Bug Fixes #18825 - old cvs link on package description.. update to what will be broken soon.. svn link... #----- - replace \e with preg_callback #----- - work around https://bugs.php.net/bug.php?id=62796 #----- - support placeholder translation in password fields correctly #----- - more fixes for placeholder translation, and better support for translator Dataobjects / fix static on factory #----- - output for json should use encodeunsafe, otherwise header gets sent #----- - ignore the string translation code on non-html templates - you can still use the {_(....)_} translation placeholder to flag a translatable string New Features #----- - add support for placeholder html5 tag for translation #----- - Add support for DB_DataObject based template translations requires DB_DataObject to be autoloaded or required before use. #----- - add test code for bug 19880 #----- - add raw include and json including for flexy:include src= type=raw|json name=[jsname] #----- - support for storing original text from <xxxx flexy:contents="....">These contents</xxx> in flexy->compiler->contentStrings #----- - support for full tag in flexy:contents="{standard.flexy[arg].stuff()}" #----- - change default encoding to UTF-8 #----- - expose compiler when its used as flexy->compiler #----- - move translation code into core class, and support element translation of input type=submit value=xxxxx #----- - add extra comment on var, and hide error reporting on ob_end_clean - which output spurious warnings #----- - tidy up code for output to file - ob_ methods playing up quite a bit on different versions of PHP #----- - add outputObjectToFile - a memory friendly outputObject , which can not use inline functions, as support is not available in some servers.. #----- - remove pass by ref on object, as it is not needed any more #----- - add new method resolvePath - that enables quering of where the template physicaly resides #----- - PHP5.4 E_ALL change support Dependencies:
|
1.3.12 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-1.3.12 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-1.3.12 Release date: 2011-08-29 06:13 UTC Release state: stable Release uploaded by: alan_k Changelog: Minor fixes and feature release Bug Fixes #18763 - Fix is_a() for 5.3.7+ due to php-core stupidity #----- - Support for new PEAR5 class. Features #----- - support for CommonPageID when using Translation2 Dependencies:
|
1.3.11 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-1.3.11 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-1.3.11 Release date: 2011-01-11 05:25 UTC Release state: stable Release uploaded by: alan_k Changelog: Minor fixes and feature release Bug Fixes #----- - PHP5 E_STRICT warnings removed Dependencies:
|
1.3.10 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-1.3.10 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-1.3.10 Release date: 2010-06-07 09:27 UTC Release state: stable Release uploaded by: alan_k Changelog: Minor fixes and feature release Bug Fixes #17390 - id nameuses replacement got broken on previous commit (Christophe Husson) #17210 - remove error suppression #16978 - support non-ascii vars #14895 - local environment settings in test (clockwerx) New Features/Changes #16554 - support dontCompile option #----- - provisional support for label property of elements outputing as associated label content (Stephane Matamontero) #----- - new option disableTranslate - blocks all translation features, like writing .serial files. (Stephane Matamontero) #----- - Element merge code moved element class - reducing size of base class (Alan) #----- - SVN layout changed. (clockwerx) Dependencies:
|
1.3.9 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-1.3.9 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-1.3.9 Release date: 2009-03-24 00:44 UTC Release state: stable Release uploaded by: alan_k Changelog: Fix The Unlucky Release - Minor Bug Fixes Bug Fixes #----- - Plugin was broken by last fix in last release. Dependencies:
|
1.3.7 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-1.3.7 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-1.3.7 Release date: 2009-03-13 03:13 UTC Release state: stable Release uploaded by: alan_k Changelog: Friday the 13th Release - Minor Bug Fixes Bug Fixes #16026 - Fix is_callable in plugins - (refix to #13887) #----- - Fix new include feature adding blank vars Dependencies:
|
1.3.6 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-1.3.6 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-1.3.6 Release date: 2009-03-12 06:23 UTC Release state: stable Release uploaded by: alan_k Changelog: Minor Bug Fix release Bug Fixes #----- - fix include to only pass variables created by template, rather than flood the subtemplate - fixes various segfaults. #----- - Add scopeVars fetch for better include #----- - add some extra checks for writing merging elements #14105 - Empty element tag ending with /> and flexy:replace #15961 - customflexyattributes ignores multiple flexy attributes. #14984 - PHP5 class_exists compat #15272 - inherrited namesues checkboxes get wrong names - patch by Heikki Uusitalo #15279 - early return from checkbox code with [] in name. - may have knock on effects #15874 - single API for error reporting in Compiler/Flexy/Tag.php - to show filename/line/tag etc. #15263 - php5 merge elements needs to clone objects #14899 - flexy:xhtml honored by element - fix by Geoff Beaumon #14897 - xhtml not honored by element input etc. #13887 - use is_callable on plugins Request #14893 - improve PHPCS (clockwerx) Dependencies:
|
1.3.4 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-1.3.4 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-1.3.4 Release date: 2008-05-05 00:03 UTC Release state: stable Release uploaded by: alan_k Changelog: Minor Bug Fix release Bug Fixes #13419 - Windows compile throwed error with LC_MESSAGES - we now use LC_ALL and check for it. ****** - PHP4 parse error in Flexy compiler ****** - flexy:toJSON incorrectly created variables using json_encode (PHP5 only) Dependencies:
|
1.3.3 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-1.3.3 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-1.3.3 Release date: 2008-02-27 01:07 UTC Release state: stable Release uploaded by: alan_k Changelog: Minor Bug Fix release Bug Fixes #9336, #13016, #13022, #13076, #13179 - is_a depreciation fix (hang internals for this!) Dependencies:
|
1.3.2 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-1.3.2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-1.3.2 Release date: 2008-01-31 06:11 UTC Release state: stable Release uploaded by: alan_k Changelog: Major Bug Fix release Bug Fixes #13016 - Version 1.3.1 (and probably 1.3.0) where completely broken by CustomFlexyAttributes change Patch has been reverted - pending re-implementation. Dependencies:
|
1.3.1 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-1.3.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-1.3.1 Release date: 2008-01-31 03:12 UTC Release state: stable Release uploaded by: alan_k Changelog: Minor Bug Fix release Bug Fixes #13010 - Missing CustomFlexyAttributes.php file Dependencies:
|
1.3.0 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-1.3.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-1.3.0 Release date: 2008-01-29 22:53 UTC Release state: stable Release uploaded by: alan_k Changelog: Bug Fix and Minor Feature release Bug Fixes #7609 - user defined compilers causing warnings #11751 - E_NOTICE in CustomFlexyAttributes, fix WS/TAB issue. #9336 - nasty kludge fix to workaround stupidest decision in PHP history ;) -fix PHP5/4 warning issues with is_a #10830 - support title= on most tags, and alt= on input tags. #12036 - prevent generation of closing tags for link, meta, hr, br #9591 / #11740 - radio buttons can auto generate ID if none given #10002 - setData with array/object #9157 - native language regex support New Features #7609 - support user defined compilers as compiler object #11741 - getOptions / clearOptions - thx to justdev #---- - add experimental toJSON feature. flexy:toJSON #12265 - support label in Element #----- - change setlocale to use LC_MESSAGES to prevent bugs with strtoupper #10248 - attributes: flexy:content, flexy:replace, flexy:omittag #8008 - flexy:include src= allow variables { } #9436 - support background for url rewriting Dependencies:
|
1.2.5 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-1.2.5 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-1.2.5 Release date: 2006-11-10 02:13 UTC Release state: stable Release uploaded by: alan_k Changelog: Minor Bugfix / Minor Feature Release Bugs #9157 - fix regex that tests translation strings - support multilanguage text Feature Request #7483 - implement subtemplating with variable passing support Thanks to anil at m3 Fixes gettext based translationns using Translation2 now work Dependencies:
|
1.2.4 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-1.2.4 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-1.2.4 Release date: 2006-01-20 03:04 UTC Release state: stable Release uploaded by: alan_k Changelog: Minor Bugfix / New Feature Release Bugs ---- #6152 - default to using key in optgroup when novalue not set #5267 - checkboxes using [], with ids #5752 - add support for :e modifier == htmlentities() call. Features/Changes and Fixes -------------------------- * add ability to remove unused translations (in HTML_Template_Flexy_Translator, tidy up javascript a little (ivan) * add support for gettext Translation2 backend - Requires uptodate version of Gettext/Translation2 packages ... (ivan) * remove warning from compiled template, when trying to merge possibly non-existant elements * remove short tags output from Simpletags compiler backend. + lots of whitespace changes, for some reason... (Demian Turner) * basic charset support in HTML_Template_Flexy_Element ... this is a todo for the rendering layer though... (eg. utf8 / big5 sent to htmlspecialchars) * de-escaping of &nbsp; only used in select option text - removed this feature from other elements * add XUL checkbox support. * correctly replace linefeeds on XUL textbox's * better handling of XUL textbox and menulist elements converted to Flexy XUL Elements * flexy:nameuses also replaces in id (obviously if %s is included) Dependencies:
|
1.2.3 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-1.2.3 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-1.2.3 Release date: 2005-10-29 00:08 UTC Release state: stable Release uploaded by: alan_k Changelog: Minor Bugfix Release Feature Requests: bug #5752 - add support for :e modifier == htmlentities() call. * flexy:nameuses also replaces in id (obviously if %s in included) Fixes * dont bork with error if value is not set when setValue() on a radio button is called. * fix up flexy:nameuses with radio buttons. * php4.4 compatibility issues (return by ref stuff) * summarize security issues with SimpleTags backend Dependencies:
|
1.2.2 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-1.2.2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-1.2.2 Release date: 2005-07-23 00:45 UTC Release state: stable Release uploaded by: alan_k Changelog: Minor Bugfix Release - Support Variables in Attributes of Flexy Elements (I would not recomend doing this, but it appears to work!) - Removed support for merging text and variables automatically for creating translation strings (It never worked very well) the recommend way to mix variables and text for translation is to use the translation markers {_( translation block with {flexy} {methods()} )_} * Note these do not work correcty inside attributes values yet! - but will be fixed in the next release. - Support for translator storing title= attribute values from <a> tags. - Unix privaliges are 0664 for translation strings and element data. Features / Fixes bug #4103 - & replaced with & in attribute values of flexy elements ( is still broken however.) bug #3885 - Flexy_Factory::setRequired() did not reset return values correctly (note this feature is depreciated) --- ----- - Fixed Number format modifier (found by new test suite) --- ----- - Fixed Attribute method calls modifiers being chopped. bug #3946 - Using flexy:raw (to put stuff like "checked" in) now produces a warning when used with dynamic elements (use flexy:ignore="yes") to stop them being dynamic. Dependencies:
|
1.2.1 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-1.2.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-1.2.1 Release date: 2005-01-27 09:03 UTC Release state: stable Release uploaded by: alan_k Changelog: Minor Bugfix Release Features / Fixes #---- - Pass by reference warning fixed. #---- - Left debuging code in plugins A very nice introduction to plugin's exists here: http://seagull.phpkitchen.com/docs/wakka.php?wakka=Howto/Flexy/Plugins Dependencies:
|
1.2.0 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-1.2.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-1.2.0 Release date: 2005-01-25 02:38 UTC Release state: stable Release uploaded by: alan_k Changelog: Minor Feature Release phpt testsuite has replaced previous CVS diff tests. (and in turn picked up a few bugs) Features / Fixes #---- - Nested included templates <flexy:include src="...."/> inherit parent variables. #---- - Fixed PHP code detection #---- - option['allowPHP'] = 'delete', will just remove php code, rather than barf with error, or just add it. #---- - CDATA sections supported, with limited flexy tags (eg. foreach and variables only) #---- - Plugins now show correct warning when loading fails. #---- - Plugins as modifiers work correctly (fixed previous bug if they started with h/r/t etc. they got ignored.) #3129 - add note that setRequired/setError/freeze are depreciated (they should really be examples, that end user can modify, rather than a method) #3145 - fixed missing ; in an error message. Dependencies:
|
1.1.2 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-1.1.2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-1.1.2 Release date: 2004-12-27 20:46 UTC Release state: stable Release uploaded by: alan_k Changelog: Minor BugFix Release Features / Fixes #3041 - Removed Warning raised during compilation. Dependencies:
|
1.1.1 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-1.1.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-1.1.1 Release date: 2004-12-24 00:31 UTC Release state: stable Release uploaded by: alan_k Changelog: Minor Feature Release Changes Note: This release does break BC in templates using the Translation tools, (which since they are undocumented should really be regarded as beta I guess.). Support for Conversion of <b>this is {atag} in a sentence</b> to a translatable string: "this is %s in a sentence" Is now NOT supported, it will result in 2 strings "this is" "in a sentence" To effect a similar result, the translation markers should now be used: <b>{_(this is {atag} in a sentence)_}</b> will convert into a translatable string "this is {atag} in a sentence" Features / Fixes #------ support for translatable markers in html attributes added: eg. <a href="{_(http://www.example.com)_}">..... #3003 {var} replaced with %s - fixed by removing all string merging code. Dependencies:
|
1.1.0 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-1.1.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-1.1.0 Release date: 2004-12-17 23:20 UTC Release state: stable Release uploaded by: alan_k Changelog: Minor Feature Release Changes Note: This release may include some changes which may break BC, (in which case they _are_ bugs and will be fixed.). Features #------ Forms without names, now are not generated as HTML_Elements, rather than given a default name. #------ support for -ve numbers in {arrays[-1]} #------ support for variable replacements in commented out blocks of styles #2074 - allow literal numbers in methods, eg. {somemethod(3,#astring#,avar)} Features #------ Limited support for Xul in Elements #2097 Support for mixing flexy vars within dynamic elements. (If this causes problems, please file a bug report.) #------ Forms without names render as plain HTML, rather than generating dynamic elements. #------ createToken code is simplified and supports writing the position of a token (generally for usage in the Tree.php file for parsing html only.) #------ Fixed tree builder so it is more tolerant of malformed HTML (eg. form tags with closures in the wrong part of the html tree) #------ Style element now works with flexy tags (rather than ignoring them within comments) #------ Support for translation of alt tags of IMG Dependencies:
|
1.0.1 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-1.0.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-1.0.1 Release date: 2004-08-08 22:39 UTC Release state: stable Release uploaded by: alan_k Changelog: Minor Bug Fix Release Bugs #------ Fix Missing include of Token.php Dependencies:
|
1.0.0 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-1.0.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-1.0.0 Release date: 2004-08-06 22:48 UTC Release state: stable Release uploaded by: alan_k Changelog: The Long Awaited Gold Release. Bug Fixes: #1675 - CRLF fixes on windows #------ Elements with matching key = value where incorrectly rendered. Tweaks: * minor changes to simple Smarty Template Converter/Processor * Default Compiler is now called Flexy * Added Translator tool to package (see Translator.php source for usage) * Translator Tool includes clearTemplateCache - removes all files. * Some error message improvements * Added Tree.php - A HTML to Tree par ser, which can be used to process HTML, or will eventually replace the Tree parsing code in the compiler. tests/treeTest.php shows example usage * HTML_Template_Flexy_Element used with <FORM> tags, now honours override property * Minor reduction in size of parser Nodes Dependencies:
|
0.9.2 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-0.9.2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-0.9.2 Release date: 2004-06-24 06:23 UTC Release state: beta Release uploaded by: alan_k Changelog: Feature addition release support for id blocks $flexy->compile('sometemplate.html#mytag'); 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 Dependencies:
|
0.9.1 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-0.9.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-0.9.1 Release date: 2004-06-17 03:52 UTC Release state: beta Release uploaded by: alan_k Changelog: Feature addition release support 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 compiles options[compiler] = raw plugin 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() Dependencies:
|
0.8.2 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-0.8.2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-0.8.2 Release date: 2004-05-05 08:27 UTC Release state: beta Release uploaded by: alan_k Changelog: 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..) Dependencies:
|
0.8.1 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-0.8.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-0.8.1 Release date: 2004-04-23 22:24 UTC Release state: beta Release uploaded by: alan_k Changelog: 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. Dependencies:
|
0.8.0 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-0.8.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-0.8.0 Release date: 2004-04-22 06:32 UTC Release state: beta Release uploaded by: alan_k Changelog: 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]} {_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. Dependencies:
|
0.7.1 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-0.7.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-0.7.1 Release date: 2004-04-07 02:46 UTC Release state: beta Release uploaded by: alan_k Changelog: 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. Dependencies:
|
0.7 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-0.7 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-0.7 Release date: 2004-04-03 07:07 UTC Release state: beta Release uploaded by: alan_k Changelog: 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.. Dependencies:
|
0.6.3 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-0.6.3 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-0.6.3 Release date: 2004-01-21 03:56 UTC Release state: beta Release uploaded by: alan_k Changelog: Minor Bugfix - fixed class="{some_method(with_some_args)}" Dependencies:
|
0.6.2 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-0.6.2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-0.6.2 Release date: 2004-01-20 03:18 UTC Release state: beta Release uploaded by: alan_k Changelog: 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" Dependencies:
|
0.6.1 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-0.6.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-0.6.1 Release date: 2003-12-20 22:08 UTC Release state: beta Release uploaded by: alan_k Changelog: Bugfix release - got javascript script wrapper wrong. Dependencies:
|
0.6 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-0.6 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-0.6 Release date: 2003-12-19 21:52 UTC Release state: beta Release uploaded by: alan_k Changelog: 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 Team Hopefully, 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) - global flexyIgnore option, to prevent global conversion to Elements. - better support for elements where name="someval[]" Fixes - array syntax supported in attributes (eg. urlencoded) - setting values of elements with type works (bug #460) - methods with multiple arguments fixed. - HTML_Template_Flexy_Element::removeAttribute() works (removing attributes is done by setting them to false) - include error on EndTag - closed element (eg. with /> at end, can be used with flexy:if= - radio buttons should auto create id's if none are set. - xdebug recursion level increased (as the compiler recursion is high) - buffered output with $elements fixed. Note: See Version 0.5 release notes concerning BC issues with 0.4 series Dependencies:
|
0.5.1 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-0.5.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-0.5.1 Release date: 2003-09-04 01:29 UTC Release state: beta Release uploaded by: alan_k Changelog: Fixes - bufferedOutputObject correctly deals with elements array (Stephan Wentz) Note: See Version 0.5 release notes concerning BC issues with 0.4 series |
0.5 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-0.5 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-0.5 Release date: 2003-09-03 13:48 UTC Release state: beta Release uploaded by: alan_k Changelog: Warning: BC Breaking release Warning: Still in Beta Testing.. (although most of the API should now be settled) Due to the conclusion that the quickforms integration was not only messy, but a heavy weight to be carried. The whole form/dynamic element layer was re-engineered. And the dependancy on QuickForms removed New Features HTML_Template_Flexy_Element, is a small simple representation of generic HTML, it is used to store the representation of form elements, and any HTML element which contains the FLEXY:DYNAMIC attribute. you can override elements, by using the new second argument to outputObject($object,$elements) where $elements is an associate array of (form name)=>Element and the data in the elements array is merged with the visable template at runtime. (so you only need to define what is different to the HTML, not the whole tag.) You can make any tag 'dynamic', by just tagging it. - if you replace the element in the elements array with an object that implements a toHtml method, This will be called rather than the drawn element. A Utility class, HTML_Template_Flexy_Factory offers common static methods, like - creating element values from a key=>value array (eg. Dataobjects->toArray()) - setting error messages (as suffixes to elements) - flag something as required. (prefixing strings to elements) Compiler Abstraction The Compiler code in Flexy is now abstracted out, to make it possible to write Other compilers and use the same caching/loading mechanism. (the old regex compiler is included as an example of this.) Other BC Issues: all Flexy attributes must now be prefixed with "flexy:" namespace (eg. if, foreach, startchildren etc.) Other New Features - support for array strings on variables and methods = eg. {somevar[xxx][yyy].toHtml():h} - added new Modifiers:r (print_r), and :n (number_format), and in future may make available user defined modifiers |
0.4.2 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-0.4.2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-0.4.2 Release date: 2003-06-17 01:44 UTC Release state: beta Release uploaded by: alan_k Changelog: Bug fixes - removed PEAR_ERROR_DIE from catching forms with no elements |
0.4.1 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-0.4.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-0.4.1 Release date: 2003-06-11 11:02 UTC Release state: beta Release uploaded by: alan_k Changelog: Bug fixes - BC support for getOptions call on objects (Marcin Galczynski) Features - method calls with literals at end can now use modifiers (:h/:u etc.) |
0.4 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-0.4 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-0.4 Release date: 2003-04-17 04:14 UTC Release state: beta Release uploaded by: alan_k Changelog: Warning BC breaking release: - It is likely that form code may break with this due to the quickform integration - likely issues: you will probably have to load the template and assign data to it using $template->setQuickForm($this); which will then expose $template->quickform as the template Object. Bug fixes - fixed #literal# chopping bug (Yuri Dyakonov) - fixed XML/XHTML support (no more munging of cases) - fixed Fatal Error messages - with more details - fixed whitespace in doctype tags. (wierd lexer stuff) Features - quickforms (3) integration added. - quickforms with multiple forms $flexyobj->quickforms[0.....] - Initial gettext/multilanguage support - support variable[12] as a valid variable name. - does syntax checking on form element names - fixed {outputBody()} (no prefix var methods) - added url_rewrite for HREF and SRC tags - see example.ini for more details - added compileAll.php script for bulk compilation on servers that do not have write access to the directories they are serving off. - Added extra Option - nonHTML to not make tokens of HTML tags, and enable postprocessing of compiled template to replace ?>\n with ?>\n\n (aimed at email templates) - Added extra Option - allowPHP to enable PHP code in template to be left alone. - defaults to off (eg. no PHP allowed) - - added support for <TAG IF="somevar.xxxx" and <TAG IF="somevar.method()" maps to if (the test) <TAG ..... - handles elements with same name, like radio buttons - although performing modifications on them can be tricky.. While may thanks are owed to the many beta testers, special mention to Xavier for spotting some really annoying little bugs. |
0.3 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-0.3 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-0.3 Release date: 2003-02-06 08:05 UTC Release state: beta Release uploaded by: alan_k Changelog: Bug fixes - allow usage with only constructor options - fixed form elements - should be htmlspecialchars, rather than urlencoding - new Tokenizer is enabled by default - set 'useLegacy' in config/options to use the old regex replacer. - no variables are added (eg. o.*, a.* etc. to the page unless useLegacy is set) - parsers are now private methods. (internal change) New Features - FLEXYSTART and FLEXYSTARTCHILDREN tags added so when use you include sub templates, you can avoid including HEAD etc. tags. |
0.2 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-0.2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-0.2 Release date: 2003-02-02 17:23 UTC Release state: beta Release uploaded by: alan_k Changelog: Major overhall of engine - Introduction of Lex based Parser. - A real syntax checking Template generator - Ability to do Coldfusion style HTML attributes like foreach="abc,b,c" in TR or any tag. - Automatically converts form elements (INPUT, TEXTAREA, SELECT) contents to suitable PHP code and adds error messages. - docs temporarily at http://devel.akbkhome.com/peardoc2/package.html.html-template-flexy.html Note: Filter features of original HTML_Template_Flexy are now depreciated. Note: This is not backwards compatible with version 0.1! |
0.1 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Flexy-0.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Flexy-0.1 Release date: 2002-09-07 05:44 UTC Release state: beta Release uploaded by: alan_k Changelog: First PEAR release, - Renamed to HTML_Flexy_Template to conform to PEAR standards - Added more phpdoc comments to filters - Removed getTemplateDir method (legacy/unused) - Added multilanguage support options['locale'] - in theory a i18n filter could be added. Othewise it just checks to see if a template/compiled template with ????.{locale}.??? exists - added staticQuickTemplate($template,$object) for quickly including subtemplates. - added {q_include:#aaaaa.html#} to simpletags to support quicktemplate. - changed to DIRECTORY_SEPERATOR and removed base directory check in windows. |