Additions:
<<**[[AboutXTemplate About]]** | **[[XTemplateDownloads Downloads]]** | **[[XTemplateSupport Support]]** | **[[XTemplateDevelopment Development]]** | **[[http://forum.phpxtemplate.org Community]]** | **""<a href="/HomePage#search">Search</a>""**<<>>**[[http://sourceforge.net/projects/xtpl PHP XTemplate SourceForge Project Page]]**{{image class="right" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="right" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}>>
Deletions:
Additions:
<<>>**[[http://sourceforge.net/projects/xtpl PHP XTemplate SourceForge Project Page]]**{{image class="right" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="right" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}>>**[[AboutXTemplate About]]** | **[[XTemplateDownloads Downloads]]** | **[[XTemplateSupport Support]]** | **[[XTemplateDevelopment Development]]** | **[[http://forum.phpxtemplate.org Community]]** | **""<a href="/HomePage#search">Search</a>""**<<
Deletions:
Additions:
>>**[[http://sourceforge.net/projects/xtpl PHP XTemplate SourceForge Project Page]]**{{image class="right" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="right" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}>><<**[[AboutXTemplate About]]** | **[[XTemplateDownloads Downloads]]** | **[[XTemplateSupport Support]]** | **[[XTemplateDevelopment Development]]** | **[[http://forum.phpxtemplate.org Community]]** | **""<a href="/HomePage#search">Search</a>""**<<
Deletions:
Additions:
<<**[[AboutXTemplate About]]** | **[[XTemplateDownloads Downloads]]** | **[[XTemplateSupport Support]]** | **[[XTemplateDevelopment Development]]** | **[[http://forum.phpxtemplate.org Community]]** | **""<a href="/HomePage#search">Search</a>""**<<>>**[[http://sourceforge.net/projects/xtpl PHP XTemplate SourceForge Project Page]]**{{image class="right" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="right" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}>>
Deletions:
>>**[[http://sourceforge.net/projects/xtpl PHP XTemplate SourceForge Project Page]]**{{image class="right" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="right" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}>>
Additions:
::c::{{image alt="PHPNW11 PHP Conference 08/10/2011" title="PHPNW11 PHP Conference 08/10/2011" url="http://conference.phpnw.org.uk/phpnw11/files/2011/05/phpnw11_details_200x144.png" link="http://conference.phpnw.org.uk/phpnw11/" class="center"}}
Deletions:
Additions:
>>**[[http://sourceforge.net/projects/xtpl PHP XTemplate SourceForge Project Page]]**{{image class="right" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="right" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}>>
Deletions:
Additions:
<<**[[AboutXTemplate About]]** | **[[XTemplateDownloads Downloads]]** | **[[XTemplateSupport Support]]** | **[[XTemplateDevelopment Development]]** | **[[http://forum.phpxtemplate.org Community]]** | **""<a href="/HomePage#search">Search</a>""**<<
>>**[[http://sourceforge.net/projects/xtpl PHP XTemplate SourceForge Project Page]]**{{image class="right" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="right" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}>><<
>>**[[http://sourceforge.net/projects/xtpl PHP XTemplate SourceForge Project Page]]**{{image class="right" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="right" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}>><<
Deletions:
Additions:
=====PHP XTemplate=====
<<**[[AboutXTemplate About]]** | **[[XTemplateDownloads Downloads]]** | **[[XTemplateSupport Support]]** | **[[XTemplateDevelopment Development]]** | **[[http://forum.phpxtemplate.org Community]]** | **""<a href="/HomePage#search">Search</a>""**<<>>**[[http://sourceforge.net/projects/xtpl PHP XTemplate SourceForge Project Page]]**{{image class="right" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="right" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}>><<
::c::{{image alt="PHPNW11 PHP Conference 08/10/2011" title="PHPNW11 PHP Conference 08/10/2011" url="http://conference.phpnw.org.uk/phpnw11/files/2011/05/phpnw11_details_200x1441.png" link="http://conference.phpnw.org.uk/phpnw11/" class="center"}}
::c::
----
<<==What is XTemplate?==
PHP XTemplate is a cool templating engine for PHP.
XTemplate allows you to store your HTML code separately from your PHP code (as opposed to compiling your template into PHP as per Smarty etc.). It has many useful features such as nested blocks and various kinds of variable interpolation, and yet the code is very short and very optimized.
XTemplate has been around for several years, it is considered stable and mature and has been used in many projects, from [[WhoUsesXTemplate personal to larger commercial and open source ones]]. If you'd like to get involved in helping out, see XTemplateContributions, otherwise please feel free to browse the site or get straight on with the [[XTemplateDownloads downloads]].
==Latest News==
- 17/09/2008: It's been a while since a public update, however the latest version is in SubVersion now:
- Big changes to tag callback regex - much improved
- change in constructor - now pass in an array of options
- assign objects as well as arrays
- _pre_var_dump made protected instead of private
- new protected method _ob_var_dump
- 16/08/2007: A couple of SubVersion code updates committed today including:
- Re-factored tag callback code - improved functionality:
- Now can call {tag|callback1} {tag|callback2} {tag|callback1#With a comment} to get different output for each (thanks again for the feedback Oliver)
- Further fix for $_SESSION being empty when used with XTemplate::scan_globals() - monitor & [[http://forum.phpxtemplate.org/viewforum.php?f=3 feedback]] if you experience side-effects
- Added XTemplate::comment_delim defaults to '#'
- Added XTemplate::callback_delim defaults to '|'
- Tag callback functions - improve security (thanks Oliver):
- Added XTemplate::allow_callbacks property (boolean) to allow switching functionality off
- Added XTemplate::allowed_callbacks (array) to limit functions available from templates
- Callbacks now only available for methods of subclasses of XTemplate or as functions in XTemplate::allowed_callbacks array
- 05/08/2007: Refactored website layout, ready for some updates and opened [[http://forum.phpxtemplate.org/ discussion forums]].
Older news can be found on the NewsArchive page
<<>>===Latest Release===
Version 0.4.0 is the [[XTemplateDownloads current release]] available for both PHP 5 and PHP 4.
{{rss url="http://sourceforge.net/export/rss2_projsummary.php?group_id=16714" cachetime="120"}}>>
::c::
----
>>**We use [[Wikka:HomePage WikkaWiki]]**
This site is running on version {{wikkaversion}} (see WikkaReleaseNotes).
Useful pages: FormattingRules, WikkaDocumentation, OrphanedPages, WantedPages, TextSearch.
>>
::c::
{{nocomments}}
<<**[[AboutXTemplate About]]** | **[[XTemplateDownloads Downloads]]** | **[[XTemplateSupport Support]]** | **[[XTemplateDevelopment Development]]** | **[[http://forum.phpxtemplate.org Community]]** | **""<a href="/HomePage#search">Search</a>""**<<>>**[[http://sourceforge.net/projects/xtpl PHP XTemplate SourceForge Project Page]]**{{image class="right" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="right" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}>><<
::c::{{image alt="PHPNW11 PHP Conference 08/10/2011" title="PHPNW11 PHP Conference 08/10/2011" url="http://conference.phpnw.org.uk/phpnw11/files/2011/05/phpnw11_details_200x1441.png" link="http://conference.phpnw.org.uk/phpnw11/" class="center"}}
::c::
----
<<==What is XTemplate?==
PHP XTemplate is a cool templating engine for PHP.
XTemplate allows you to store your HTML code separately from your PHP code (as opposed to compiling your template into PHP as per Smarty etc.). It has many useful features such as nested blocks and various kinds of variable interpolation, and yet the code is very short and very optimized.
XTemplate has been around for several years, it is considered stable and mature and has been used in many projects, from [[WhoUsesXTemplate personal to larger commercial and open source ones]]. If you'd like to get involved in helping out, see XTemplateContributions, otherwise please feel free to browse the site or get straight on with the [[XTemplateDownloads downloads]].
==Latest News==
- 17/09/2008: It's been a while since a public update, however the latest version is in SubVersion now:
- Big changes to tag callback regex - much improved
- change in constructor - now pass in an array of options
- assign objects as well as arrays
- _pre_var_dump made protected instead of private
- new protected method _ob_var_dump
- 16/08/2007: A couple of SubVersion code updates committed today including:
- Re-factored tag callback code - improved functionality:
- Now can call {tag|callback1} {tag|callback2} {tag|callback1#With a comment} to get different output for each (thanks again for the feedback Oliver)
- Further fix for $_SESSION being empty when used with XTemplate::scan_globals() - monitor & [[http://forum.phpxtemplate.org/viewforum.php?f=3 feedback]] if you experience side-effects
- Added XTemplate::comment_delim defaults to '#'
- Added XTemplate::callback_delim defaults to '|'
- Tag callback functions - improve security (thanks Oliver):
- Added XTemplate::allow_callbacks property (boolean) to allow switching functionality off
- Added XTemplate::allowed_callbacks (array) to limit functions available from templates
- Callbacks now only available for methods of subclasses of XTemplate or as functions in XTemplate::allowed_callbacks array
- 05/08/2007: Refactored website layout, ready for some updates and opened [[http://forum.phpxtemplate.org/ discussion forums]].
Older news can be found on the NewsArchive page
<<>>===Latest Release===
Version 0.4.0 is the [[XTemplateDownloads current release]] available for both PHP 5 and PHP 4.
{{rss url="http://sourceforge.net/export/rss2_projsummary.php?group_id=16714" cachetime="120"}}>>
::c::
----
>>**We use [[Wikka:HomePage WikkaWiki]]**
This site is running on version {{wikkaversion}} (see WikkaReleaseNotes).
Useful pages: FormattingRules, WikkaDocumentation, OrphanedPages, WantedPages, TextSearch.
>>
::c::
{{nocomments}}
Deletions:
{{checkversion}}
Thanks for installing Wikka! This wiki runs on version ##{{wikkaversion}}##, patch level ##{{wikkapatchlevel}}##. You may want to read the [[WikkaReleaseNotes release notes]] to learn what's new in this release.
>>==Keep up-to-date==
To receive the latest news from the Wikka Development Team, you can sign up to one of our [[http://wikkawiki.org/WikkaMailingLists lists]], subscribe to our [[http://blog.wikkawiki.org Blog]] or join us for a chat on [[http://wikkawiki.org/TheLounge IRC]].
>>====Getting started====
Double-click on this page or click on the **Edit** link in the page footer to get started. If you are not sure how a wiki works, you can check out the [[FormattingRules Wikka formatting guide]] and play in the SandBox.
>>==Need more help?==
Don't forget to visit the [[http://wikkawiki.org WikkaWiki website]]!>>====Some useful pages====
~-[[FormattingRules Wikka formatting guide]]
~-[[WikkaDocumentation Documentation]]
~-[[RecentChanges Recently modified pages]]
~-[[SysInfo System Information]]
You will find more useful pages in the [[CategoryWiki Wiki category]] or in the PageIndex.
No Differences
Additions:
{{image url="images/wikka_logo.jpg" alt="wikka logo" title="Welcome to your Wikka site"}}
{{checkversion}}
Thanks for installing Wikka! This wiki runs on version ##{{wikkaversion}}##, patch level ##{{wikkapatchlevel}}##. You may want to read the [[WikkaReleaseNotes release notes]] to learn what's new in this release.
>>==Keep up-to-date==
To receive the latest news from the Wikka Development Team, you can sign up to one of our [[http://wikkawiki.org/WikkaMailingLists lists]], subscribe to our [[http://blog.wikkawiki.org Blog]] or join us for a chat on [[http://wikkawiki.org/TheLounge IRC]].
>>====Getting started====
Double-click on this page or click on the **Edit** link in the page footer to get started. If you are not sure how a wiki works, you can check out the [[FormattingRules Wikka formatting guide]] and play in the SandBox.
>>==Need more help?==
Don't forget to visit the [[http://wikkawiki.org WikkaWiki website]]!>>====Some useful pages====
~-[[FormattingRules Wikka formatting guide]]
~-[[WikkaDocumentation Documentation]]
~-[[RecentChanges Recently modified pages]]
~-[[SysInfo System Information]]
You will find more useful pages in the [[CategoryWiki Wiki category]] or in the PageIndex.
{{checkversion}}
Thanks for installing Wikka! This wiki runs on version ##{{wikkaversion}}##, patch level ##{{wikkapatchlevel}}##. You may want to read the [[WikkaReleaseNotes release notes]] to learn what's new in this release.
>>==Keep up-to-date==
To receive the latest news from the Wikka Development Team, you can sign up to one of our [[http://wikkawiki.org/WikkaMailingLists lists]], subscribe to our [[http://blog.wikkawiki.org Blog]] or join us for a chat on [[http://wikkawiki.org/TheLounge IRC]].
>>====Getting started====
Double-click on this page or click on the **Edit** link in the page footer to get started. If you are not sure how a wiki works, you can check out the [[FormattingRules Wikka formatting guide]] and play in the SandBox.
>>==Need more help?==
Don't forget to visit the [[http://wikkawiki.org WikkaWiki website]]!>>====Some useful pages====
~-[[FormattingRules Wikka formatting guide]]
~-[[WikkaDocumentation Documentation]]
~-[[RecentChanges Recently modified pages]]
~-[[SysInfo System Information]]
You will find more useful pages in the [[CategoryWiki Wiki category]] or in the PageIndex.
Deletions:
<<**[[AboutXTemplate About]]** | **[[XTemplateDownloads Downloads]]** | **[[XTemplateSupport Support]]** | **[[XTemplateDevelopment Development]]** | **[[http://forum.phpxtemplate.org Community]]** | **""<a href="/HomePage#search">Search</a>""**<<>>**[[http://sourceforge.net/projects/xtpl PHP XTemplate SourceForge Project Page]]**{{image class="right" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="right" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}>>
::c::{{image alt="phpnw09 PHP Conference 10/10/2009" title="phpnw09 PHP Conference 10/10/2009" url="http://conference.phpnw.org.uk/phpnw09/wp-content/uploads/2009/07/phpnw09_det_blk_175x103.png" link="http://conference.phpnw.org.uk/phpnw09/" class="center"}}
::c::
----
<<==What is XTemplate?==
PHP XTemplate is a cool templating engine for PHP.
XTemplate allows you to store your HTML code separately from your PHP code (as opposed to compiling your template into PHP as per Smarty etc.). It has many useful features such as nested blocks and various kinds of variable interpolation, and yet the code is very short and very optimized.
XTemplate has been around for several years, it is considered stable and mature and has been used in many projects, from [[WhoUsesXTemplate personal to larger commercial and open source ones]]. If you'd like to get involved in helping out, see XTemplateContributions, otherwise please feel free to browse the site or get straight on with the [[XTemplateDownloads downloads]].
==Latest News==
- 17/09/2008: It's been a while since a public update, however the latest version is in SubVersion now:
- Big changes to tag callback regex - much improved
- change in constructor - now pass in an array of options
- assign objects as well as arrays
- _pre_var_dump made protected instead of private
- new protected method _ob_var_dump
- 16/08/2007: A couple of SubVersion code updates committed today including:
- Re-factored tag callback code - improved functionality:
- Now can call {tag|callback1} {tag|callback2} {tag|callback1#With a comment} to get different output for each (thanks again for the feedback Oliver)
- Further fix for $_SESSION being empty when used with XTemplate::scan_globals() - monitor & [[http://forum.phpxtemplate.org/viewforum.php?f=3 feedback]] if you experience side-effects
- Added XTemplate::comment_delim defaults to '#'
- Added XTemplate::callback_delim defaults to '|'
- Tag callback functions - improve security (thanks Oliver):
- Added XTemplate::allow_callbacks property (boolean) to allow switching functionality off
- Added XTemplate::allowed_callbacks (array) to limit functions available from templates
- Callbacks now only available for methods of subclasses of XTemplate or as functions in XTemplate::allowed_callbacks array
- 05/08/2007: Refactored website layout, ready for some updates and opened [[http://forum.phpxtemplate.org/ discussion forums]].
Older news can be found on the NewsArchive page
<<>>===Latest Release===
Version 0.4.0 is the [[XTemplateDownloads current release]] available for both PHP 5 and PHP 4.
{{rss url="http://sourceforge.net/export/rss2_projsummary.php?group_id=16714" cachetime="120"}}>>
::c::
----
>>**We use [[Wikka:HomePage WikkaWiki]]**
This site is running on version {{wikkaversion}} (see WikkaReleaseNotes).
Useful pages: FormattingRules, WikkaDocumentation, OrphanedPages, WantedPages, TextSearch.
>>
::c::
{{nocomments}}
Additions:
::c::{{image alt="phpnw09 PHP Conference 10/10/2009" title="phpnw09 PHP Conference 10/10/2009" url="http://conference.phpnw.org.uk/phpnw09/wp-content/uploads/2009/07/phpnw09_det_blk_175x103.png" link="http://conference.phpnw.org.uk/phpnw09/" class="center"}}
Deletions:
Additions:
::c::{{image alt="PHPNW08: Manchester PHP Conference 22/11/08" title="PHPNW08: Manchester PHP Conference 22/11/08" url="http://conference.phpnw.org.uk/phpnw08/wp-content/uploads/2008/08/phpnw08_conference_logo_details_175x142.png" link="http://conference.phpnw.org.uk/phpnw08/" class="center"}}
Additions:
- 17/09/2008: It's been a while since a public update, however the latest version is in SubVersion now:
- Big changes to tag callback regex - much improved
- change in constructor - now pass in an array of options
- assign objects as well as arrays
- _pre_var_dump made protected instead of private
- new protected method _ob_var_dump
- Big changes to tag callback regex - much improved
- change in constructor - now pass in an array of options
- assign objects as well as arrays
- _pre_var_dump made protected instead of private
- new protected method _ob_var_dump
Additions:
- Further fix for $_SESSION being empty when used with XTemplate::scan_globals() - monitor & [[http://forum.phpxtemplate.org/viewforum.php?f=3 feedback]] if you experience side-effects
Deletions:
Additions:
- 16/08/2007: A couple of SubVersion code updates committed today including:
- Re-factored tag callback code - improved functionality:
- Now can call {tag|callback1} {tag|callback2} {tag|callback1#With a comment} to get different output for each (thanks again for the feedback Oliver)
- Further fix for $_SESSION being empty when used with XTemplate::scan_globals() - monitor & [[http://forum.phpxtemplate.org/ feedback]] if you experience side-effects
- Added XTemplate::comment_delim defaults to '#'
- Added XTemplate::callback_delim defaults to '|'
- Tag callback functions - improve security (thanks Oliver):
- Added XTemplate::allow_callbacks property (boolean) to allow switching functionality off
- Added XTemplate::allowed_callbacks (array) to limit functions available from templates
- Callbacks now only available for methods of subclasses of XTemplate or as functions in XTemplate::allowed_callbacks array
- 05/08/2007: Refactored website layout, ready for some updates and opened [[http://forum.phpxtemplate.org/ discussion forums]].
- Re-factored tag callback code - improved functionality:
- Now can call {tag|callback1} {tag|callback2} {tag|callback1#With a comment} to get different output for each (thanks again for the feedback Oliver)
- Further fix for $_SESSION being empty when used with XTemplate::scan_globals() - monitor & [[http://forum.phpxtemplate.org/ feedback]] if you experience side-effects
- Added XTemplate::comment_delim defaults to '#'
- Added XTemplate::callback_delim defaults to '|'
- Tag callback functions - improve security (thanks Oliver):
- Added XTemplate::allow_callbacks property (boolean) to allow switching functionality off
- Added XTemplate::allowed_callbacks (array) to limit functions available from templates
- Callbacks now only available for methods of subclasses of XTemplate or as functions in XTemplate::allowed_callbacks array
- 05/08/2007: Refactored website layout, ready for some updates and opened [[http://forum.phpxtemplate.org/ discussion forums]].
Deletions:
- 04/08/2007: A bug fix and some (nice) new changes released into SubVersion source tree:
- Fix for $_SESSION being empty when using scan_globals method in certain situations
- Changes to regular expressions: Now use definable delimiter throughout code $preg_delimiter, defaults to ` (backtick)
- Support top bit set characters x7f-xff in file, block and tags
- Major new feature: tag callback functions - allow calling of (mutiple) PHP methods (in XTemplate or it's subclasses) or
- functions from within a tag prior to output using | (pipe) as delimiter. See ex9.php
- contents of tag are sent as a parameter to the callback function or method. NB. Methods take priority over same named function
- e.g. {tagname|callback_function} for simple single parameter callback, tag contents passed as only parameter to callback.
- e.g. {tagname|callback_function('param1', 'param2', %s)} to allow mutiple parameters to be specified, %s replaced by tag contents.
- Real world chaining callbacks together:
- e.g. {tagname|str_replace('Hello World', 'Welcome to the Jungle', %s)|strtolower|ucwords|my_user_callback_func}
- (Inspired by sf feature request #1756946 christophe_lu)
- Altered debug code in text method to cater for situations when $tpldir may be an array
Additions:
<<**[[AboutXTemplate About]]** | **[[XTemplateDownloads Downloads]]** | **[[XTemplateSupport Support]]** | **[[XTemplateDevelopment Development]]** | **[[http://forum.phpxtemplate.org Community]]** | **""<a href="/HomePage#search">Search</a>""**<<>>**[[http://sourceforge.net/projects/xtpl PHP XTemplate SourceForge Project Page]]**{{image class="right" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="right" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}>>
Deletions:
Additions:
<<**[[AboutXTemplate About]]** | **[[XTemplateDownloads Downloads]]** | **[[XTemplateSupport Support]]** | **[[XTemplateDevelopment Development]]** | **[[http://forum.phpxtemplate.org Community]]** | **""<a href="/HomePage#search">Search</a>""**<<>>**[[http://sourceforge.net/projects/xtpl PHP XTemplate SourceForge Project Page]]**{{image class="right" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="right" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}>>
Deletions:
Additions:
<<**[[AboutXTemplate About]]** | **[[XTemplateDownloads Downloads]]** | **[[XTemplateSupport Support]]** | **[[XTemplateDevelopment Development]]** | **[[http://forum.phpxtemplate.org Community]]** | **""<a href="#" onclick="document.getElementById('sbi').focus();alert('clicked');return alse;">Search</a>""**<<>>**[[http://sourceforge.net/projects/xtpl PHP XTemplate SourceForge Project Page]]**{{image class="right" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="right" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}>>
Deletions:
Additions:
<<**[[AboutXTemplate About]]** | **[[XTemplateDownloads Downloads]]** | **[[XTemplateSupport Support]]** | **[[XTemplateDevelopment Development]]** | **[[http://forum.phpxtemplate.org Community]]** | **""<a href="#" onclick="document.getElementById('sbi').focus();return alse;">Search</a>""**<<>>**[[http://sourceforge.net/projects/xtpl PHP XTemplate SourceForge Project Page]]**{{image class="right" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="right" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}>>
Deletions:
Additions:
<<**[[AboutXTemplate About]]** | **[[XTemplateDownloads Downloads]]** | **[[XTemplateSupport Support]]** | **[[XTemplateDevelopment Development]]** | **[[http://forum.phpxtemplate.org Community]]** | **""<a href="#" onclick="document.getElementById('sbi').focus();">Search</a>""**<<>>**[[http://sourceforge.net/projects/xtpl PHP XTemplate SourceForge Project Page]]**{{image class="right" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="right" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}>>
Deletions:
Additions:
<<**[[AboutXTemplate About]]** | **[[XTemplateDownloads Downloads]]** | **[[XTemplateSupport Support]]** | **[[XTemplateDevelopment Development]]** | **[[http://forum.phpxtemplate.org Community]]** | **""<a href="" onclick="document.getElementById('sbi').focus();">Search</a>""**<<>>**[[http://sourceforge.net/projects/xtpl PHP XTemplate SourceForge Project Page]]**{{image class="right" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="right" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}>>
Deletions:
Additions:
<<**[[AboutXTemplate About]]** | **[[XTemplateDownloads Downloads]]** | **[[XTemplateSupport Support]]** | **[[XTemplateDevelopment Development]]** | **[[http://forum.phpxtemplate.org Community]]** | **""<a href="#search" onclick="document.getElementById('sbi').focus();document.getElementById('sbi').select();">Search</a>""**<<>>**[[http://sourceforge.net/projects/xtpl PHP XTemplate SourceForge Project Page]]**{{image class="right" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="right" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}>>
Deletions:
Additions:
<<**[[AboutXTemplate About]]** | **[[XTemplateDownloads Downloads]]** | **[[XTemplateSupport Support]]** | **[[XTemplateDevelopment Development]]** | **[[http://forum.phpxtemplate.org Community]]** | **""<a href="#search" onclick="document.getElementById('sbi').focus();">Search</a>""**<<>>**[[http://sourceforge.net/projects/xtpl PHP XTemplate SourceForge Project Page]]**{{image class="right" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="right" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}>>
Deletions:
Additions:
- 05/08/2007: Refactored website layout, ready for some updates and opened [[http://forum.phpxtemplate.org discussion forums]].
Deletions:
Additions:
<<**[[AboutXTemplate About]]** | **[[XTemplateDownloads Downloads]]** | **[[XTemplateSupport Support]]** | **[[XTemplateDevelopment Development]]** | **[[http://forum.phpxtemplate.org Community]]** | **""<a href="#search">Search</a>""**<<>>**[[http://sourceforge.net/projects/xtpl PHP XTemplate SourceForge Project Page]]**{{image class="right" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="right" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}>>
Deletions:
Additions:
Older news can be found on the NewsArchive page
Deletions:
Additions:
<<**[[AboutXTemplate About]]** | **[[XTemplateDownloads Downloads]]** | **[[XTemplateSupport Support]]** | **[[XTemplateDevelopment Development]]** | **[[http://forum.phpxtemplate.org Community]]** | **""<a href="HomePage#search">Search</a>""**<<>>**[[http://sourceforge.net/projects/xtpl PHP XTemplate SourceForge Project Page]]**{{image class="right" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="right" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}>>
Deletions:
Additions:
<<**[[AboutXTemplate About]]** | **[[XTemplateDownloads Downloads]]** | **[[XTemplateSupport Support]]** | **[[XTemplateDevelopment Development]]** | **[[http://forum.phpxtemplate.org Community]]** | **[[http://www.phpxtemplate.org/HomePage#search Search]]**<<>>**[[http://sourceforge.net/projects/xtpl PHP XTemplate SourceForge Project Page]]**{{image class="right" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="right" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}>>
Deletions:
Deletions:
XTemplateDocumentation
XTemplateDownloads
XTemplateDevelopment
WhoUsesXTemplate
NewsUpdates
[[NewsUpdates SubVersion Updates]]
Additions:
=====PHP XTemplate=====
<<==What is XTemplate?==
PHP XTemplate is a cool templating engine for PHP.
<<==What is XTemplate?==
PHP XTemplate is a cool templating engine for PHP.
Deletions:
XTemplate is a cool templating engine for PHP.
Additions:
<<**[[AboutXTemplate About]]** | **[[XTemplateDownloads Downloads]]** | **[[XTemplateSupport Support]]** | **[[XTemplateDevelopment Development]]** | **[[http://forum.phpxtemplate.org Community]]**<<>>**[[http://sourceforge.net/projects/xtpl PHP XTemplate SourceForge Project Page]]**{{image class="right" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="right" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}>>
----
==Latest News==
- 04/08/2007: A bug fix and some (nice) new changes released into SubVersion source tree:
- Fix for $_SESSION being empty when using scan_globals method in certain situations
- Changes to regular expressions: Now use definable delimiter throughout code $preg_delimiter, defaults to ` (backtick)
- Support top bit set characters x7f-xff in file, block and tags
- Major new feature: tag callback functions - allow calling of (mutiple) PHP methods (in XTemplate or it's subclasses) or
- functions from within a tag prior to output using | (pipe) as delimiter. See ex9.php
- contents of tag are sent as a parameter to the callback function or method. NB. Methods take priority over same named function
- e.g. {tagname|callback_function} for simple single parameter callback, tag contents passed as only parameter to callback.
- e.g. {tagname|callback_function('param1', 'param2', %s)} to allow mutiple parameters to be specified, %s replaced by tag contents.
- Real world chaining callbacks together:
- e.g. {tagname|str_replace('Hello World', 'Welcome to the Jungle', %s)|strtolower|ucwords|my_user_callback_func}
- (Inspired by sf feature request #1756946 christophe_lu)
- Altered debug code in text method to cater for situations when $tpldir may be an array
- 29/05/2007: Updated SubVersion tree (see below) main addition Constructor argument $tpldir can now be an array of file paths. Rolled up SubVersion version trees into release 0.4.0 and released on [[http://sourceforge.net/project/showfiles.php?group_id=16714 Sourceforge]] in PHP4/5 packages following the split in svn tree.
Older news can be found on the NewsUpdates page
<<>>===Latest Release===
Version 0.4.0 is the [[XTemplateDownloads current release]] available for both PHP 5 and PHP 4.
{{rss url="http://sourceforge.net/export/rss2_projsummary.php?group_id=16714" cachetime="120"}}>>
----
>>**We use [[Wikka:HomePage WikkaWiki]]**
>>
----
==Latest News==
- 04/08/2007: A bug fix and some (nice) new changes released into SubVersion source tree:
- Fix for $_SESSION being empty when using scan_globals method in certain situations
- Changes to regular expressions: Now use definable delimiter throughout code $preg_delimiter, defaults to ` (backtick)
- Support top bit set characters x7f-xff in file, block and tags
- Major new feature: tag callback functions - allow calling of (mutiple) PHP methods (in XTemplate or it's subclasses) or
- functions from within a tag prior to output using | (pipe) as delimiter. See ex9.php
- contents of tag are sent as a parameter to the callback function or method. NB. Methods take priority over same named function
- e.g. {tagname|callback_function} for simple single parameter callback, tag contents passed as only parameter to callback.
- e.g. {tagname|callback_function('param1', 'param2', %s)} to allow mutiple parameters to be specified, %s replaced by tag contents.
- Real world chaining callbacks together:
- e.g. {tagname|str_replace('Hello World', 'Welcome to the Jungle', %s)|strtolower|ucwords|my_user_callback_func}
- (Inspired by sf feature request #1756946 christophe_lu)
- Altered debug code in text method to cater for situations when $tpldir may be an array
- 29/05/2007: Updated SubVersion tree (see below) main addition Constructor argument $tpldir can now be an array of file paths. Rolled up SubVersion version trees into release 0.4.0 and released on [[http://sourceforge.net/project/showfiles.php?group_id=16714 Sourceforge]] in PHP4/5 packages following the split in svn tree.
Older news can be found on the NewsUpdates page
<<>>===Latest Release===
Version 0.4.0 is the [[XTemplateDownloads current release]] available for both PHP 5 and PHP 4.
{{rss url="http://sourceforge.net/export/rss2_projsummary.php?group_id=16714" cachetime="120"}}>>
----
>>**We use [[Wikka:HomePage WikkaWiki]]**
>>
Deletions:
{{image class="center" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}
{{image class="center" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}<<>>===NewsUpdates===
Now have their own page NewsUpdates
{{rss url="http://www.phpxtemplate.org/RecentChanges/recentchanges.xml" cachetime="30"}}
{{rss url="http://sourceforge.net/export/rss2_projsummary.php?group_id=16714" cachetime="120"}}>><<===We use [[Wikka:HomePage WikkaWiki]]===
<<
Additions:
NewsUpdates
[[NewsUpdates SubVersion Updates]]
[[NewsUpdates SubVersion Updates]]
Revision [118]
Edited on 2007-01-01 11:32:44 by JeremyCoates [Added SF rss feed and general tidy up]Additions:
XTemplate allows you to store your HTML code separately from your PHP code (as opposed to compiling your template into PHP as per Smarty etc.). It has many useful features such as nested blocks and various kinds of variable interpolation, and yet the code is very short and very optimized.
XTemplate has been around for several years, it is considered stable and mature and has been used in many projects, from [[WhoUsesXTemplate personal to larger commercial and open source ones]]. If you'd like to get involved in helping out, see XTemplateContributions, otherwise please feel free to browse the site or get straight on with the [[XTemplateDownloads downloads]].
===Resources===
{{image class="center" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}
{{image class="center" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}<<>>===NewsUpdates===
{{rss url="http://www.phpxtemplate.org/RecentChanges/recentchanges.xml" cachetime="30"}}
{{rss url="http://sourceforge.net/export/rss2_projsummary.php?group_id=16714" cachetime="120"}}>><<===We use [[Wikka:HomePage WikkaWiki]]===
XTemplate has been around for several years, it is considered stable and mature and has been used in many projects, from [[WhoUsesXTemplate personal to larger commercial and open source ones]]. If you'd like to get involved in helping out, see XTemplateContributions, otherwise please feel free to browse the site or get straight on with the [[XTemplateDownloads downloads]].
===Resources===
{{image class="center" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net/projects/xtpl"}}
{{image class="center" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}<<>>===NewsUpdates===
{{rss url="http://www.phpxtemplate.org/RecentChanges/recentchanges.xml" cachetime="30"}}
{{rss url="http://sourceforge.net/export/rss2_projsummary.php?group_id=16714" cachetime="120"}}>><<===We use [[Wikka:HomePage WikkaWiki]]===
Deletions:
XTemplate has been around for several years, it is considered stable and mature and has been used in many projects, from personal project to larger commercial and open source ones. If you'd like to get involved in helping out, see XTemplateContributions.
<<>>===NewsUpdates===
>>>>{{rss url="http://www.phpxtemplate.org/RecentChanges/recentchanges.xml" cachetime="30"}}>><<===Resources===
<<>>{{image class="center" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="center" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net"}}>><<===We use [[Wikka:HomePage WikkaWiki]]===
Revision [115]
Edited on 2007-01-01 11:07:25 by JeremyCoates [Updated intro and added donation link]Additions:
XTemplate is a cool templating engine for PHP.
XTemplate allows you to store your HTML code separately to your PHP code rather than compiling your template into PHP (a la Smarty etc.). It has many useful features such as nested blocks and various kinds of variable interpolation, and yet the code is very short and very optimized.
XTemplate has been around for several years, it is considered stable and mature and has been used in many projects, from personal project to larger commercial and open source ones. If you'd like to get involved in helping out, see XTemplateContributions.
[[http://sourceforge.net/projects/xtpl XTemplate SourceForge Project Page]]
<<>>{{image class="center" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="center" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net"}}>><<===We use [[Wikka:HomePage WikkaWiki]]===
XTemplate allows you to store your HTML code separately to your PHP code rather than compiling your template into PHP (a la Smarty etc.). It has many useful features such as nested blocks and various kinds of variable interpolation, and yet the code is very short and very optimized.
XTemplate has been around for several years, it is considered stable and mature and has been used in many projects, from personal project to larger commercial and open source ones. If you'd like to get involved in helping out, see XTemplateContributions.
[[http://sourceforge.net/projects/xtpl XTemplate SourceForge Project Page]]
<<>>{{image class="center" alt="SourceForge.net donation image" title="Support XTemplate with a SourceForge.net Donation" width="88" height="32" url="http://images.sourceforge.net/images/project-support.jpg" link="http://sourceforge.net/donate/index.php?group_id=16714"}}{{image class="center" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net"}}>><<===We use [[Wikka:HomePage WikkaWiki]]===
Deletions:
XTemplate allows you to store your HTML code separately to your PHP code. It has many useful features such as nested blocks and various kinds of variable interpolation, and yet the code is very short and very optimized.
XTemplate has been around for a while now, however it's not been a particularly fast development pace thus far. This website is about changing that. If you'd like to get involved in helping out, see XTemplateContributions.
[[http://sourceforge.net/projects/xtpl SourceForge Project Page]]
<<>>{{image class="center" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net"}}>><<===We use [[Wikka:HomePage WikkaWiki]]===
Additions:
<<>>===NewsUpdates===
Now have their own page NewsUpdates
>>>>{{rss url="http://www.phpxtemplate.org/RecentChanges/recentchanges.xml" cachetime="30"}}>><<===Resources===
<<>>{{image class="center" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net"}}>><<===We use [[Wikka:HomePage WikkaWiki]]===
Now have their own page NewsUpdates
>>>>{{rss url="http://www.phpxtemplate.org/RecentChanges/recentchanges.xml" cachetime="30"}}>><<===Resources===
<<>>{{image class="center" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net"}}>><<===We use [[Wikka:HomePage WikkaWiki]]===
Deletions:
- 30/06/2006: Added an example of how to use XTemplate with the [[ZendFrameworkMVCExample ZendFramework MVC design pattern]]
- 02/05/2006: CVS updated - Fixed bug in regexes for older php version (specifically php 4.2.2) that caused regex to fail
- 23/01/2006: Work continues in the background (due to having builders at home!), recent changes include addition of optional 4th parameter to assign method. This allows you to not over-write the current assign array but add to it. e.g. multiple assign statements can build the assigned tag array.
- 17/08/2005: CVS updated - Improved phpDoc entries; Added support for XTPL_DIR constant from SF Feature request 1202027: Kenneth Kalmer; Added support for comments in {FILE } includes e.g. {FILE "somefile.xtpl"# An included file}; Rewritten assign method, now checks if $val is an array instead of $name which never would be. Also added new parameter for stripslashes support e.g. $xtpl->assign('var', 'var', get_magic_quotes_qpc()); Moved most regular expressions to use | as delimiter; Improved output with regard to block tags and line endings - much better for xml output; Added support for empty files in file includes - previously required at least one byte
- 22/06/2005: Mailing lists announced - [[http://www.phpxtemplate.org/mailman/listinfo/xtpl-announce xtpl-announce]] (low traffic) & [[http://www.phpxtemplate.org/mailman/listinfo/xtpl-users xtpl-users]] http://www.phpxtemplate.org/mailman
- 11/04/2005: CVS version rolled up into release on Sourceforge - release is 0.3.0. See http://sourceforge.net/project/showfiles.php?group_id=16714 for downloads.
- 07/04/2005: Major new version committed to CVS on Sourceforge - amalgamation of last few years worth of updates and bug fixes that have come from use in commercial environments.
>><<===Resources===
<<===We use [[Wikka:HomePage WikkaWiki]]===
<<>>{{rss url="http://www.phpxtemplate.org/RecentChanges/recentchanges.xml" cachetime="30"}}>>>>{{image class="center" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net"}}>>
No Differences
Additions:
- 30/06/2006: Added an example of how to use XTemplate with the [[ZendFrameworkMVCExample ZendFramework MVC design pattern]]
Additions:
- 02/05/2006: CVS updated - Fixed bug in regexes for older php version (specifically php 4.2.2) that caused regex to fail
Deletions:
Additions:
- 02/05/2006: Fixed bug in regexes for older php version (specifically php 4.2.2) that caused regex to fail
Additions:
- 23/01/2006: Work continues in the background (due to having builders at home!), recent changes include addition of optional 4th parameter to assign method. This allows you to not over-write the current assign array but add to it. e.g. multiple assign statements can build the assigned tag array.
<<
<<>>{{rss url="http://www.phpxtemplate.org/RecentChanges/recentchanges.xml" cachetime="30"}}>>>>{{image class="center" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net"}}>>
<<
<<>>{{rss url="http://www.phpxtemplate.org/RecentChanges/recentchanges.xml" cachetime="30"}}>>>>{{image class="center" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net"}}>>
Deletions:
<<>>{{image class="center" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net"}}>>
Additions:
{{nocomments}}
Additions:
- 17/08/2005: CVS updated - Improved phpDoc entries; Added support for XTPL_DIR constant from SF Feature request 1202027: Kenneth Kalmer; Added support for comments in {FILE } includes e.g. {FILE "somefile.xtpl"# An included file}; Rewritten assign method, now checks if $val is an array instead of $name which never would be. Also added new parameter for stripslashes support e.g. $xtpl->assign('var', 'var', get_magic_quotes_qpc()); Moved most regular expressions to use | as delimiter; Improved output with regard to block tags and line endings - much better for xml output; Added support for empty files in file includes - previously required at least one byte
- 22/06/2005: Mailing lists announced - [[http://www.phpxtemplate.org/mailman/listinfo/xtpl-announce xtpl-announce]] (low traffic) & [[http://www.phpxtemplate.org/mailman/listinfo/xtpl-users xtpl-users]] http://www.phpxtemplate.org/mailman
- 11/04/2005: CVS version rolled up into release on Sourceforge - release is 0.3.0. See http://sourceforge.net/project/showfiles.php?group_id=16714 for downloads.
- 07/04/2005: Major new version committed to CVS on Sourceforge - amalgamation of last few years worth of updates and bug fixes that have come from use in commercial environments.
- 22/06/2005: Mailing lists announced - [[http://www.phpxtemplate.org/mailman/listinfo/xtpl-announce xtpl-announce]] (low traffic) & [[http://www.phpxtemplate.org/mailman/listinfo/xtpl-users xtpl-users]] http://www.phpxtemplate.org/mailman
- 11/04/2005: CVS version rolled up into release on Sourceforge - release is 0.3.0. See http://sourceforge.net/project/showfiles.php?group_id=16714 for downloads.
- 07/04/2005: Major new version committed to CVS on Sourceforge - amalgamation of last few years worth of updates and bug fixes that have come from use in commercial environments.
Deletions:
11/04/2005: CVS version rolled up into release on Sourceforge - release is 0.3.0. See http://sourceforge.net/project/showfiles.php?group_id=16714 for downloads.
07/04/2005: Major new version committed to CVS on Sourceforge - amalgamation of last few years worth of updates and bug fixes that have come from use in commercial environments.
Additions:
>><<===Resources===
<<>>{{rss url="http://www.phpxtemplate.org/RecentChanges/recentchanges.xml" cachetime="30"}}>>
<<>>{{image class="center" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net"}}>>
<<>>{{rss url="http://www.phpxtemplate.org/RecentChanges/recentchanges.xml" cachetime="30"}}>>
<<>>{{image class="center" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net"}}>>
Deletions:
>>{{rss url="http://www.phpxtemplate.org/RecentChanges/recentchanges.xml" cachetime="30"}}>>
<<===Resources===
<<
<<
>>{{image class="center" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net"}}>>
Additions:
22/06/2005: Mailing lists announced - [[http://www.phpxtemplate.org/mailman/listinfo/xtpl-announce xtpl-announce]] (low traffic) & [[http://www.phpxtemplate.org/mailman/listinfo/xtpl-users xtpl-users]] http://www.phpxtemplate.org/mailman
Additions:
XTemplateDevelopment
Additions:
11/04/2005: CVS version rolled up into release on Sourceforge - release is 0.3.0. See http://sourceforge.net/project/showfiles.php?group_id=16714 for downloads.
Deletions:
Additions:
11/04/2005: CVS version rolled up into release on Sourceforge - release is 0.3.0. http://sourceforge.net/project/showfiles.php?group_id=16714 for downloads
Additions:
<<>>===News Updates===
07/04/2005: Major new version committed to CVS on Sourceforge - amalgamation of last few years worth of updates and bug fixes that have come from use in commercial environments.
>>
>>{{rss url="http://www.phpxtemplate.org/RecentChanges/recentchanges.xml" cachetime="30"}}>>
WhoUsesXTemplate
<<===We use [[Wikka:HomePage WikkaWiki]]===
07/04/2005: Major new version committed to CVS on Sourceforge - amalgamation of last few years worth of updates and bug fixes that have come from use in commercial environments.
>>
>>{{rss url="http://www.phpxtemplate.org/RecentChanges/recentchanges.xml" cachetime="30"}}>>
WhoUsesXTemplate
<<===We use [[Wikka:HomePage WikkaWiki]]===
Deletions:
===We use [[Wikka:HomePage WikkaWiki]]===
Additions:
::c::
Additions:
XTemplate has been around for a while now, however it's not been a particularly fast development pace thus far. This website is about changing that. If you'd like to get involved in helping out, see XTemplateContributions.
Deletions:
Additions:
XTemplate allows you to store your HTML code separately to your PHP code. It has many useful features such as nested blocks and various kinds of variable interpolation, and yet the code is very short and very optimized.
>>{{image class="center" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net"}}>>
>>{{image class="center" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net"}}>>
Deletions:
Additions:
[[http://sourceforge.net/projects/xtpl SourceForge Project Page]]
Additions:
<<{{image class="center" alt="SourceForge.net Logo" title="SourceForge.net Home Page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net"}}<<
Deletions:
Additions:
<<{{image class="center" alt="SourceForge.net Logo" title="SourceForge.net Project page" width="125" height="37" url="http://sourceforge.net/sflogo.php?group_id=16714&type=2" link="http://sourceforge.net"}}<<
Additions:
XTemplateDocumentation
Additions:
<<>>{{rss url="http://www.phpxtemplate.org/RecentChanges/recentchanges.xml" cachetime="30"}}>>
Deletions:
Additions:
<<=====PHP XTemplate=====
XTemplate is a templating engine for PHP (yes another one!)
XTemplate has been around for a while now, however it's not been a particularly fast development pace thus far. This website is about changing that.
<<
>>{{rss url="http://www.phpxtemplate.org/RecentChanges/recentchanges.xml" cachetime="30"}}>>
<<===Resources===
XTemplateDownloads
<<
<<
===We use [[Wikka:HomePage WikkaWiki]]===
This site is running on version {{wikkaversion}} (see WikkaReleaseNotes).
<<
XTemplate is a templating engine for PHP (yes another one!)
XTemplate has been around for a while now, however it's not been a particularly fast development pace thus far. This website is about changing that.
<<
>>{{rss url="http://www.phpxtemplate.org/RecentChanges/recentchanges.xml" cachetime="30"}}>>
<<===Resources===
XTemplateDownloads
<<
<<
===We use [[Wikka:HomePage WikkaWiki]]===
This site is running on version {{wikkaversion}} (see WikkaReleaseNotes).
<<
Deletions:
Thanks for installing [[Wikka:HomePage WikkaWiki]]! This site is running on version {{wikkaversion}} (see WikkaReleaseNotes).
Double-click on this page or click on the "Edit page" link at the bottom to get started.
Also don't forget to visit the [[Wikka:HomePage WikkaWiki website]]!