Remember database when using cookie login (bug #1027873).

This commit is contained in:
Michal Čihař
2004-09-14 14:42:47 +00:00
parent 4e37b29113
commit a5d9f7d1d9
2 changed files with 10 additions and 3 deletions

View File

@@ -9,6 +9,8 @@ $Source$
* themes.php, libraries/common.lib.php, libraries/defines.lib.php, * themes.php, libraries/common.lib.php, libraries/defines.lib.php,
libraries/select_theme.lib.php, themes/darkblue_orange/info.inc.php, libraries/select_theme.lib.php, themes/darkblue_orange/info.inc.php,
themes/original/info.inc.php: Better theme version check (bug #1023029). themes/original/info.inc.php: Better theme version check (bug #1023029).
* libraries/auth/cookie.auth.lib.php: Remember database when using cookie
login (bug #1027873).
2004-09-13 Garvin Hicking <me@supergarv.de> 2004-09-13 Garvin Hicking <me@supergarv.de>
* browse_foreigners.php: bug #1027204 - paging did not * browse_foreigners.php: bug #1027204 - paging did not

View File

@@ -422,6 +422,11 @@ if (top != self) {
?> ?>
<input type="hidden" name="lang" value="<?php echo $lang; ?>" /> <input type="hidden" name="lang" value="<?php echo $lang; ?>" />
<input type="hidden" name="convcharset" value="<?php echo $convcharset; ?>" /> <input type="hidden" name="convcharset" value="<?php echo $convcharset; ?>" />
<?php
if (isset($GLOBALS['db'])) {
echo ' <input type="hidden" name="db" value="' . htmlspecialchars($GLOBALS['db']) . '" />' . "\n";
}
?>
<input type="submit" value="<?php echo $GLOBALS['strLogin']; ?>" id="buttonYes" /> <input type="submit" value="<?php echo $GLOBALS['strLogin']; ?>" id="buttonYes" />
</td> </td>
</tr> </tr>