Textpattern PHP Cross Reference Content Management Systems

Summary: /textpattern/setup/index.php - 724 lines - 22834 bytes - Source - Print

Description: (no description)

Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 14 functions

preamble()
step_chooseLang()
txp_setup_progress_meter()
step_getDbInfo()
step_printConfig()
step_getTxpLogin()
step_createTxp()
step_fbCreate()
setup_config_contents()
setup_back_button()
langs()
check_config_txp()
check_config_exists()
msg()

Functions

Functions that are not part of a class:

preamble()  line: 154
Return the top of page furniture.

return: HTML
step_chooseLang()  line: 208
Renders stage 0: welcome/choose language panel.

txp_setup_progress_meter($stage = 1)  line: 227
Renders progress meter displayed on stages 1 to 4 of installation process.

param: int $stage The stage
step_getDbInfo()  line: 260
Renders stage 1: database details panel.

step_printConfig()  line: 338
Renders stage 2: either config details panel (on success) or database details
error message (on fail).

step_getTxpLogin()  line: 371
Renders either stage 3: admin user details panel (on success), or stage 2:
config details error message (on fail).

step_createTxp()  line: 471
Re-renders stage 3: admin user details panel, due to user input errors.

step_fbCreate()  line: 511
Renders stage 4: either installation completed panel (success) or
installation error message (fail).

setup_config_contents()  line: 564
Populate a textarea with config.php file code.

return: HTML
setup_back_button()  line: 590
Render a 'back' button that goes to the correct step.

return: HTML
langs()  line: 617
Fetch a dropdown of available languages.

The list is fetched from the file system of translations.

return: array
check_config_txp($meter line: 659
No description
check_config_exists()  line: 688
No description
msg($msg, $class = MSG_OK, $back = false)  line: 701
Message box

title

Body