init
[garradin.git] / include / libs / template_lite / plugins / prefilter.showinfoheader.php
1 <?php
2 /*
3 * Template Lite plugin converted from Smarty
4 * -------------------------------------------------------------
5 * File: prefilter.showinfoheader.php
6 * Type: prefilter
7 * Name: showinfoheader
8 * Version: 1.0
9 * Date: March 14th, 2002
10 * Purpose: Add a header stating smarty version
11 * and current date.
12 * Install: Drop into the plugin directory,
13 * call load_filter('pre','showinfoheader');
14 * from your application.
15 * Author: Monte Ohrt <monte@ohrt.com>
16 * -------------------------------------------------------------
17 */
18
19 function template_prefilter_showinfoheader($tpl_source, &$template_object)
20 {
21 return '<!-- Template Lite '.$template_object->_version.' '.strftime("%Y-%m-%d %H:%M:%S %Z").' -->'."\n\n".$tpl_source;
22 }
23 ?>