Location: PHPKode > projects > SimpleHRM > simplehrm-1.0-beta1/simplehrm-1.0-beta1/flexycms/flexycms_core/libs/smarty/plugins/prefilter.tpl_time.php
<?php
/*
* Smarty plugin
* -------------------------------------------------------------
* File:     prefilter.tpl.php
* Type:     prefilter
* Name:     tpl_time
* Purpose:  Adds tag to print current date and time  
*           Convert Labels identified with defined values in the labels file.
* -------------------------------------------------------------
*/
function smarty_prefilter_tpl_time($source, &$smarty)
{

	//Adds tag to print current date and time

	$source = "{current_date_time tpl_file=".$smarty->_current_file."}".$source; 
	 return $source;
	 
}



?> 
Return current item: SimpleHRM