projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changes in db scheme: gl_trans.type_no optimized to int, changed lock_stock.reorder_l...
[fa-stable.git]
/
access
/
logout.php
diff --git
a/access/logout.php
b/access/logout.php
index ee526fda188e0f9c82fa6cc517329c5f56bd6747..bb30e713a42f926cdcdaf7c5fa6ec96e3b244824 100644
(file)
--- a/
access/logout.php
+++ b/
access/logout.php
@@
-9,12
+9,16
@@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
***********************************************************************/
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
***********************************************************************/
+
+define("FA_LOGOUT_PHP_FILE","");
+
$page_security = 'SA_OPEN';
$path_to_root="..";
include($path_to_root . "/includes/session.inc");
$page_security = 'SA_OPEN';
$path_to_root="..";
include($path_to_root . "/includes/session.inc");
-
include_once($path_to_root . "/includes/ui/ui_view.inc"
);
+
add_js_file('login.js'
);
-page(_("Logout"), true, false, "", get_js_png_fix());
+include($path_to_root . "/includes/page/header.inc");
+page_header(_("Logout"), true, false, '');
echo "<table width='100%' border='0'>
<tr>
echo "<table width='100%' border='0'>
<tr>
@@
-27,7
+31,7
@@
echo "<table width='100%' border='0'>
<td><div align='center'><font size=2>";
echo _("Thank you for using") . " ";
<td><div align='center'><font size=2>";
echo _("Thank you for using") . " ";
-echo "<strong>
$app_title
$version</strong>";
+echo "<strong>
".$SysPrefs->app_title."
$version</strong>";
echo "</font></div></td>
</tr>
echo "</font></div></td>
</tr>
@@
-43,7
+47,4
@@
echo "</div></td>
<br>\n";
end_page(false, true);
session_unset();
<br>\n";
end_page(false, true);
session_unset();
-session_destroy();
-?>
-
-
+@session_destroy();