<?php

// Set up array of values that will be used to generate the entry form.
// The array is indexed by the field name in the database.

// parameters on the array are:
// prompt, required, type

$form_field = array(
    
"handle"           => array(""true"hidden"),
    
"password"         => array(""true"hidden"),
    
"first_name"       => array("First Name"true),
    
"last_name"        => array("Last Name"true),
    
"bio"              => array("A few words about yourself"false"textbox"),
    
"discipline"       => array("Discipline"true"select"),
    
"class"            => array("Class"true"class"),
    
"birthdate"        => array("Birth Date"true"date"),
    
"work_company"     => array("Company Name"),
    
"work_title"       => array("Job Title"),
    
"address_street1"  => array("Address (1)"true),
    
"address_street2"  => array("Address (2)"),
    
"address_city"     => array("City"true),
    
"address_prov"     => array("Province/State"),
    
"address_country"  => array("Country"true),
    
"address_postcode" => array("Postal/Zip Code"true),
    
"address_loc"      => array("Location"true"select"),
    
"address_note"     => array("Address notes"false"textbox"),
    
"phone_home"       => array("Home Phone Number"false"phone"),
    
"phone_work"       => array("Work Phone Number"false"phone"),
    
"phone_mobile"     => array("Mobile Phone Number"false"phone"),
    
"email_personal"   => array("Personal Email Address"true),
    
"email_work"       => array("Work Email Address"),
    
"email_preference" => array("Preferred Email"true"select"),
    
"webpage"          => array("Web Page"),
    
"icq"              => array("ICQ Number"),
    
"laston"           => array(""false"hidden"),
    
"lastupdate"       => array(""true"hidden"),
    
"dupnum"           => array(""false"hidden"),
);

$always_publish = array(
    
"first_name",
    
"last_name",
    
"email_preference"
);

?>