Rivet Templates

Templates let you add a bit of code to your HTML, to add dynamic content to it, or speed up creation of repetitive elements. Templates are appropriate for quick'n'dirty pages, where you just need to do some scripting quickly. But they are also appropriate for the 'display' component of your complex application.
<html>
    <head><title>Tcl code in a Rivet Template</title></head>
    <body>
	<table>
	    <tbody>
		<tr>
		    <td>

<?
foreach  line [chat::model::getlines $user] {
    puts "$line<br>"
}
?>
		    </td>
		</tr>
	    </tbody>
	</table>
    </body>
</html>     
Last Modified: 20-07-2010 13:11:09 UTC
Design downloaded from free website templates.