edit.php File Reference

The web form for applicants. More...

Go to the source code of this file.

Variables

 $lang = (isset($_GET['lang'])) ? $_GET['lang'] : $lang_default
 $text = $text_multi[$lang]
 $buttons = $buttons_multi[$lang]
 $months = $months_multi[$lang]
 $link = mysql_pconnect($dbhost, $dbuser, $dbpass)) or db_error_mysql()
 $pageinfo
 info on how to render and parse the application form
 $default_params
 $_SESSION ["error"] = array()
 $thisyear = strftime('%Y')
 $_SESSION ["birthday"] = "$year-$month-$day"
print $text ['user_info']
 print
 $p = $_SESSION["page"]
 $pi_entry = $pageinfo[$p]["edit"]
 $errors = FALSE
 $usertype_name = (empty($r)) ? "" : $r[1][0]
 $table2
 $table3
 $table4
 $kw
 print
 print
 print
 print
 print
print $text ['info_1']
 $val = ($p == 4) ? $buttons['finish'] : $buttons['next']
print< inputtype=\"submit\"name=\"button\""."value=\"".$buttons['prev']."\"$x> print<inputtype=\"submit\"name=\"button\"value=\"$val\"> print $buttons ['cancel']
print $text ['html_footer']


Detailed Description

The web form for applicants.

This script displays and processes the web form for new users of the library.

The form consists of several pages. When the last page is reached, the content of the form is stored into the MySQL database.

Parameters:
finishURL The user will be redirected to this URL when he has completed the form.
cancelURL The user will be redirected to this URL if he has pressed the 'cancel' button
button the value of the "submit" button that was pressed by the user
various the data entered by the user into the html form
See also:
$pageinfo[...]["valid"] for a full list of permissible parameters.

Definition in file edit.php.


Variable Documentation

$pageinfo

info on how to render and parse the application form

The $pageinfo[] array describes the multi-page HTML form that the applicant is required to fill in.

$pageinfo[N] describes page N and contains an associative array with the following (required) elements:

Definition at line 72 of file edit.php.


Generated on Mon Aug 28 09:46:10 2006 for anmeldung by  doxygen 1.4.7