/* If a user hits reload on the last page, $base_uri isn't set
* because it was deleted with the session. */
-if (!isset($_SESSION['base_uri'])) {
- if (!function_exists('sqm_baseuri')){
- require_once(SM_PATH . 'functions/display_messages.php');
- }
+if (! sqgetGlobalVar('base_uri', $base_uri, SQ_SESSION) ) {
+ require_once(SM_PATH . 'functions/display_messages.php');
$base_uri = sqm_baseuri();
-} else {
- $base_uri = $_SESSION['base_uri'];
}
do_hook('logout');
alink="<?php echo $color[7] ?>">
<br><br>
<?php
-do_hook('logout_above_text');
+$plugin_message = concat_hook_function('logout_above_text');
echo
html_tag( 'table',
html_tag( 'tr',
html_tag( 'th', _("Sign Out"), 'center' ) ,
'', $color[0], 'width="100%"' ) .
+ $plugin_message .
html_tag( 'tr',
html_tag( 'td', _("You have been successfully signed out.") .
'<br><a href="login.php" target="' . $frame_top . '">' .