Login   Register  
PHP Classes
elePHPant
Icontem

File: templates/form_date_body.html.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Manuel Lemos  >  Forms generation and validation  >  templates/form_date_body.html.php  >  Download  
File: templates/form_date_body.html.php
Role: Auxiliary script
Content type: text/plain
Description: Date custom input form body template
Class: Forms generation and validation
HTML forms generation and validation.
Author: By
Last change: Made the date input show a message denoting that it is empty.
Date: 2005-07-19 17:35
Size: 389 bytes
 

Contents

Class file image Download
<fieldset>
<legend><b><?php $form->AddLabelPart(array("FOR"=>"date")); ?></b> (From <tt><?php echo $start_date?></tt> to <tt><?php echo $end_date?></tt>)</legend>
<center><?php $form->AddInputPart("date"); ?>
<?php 
echo (IsSet($verify["doit"]) ? "&nbsp;[Verify]" : ($doit "" "&nbsp;[Optional]")) ?></center>
</fieldset>
<hr />
<center><?php $form->AddInputPart("doit"); ?></center>