diff --git a/sip_logout.phtml b/sip_logout.phtml index 4c723bf..14e69d7 100644 --- a/sip_logout.phtml +++ b/sip_logout.phtml @@ -1,43 +1,47 @@ - + "SIP_Subscriber_Session", - "auth" => "SIP_Subscriber_Auth") - ); +page_open( + array( + "sess" => "SIP_Subscriber_Session", + "auth" => "SIP_Subscriber_Auth" + ) +); -$loginname=$auth->auth["uname"] ; -$log=sprintf("SIP settings page: %s logged out from %s", $loginname, $_SERVER['REMOTE_ADDR']); +$loginname = $auth->auth["uname"] ; +$log = sprintf("SIP settings page: %s logged out from %s", $loginname, $_SERVER['REMOTE_ADDR']); syslog(LOG_NOTICE, $log); $auth->logout(); $sess->delete(); -$title="Logout"; +$title = "Logout"; include("sip_header.phtml"); print "
"; print _("You have been logged in as "); print " $loginname -
+
";
print _("You have been logged out");
-print "
-
-
+print '
-Login again -"; + Login again +
' +; page_close(); print "