<?php 
global $BASE_LOCATION;

require_once($BASE_LOCATION."intranet/common/templater.php");
class HTML_QuickForm_Renderer_Claromentis
{
	var $args;
	var $datasources;
	var $template;
	
	function __construct()
	{
		$this->args = array();
		$this->datasources = array();
		$this->template = "";
	}
   	function Show()
   	{
   		global $args, $datasources;
    	$this->args = array_merge($this->args, $args);
    	$this->datasources = array_merge($this->datasources, $datasources);
   		print process_cla_template($this->template, $this->args, $this->datasources);
   	}
}
