Location: PHPKode > projects > QuickerBooks > QuickerBooks/smarty/plugins/function.link.php
<?php /* Created on May 11, 2007 */
	
function smarty_function_link($args, &$smarty) {
	
	if (isset($args['display'])) {
		$name = $args['display'];
		unset($args['display']);
	}
	else {
		$name = ' click here ';
	}

	// create the link
	$insert = '<a class="link" href="'.Main::url($args).'">'.$name.'</a>';
	
		
	return $insert;
}
?>
Return current item: QuickerBooks