| File: | 
??? | 
 
| Role: | 
Class source | 
 
| Content typex: | 
text/plain | 
 
| Description: | 
Main Class File | 
 
| Class: | 
Fast Template 
Updated revision of CDI Fast Template engine | 
 
| Author: | 
By Valics Lehel | 
 
|  Last change: | 
1.6.2 Changes:  
 
error return for capture on empty template filename. 
 
1.6.1 Changes: 
 
$template = ereg_replace ( "{([A-Za-z0-9_\.]+)}", "", $template ); - it was introduced a-z, because the regex used in the line to remove unset variables only checked for all caps, while lowercase variables are allowed by the class. 
 
var $REWRITE_TEMPLATE_PATH = array ("../",""); - this is an example, you can replace anything. The ideea behind this addition is that on visual editors, the paths from template directory is usually ../images/filename.gif or @import "../css/other.css";, but in the real world (when you call it on the site) require images/filename.gif or @import "css/other.css";. So we replace ../ with nothing. Very useful in visual editors like Adobe Dreamweaver.  | 
 
| Date: | 
16 years ago | 
 
| Size: | 
72,631 bytes | 
 
 | 
 
 
 | 
 |