Login   Register  
PHP Classes
elePHPant
Icontem

File: example_smarty_1.tpl

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Alfred R. Baudisch  >  AuriumForm  >  example_smarty_1.tpl  >  Download  
File: example_smarty_1.tpl
Role: Auxiliary data
Content type: text/plain
Description: Template used in example_smarty_1.php
Class: AuriumForm
Validate and output forms using HTML or Smarty
Author: By
Last change:
Date: 2005-02-23 13:07
Size: 916 bytes
 

Contents

Class file image Download
{auriumform_config size=50 open='<tr>' label='<td align="right">|LABEL| </td>' field='<td>|FIELD|' error='<BR><font color="red" size=1 face=arial>- |ERROR|</font>' close='</td></tr>' line="\n" field_one='<tr><td colspan="2" align="center">|LABEL||FIELD|</td></tr>'}

<table border=0 cellpadding=4 cellspacing=0 align=center width=650>
<tr><td align="right">Hello: </td><td><input type="text" name="teste"></td></tr>
{auriumform name='teste' type='text' label='Hello There:' size=45}
{auriumform_config size=80}
{auriumform name='teste' type='password' label='Password:' errors=$erros_senha}
{auriumform name='conteudo' type='textarea' cols=50 rows=4}
{auriumform_config size=10}
<tr><td colspan=2 align=right>Your E-mail: {auriumform name='email' type='text' no=1}</td></tr>
</table>

<BR><BR>
{auriumform name='estados' type='selectbox' label='Estados:' no_template=true items=$estados selected='MG'}