Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

config_add_text_input()

Description

Return a data structure that will instruct the configuration page generator functions to
add a text entry configuration variable to the setup page.

field. Defaulted to false.

Parameters

ColumnTypeDefaultDescription
$config_var string the name of the configuration variable to be added.
$label string the user text displayed to label the text block. Usually a $lang string.
$password boolean false whether this is a "normal" text-entry field or a password-style
$width integer 420 the width of the input field in pixels. Default: 420.
$textarea false
$title null
$autosave false
$hidden false

Location

include/config_functions.php lines 440 to 443

Definition

 
function config_add_text_input($config_var$label$password false$width 420$textarea false$title null$autosave false$hidden=false)
    {
    return array(
'text_input'$config_var$label$password$width$textarea$title$autosave$hidden);
    }

This article was last updated 30th November 2020 13:05 Europe/London time based on the source file dated 6th October 2020 10:25 Europe/London time.