Login   Register  
PHP Classes
elePHPant
Icontem

File: template.txt

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  >  template.txt  >  Download  
File: template.txt
Role: Auxiliary data
Content type: text/plain
Description: Template used in example_import.php
Class: AuriumForm
Validate and output forms using HTML or Smarty
Author: By
Last change:
Date: 9 years ago
Size: 620 bytes
 

Contents

Class file image Download
<?php
/**
 * Example of how your template file must be.
 * It must be an array name $Template with the following fields
 */
$Template = array(
    'template_open'  => '<tr>',
    'template_label' => '<td valign="top" align="right">' . AURIUMFORM_TP_LABEL . '</td>',
    'template_field' => '<td>' . AURIUMFORM_TP_FIELD,
    'template_error' => '<BR><font class="error">- ' . AURIUMFORM_TP_ERROR . '</font>',
    'template_close' => '</td></tr>',
    'template_line'  => "\n",
    'template_field_one' => '<tr><td colspan="2" align="center">' . AURIUMFORM_TP_LABEL . AURIUMFORM_TP_FIELD . '</td></tr>'
);
?>