Location: PHPKode > projects > MUSPA > muspa/modules/noticia/templates/novomodelo.htm
<patTemplate:tmpl name="content">

<script type="text/javascript">
<!--
	function Salvar( obj )
	{
		var oFrm = obj.form;

		if (!document.getElementById("nome").value)
			window.alert("Seu modelo precisa de um nome");
		else
			oFrm.submit();
	}
// -->
</script>

<p>
<patTemplate:tmpl name="error">
<div class="error">{ERROR}</div>
</patTemplate:tmpl>

<form method="POST" action="?m=noticia&action=shownovomodelo&subaction=new">

<patTemplate:link src="formmodelo" />

<p align="center">
<input type="button" class="button" value="Criar modelo" onclick="Salvar(this);" />
</p>
</form>

</p>
</patTemplate:tmpl>
Return current item: MUSPA