aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/index.php
diff options
context:
space:
mode:
authorGraham Eames <grahamje@users.sourceforge.net>2006-03-22 21:03:47 +0000
committerGraham Eames <grahamje@users.sourceforge.net>2006-03-22 21:03:47 +0000
commit58f723374b68a796eb79971dc1738a757017672f (patch)
tree7ca09ec5c5d4ee2597fe692f045899cd818ef6c5 /phpBB/install/index.php
parent22063e974adda03672656edbcd879d63122512c1 (diff)
downloadforums-58f723374b68a796eb79971dc1738a757017672f.tar
forums-58f723374b68a796eb79971dc1738a757017672f.tar.gz
forums-58f723374b68a796eb79971dc1738a757017672f.tar.bz2
forums-58f723374b68a796eb79971dc1738a757017672f.tar.xz
forums-58f723374b68a796eb79971dc1738a757017672f.zip
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
Diffstat (limited to 'phpBB/install/index.php')
-rwxr-xr-xphpBB/install/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php
index ce44daf0f1..421631b149 100755
--- a/phpBB/install/index.php
+++ b/phpBB/install/index.php
@@ -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':