git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11946
7612ce4b-ef26-0410-bec9-
ea0150e637f0
$base_uri = sqm_baseuri();
}
-do_hook('logout');
+$login_uri = 'login.php';
+
+$hook_results = do_hook('logout', $login_uri);
+$login_uri = $hook_results[1];
sqsession_destroy();
displayHtmlHeader($org_title . ' - ' . _("Signout"));
$oTemplate->assign('frame_top', $frame_top);
+$oTemplate->assign('login_uri', $login_uri);
$oTemplate->display('signout.tpl');
<?php echo $plugin_message; ?>
<tr width="100%"><td>
<?php echo _("You have been successfully signed out."); ?><br />
- <a href="login.php" target="<?php echo $frame_top; ?>"><?php echo _("Click here to log back in."); ?></a><br />
+ <a href="<?php echo $login_uri; ?>" target="<?php echo $frame_top; ?>"><?php echo _("Click here to log back in."); ?></a><br />
</td></tr>
<tr width="100%"><td class="sqm_signoutBar"><br /></td></tr>
</table>