mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 12:14:06 +02:00
- finally making the age calculation work [Bug #3582]
- replacing all occurances of L_NONE with a more specific string [Bug #3494] - a few corrections to html id attributes in the installer - using correct permission in mcp_report [Bug #2471] - allow deleting the avatar, when no upload method is enabled and hide the delete button if no avatar is set git-svn-id: file:///svn/phpbb/trunk@6241 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -624,7 +624,7 @@ class module
|
||||
|
||||
case 'select':
|
||||
eval('$s_options = ' . str_replace('{VALUE}', $value, $options) . ';');
|
||||
$tpl = '<select name="' . $name . '">' . $s_options . '</select>';
|
||||
$tpl = '<select id="' . $name . '" name="' . $name . '">' . $s_options . '</select>';
|
||||
break;
|
||||
|
||||
case 'custom':
|
||||
|
@@ -54,7 +54,7 @@ class install_install extends module
|
||||
'TITLE' => $lang['INSTALL_INTRO'],
|
||||
'BODY' => $lang['INSTALL_INTRO_BODY'],
|
||||
'L_SUBMIT' => $lang['NEXT'],
|
||||
'S_LANG_SELECT' => '<select name="language">' . $this->p_master->inst_language_select($language) . '</select>',
|
||||
'S_LANG_SELECT' => '<select id="language" name="language">' . $this->p_master->inst_language_select($language) . '</select>',
|
||||
'U_ACTION' => $this->p_master->module_url . "?mode=$mode&sub=requirements&language=$language",
|
||||
));
|
||||
|
||||
|
@@ -70,7 +70,7 @@ class install_main extends module
|
||||
'TITLE' => $title,
|
||||
'BODY' => $body,
|
||||
|
||||
'S_LANG_SELECT' => '<select name="language">' . $this->p_master->inst_language_select($language) . '</select>',
|
||||
'S_LANG_SELECT' => '<select id="language" name="language">' . $this->p_master->inst_language_select($language) . '</select>',
|
||||
));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user