Fixed ui behaviour during FA upgrdae.
[fa-stable.git] / access / logout.php
index 716bbfe18dcb1ce60b6fa3fb3dbf7ff4852d5fd5..a8af023967167eafeba89d2c4eaf0709ee37e13c 100644 (file)
@@ -9,7 +9,7 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
     See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
 ***********************************************************************/
-$page_security = 1;
+$page_security = 'SA_OPEN';
 $path_to_root="..";
 include($path_to_root . "/includes/session.inc");
 include_once($path_to_root . "/includes/ui/ui_view.inc");
@@ -20,7 +20,7 @@ page(_("Logout"), true, false, "", get_js_png_fix());
 
 <table width="100%" border="0">
   <tr>
-       <td align="center"><img src="<?php echo "$path_to_root/themes/default/images/logo_frontaccounting.png";?>" alt="FrontAccounting" width="250" height="50" onload="fixPNG(this)"></td>
+       <td align="center"><img src="<?php echo "$path_to_root/themes/default/images/logo_frontaccounting.png";?>" alt="FrontAccounting" width="250" height="50" onload="fixPNG(this)" /></td>
   </tr>
   <tr>
     <td>&nbsp;</td>
@@ -40,7 +40,7 @@ page(_("Logout"), true, false, "", get_js_png_fix());
   <tr>
     <td><div align="center">
         <?php
-     echo "<a href='$path_to_root/index.php?" . SID ."'><b>" . _("Click here to Login Again.") . "</b></a>";
+     echo "<a href='$path_to_root/index.php'><b>" . _("Click here to Login Again.") . "</b></a>";
 ?>
       </div></td>
   </tr>