Browse Source

add missing hidden input field to login form

dev
Adrian Malacoda 1 year ago
parent
commit
ba4f2c3cd2
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      application/forums/Themes/GCL3/index.template.php

+ 6
- 6
application/forums/Themes/GCL3/index.template.php View File

@@ -236,7 +236,7 @@ function template_body_above()
<br /><input type="text" name="openid_identifier" id="openid_url" size="25" class="input_text openid_login" />';

echo '
<input type="hidden" name="hash_passwrd" value="" />
<input type="hidden" name="hash_passwrd" value="" /><input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form><br />';
}

@@ -322,7 +322,7 @@ function template_body_above()


echo '
</div></div>';

// The main content should go here.
@@ -334,13 +334,13 @@ function template_body_above()

// Show the navigation tree.
theme_linktree();
if(!defined("MEDIAWIKI")) {
echo '<table cellspacing="0" cellpadding="0" border="0" align="center" width="100%">
<tr>';
template_submenu();
echo '<td valign="top">';
}
}
}

function template_body_below()
@@ -437,7 +437,7 @@ function template_menu()
echo '
<div align="center" id="main_menu">
<ul class="dropmenu" id="menu_nav">';
$buttonfaces = array('home' => 'home.png', 'help' => 'question.png', 'search' => 'search.png', 'admin' => 'admin.png', 'moderate' => 'admin.png', 'profile' => 'profile.png', 'pm' => 'im_off.png', 'calendar' => 'calendar.png', 'mlist' => 'members.png', 'logout' => 'logout.png', 'login' => 'login.png', 'register' => 'register.png');

foreach ($context['menu_buttons'] as $act => $button)
@@ -549,4 +549,4 @@ function create_buttons($name, $alt, $label = '', $custom = '', $force_use = fal
return '<img src="' . $settings['lang_images_url'] . '/' . $name . '" alt="' . $txt[$alt] . '" title="' . $txt[$alt] . '" ' . $custom . ' />';
}

?>
?>

Loading…
Cancel
Save