PHP Classes

File: langdemo.php

Recommend this page to a friend!
  Classes of Valics Lehel   Fast Template   langdemo.php   Download  
File: langdemo.php
Role: Example script
Content type: text/plain
Description: Language File DEMO
Class: Fast Template
Updated revision of CDI Fast Template engine
Author: By
Last change: cosmetics
Date: 18 years ago
Size: 632 bytes


Class file image Download
// $Id: langdemo.php,v 1.5 2005/02/08 22:18:35 lvalics Exp $
// Language Demo File

$ft = new FastTemplate('./templates');

// this will replace any TAG from language file from
// as you see here is not made as in oldversions $ft->assign("MENULEFT",$menuleft);
// now you only add to template file, {C_TEXT1} and from language file
// will be replaced $c_text1 value.
$ft->parse("BODY", array("main"));