if(empty($blocks[implode(".",$block_names)]))$blocks[implode(".",$block_names)]=null;// eliminates incremental assign error, when using E_ALL error reporting
$blocks[implode(".",$block_names)].=$v;
}
}
...
...
@@ -474,69 +477,4 @@ function r_getfile($file) {
}/* end of XTemplate class. */
/*
$Log$
Revision 1.3 2003/04/04 06:08:53 dries
Patch by Ax:
- Bugfix: xtemplate.inc removed "$xx" from content.
- Improvement: changed a high ascii char to low ascii to be able to debug
xtemplate.inc.
Revision 1.2 2003/02/01 19:54:19 dries
Patch by Ax:
- Bad usage of css ID's: they may be used for a single element only,
but were used as #node, #block, which can occur multiple times in a
single page.
- Moved HTML from theme to template - thats what templates are all
about!
- Added support for head() hook
- Added support for diffentiating between boxes and blocks.
- Typo: secundary -> secondary
Revision 1.1 2003/01/20 21:00:31 dries
- Added a template driven theme.
Revision 1.1 2002/12/10 23:11:59 ax
[argh - cvs @*#! didn't add any files with the last commit ... now, then (we should really give subversion a try: "Directories, renames, and file meta-data are versioned"]
- renamed from "ax" to "XTemplate_Tableless" to make people looking for ... this find it
- updated to CVS
- fixed some styles
- em/%'ized stylesheet (relative sizes) and "chaptered" into sections
- added 3 screenshots
Revision 1.2 2001/09/19 14:11:25 cranx
fixed a bug in the whitespace-stripping block variable interpolating regexp.
Revision 1.1 2001/07/11 10:42:39 cranx
added:
- filename substitution, no nested arrays for the moment, sorry
(including happens when assigning, so assign filevar in the outside blocks first!)