logout fixes
This commit is contained in:
parent
8e849206dd
commit
e672099651
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
require_once "functions.php";
|
||||||
|
require_once "sessions.php";
|
||||||
|
require_once "sanity_check.php";
|
||||||
|
require_once "version.php";
|
||||||
|
require_once "config.php";
|
||||||
|
require_once "db-prefs.php";
|
||||||
|
|
||||||
|
logout_user();
|
||||||
|
header("Location: tt-rss.php");
|
||||||
|
?>
|
|
@ -83,7 +83,7 @@ window.onload = init;
|
||||||
<?php if (!SINGLE_USER_MODE) { ?>
|
<?php if (!SINGLE_USER_MODE) { ?>
|
||||||
<div style="float : right">
|
<div style="float : right">
|
||||||
<?php echo _('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b>
|
<?php echo _('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b>
|
||||||
(<a href="javascript:logoutUser()">Logout</a>)
|
(<a href="logout.php">Logout</a>)
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<img src="<?php echo $theme_image_path ?>images/ttrss_logo.png" alt="Tiny Tiny RSS"/>
|
<img src="<?php echo $theme_image_path ?>images/ttrss_logo.png" alt="Tiny Tiny RSS"/>
|
||||||
|
|
|
@ -101,7 +101,7 @@ window.onload = init;
|
||||||
<div style="float : right">
|
<div style="float : right">
|
||||||
<?php if (!SINGLE_USER_MODE) { ?>
|
<?php if (!SINGLE_USER_MODE) { ?>
|
||||||
<?php echo _('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b>
|
<?php echo _('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b>
|
||||||
(<a href="javascript:logoutUser()">Logout</a>)
|
(<a href="logout.php">Logout</a>)
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<img id="newVersionIcon" onclick="javascript:explainError(2)"
|
<img id="newVersionIcon" onclick="javascript:explainError(2)"
|
||||||
src="images/new_version.png" title="New version is available!"
|
src="images/new_version.png" title="New version is available!"
|
||||||
|
|
Loading…
Reference in New Issue