mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Adding in the next page of the installer
Note that this still falls back to the old code part-way through the install git-svn-id: file:///svn/phpbb/trunk@5702 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -483,7 +483,7 @@ class module
|
||||
/**
|
||||
* Generate the relevant HTML for an input field and the assosciated label and explanatory text
|
||||
*/
|
||||
function input_field($name, $lang_key, $type, $value='', $options='')
|
||||
function input_field($name, $type, $value='', $options='')
|
||||
{
|
||||
global $lang;
|
||||
$tpl_type = explode(':', $type);
|
||||
@@ -496,7 +496,7 @@ class module
|
||||
$size = (int) $tpl_type[1];
|
||||
$maxlength = (int) $tpl_type[2];
|
||||
|
||||
$tpl = '<input id="' . $key . '" type="' . $tpl_type[0] . '"' . (($size) ? ' size="' . $size . '"' : '') . ' maxlength="' . (($maxlength) ? $maxlength : 255) . '" name="' . $name . '" value="' . $value . '" />';
|
||||
$tpl = '<input id="' . $name . '" type="' . $tpl_type[0] . '"' . (($size) ? ' size="' . $size . '"' : '') . ' maxlength="' . (($maxlength) ? $maxlength : 255) . '" name="' . $name . '" value="' . $value . '" />';
|
||||
break;
|
||||
|
||||
case 'textarea':
|
||||
|
Reference in New Issue
Block a user