includes/template.php
changeset 246 c9fd175289aa
parent 230 3daa715e0f69
child 248 ed13b72b13cc
child 256 62ee6685ad18
--- a/includes/template.php	Mon Nov 05 20:00:41 2007 -0500
+++ b/includes/template.php	Fri Nov 09 11:14:20 2007 -0500
@@ -798,7 +798,7 @@
     {
       $login_link = makeUrlNS('Special', 'Login/' . $paths->fullpage, 'level=' . $session->user_level, true);
       echo '<div class="usermessage">';
-      echo '<b>Your administrative session has timed out.</b> <a href="' . $login_link . '">Log in again</a>';
+      echo '<b>Your administrative session has timed out.</b> <a href="' . $login_link . '" onclick="ajaxPromptAdminAuth(function(k){ ENANO_SID = k; window.location = append_sid(makeUrl(title)); }, ' . $session->user_level . '); return false;">Log in again</a>';
       echo '</div>';
     }
     if ( $this->site_disabled && $session->user_level >= USER_LEVEL_ADMIN && ( $paths->page != $paths->nslist['Special'] . 'Administration' ) )