X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=access%2Flogin.php;h=efdd276dad79b6ac6e4620b5294f0b0b30adcbe7;hb=510d6e1925c4d1621ae3efd85e117cc9bb4320f0;hp=18a233b42c246662586200831cff570714cce18b;hpb=5fdbb94d191d8e0d2cef964ef01bfe42829a8706;p=fa-stable.git
diff --git a/access/login.php b/access/login.php
index 18a233b4..efdd276d 100644
--- a/access/login.php
+++ b/access/login.php
@@ -38,7 +38,7 @@ function set_fullmode() {
}
if (!isset($def_coy))
$def_coy = 0;
- $def_theme = isset($_SESSION["wa_current_user"]) ? user_theme() : "default";
+ $def_theme = "default";
$login_timeout = $_SESSION["wa_current_user"]->last_act;
@@ -51,7 +51,7 @@ function set_fullmode() {
echo "\n";
echo "
$title\n";
echo "\n";
- echo " \n";
+ echo " \n";
echo $js2;
if (!$login_timeout)
{
@@ -59,14 +59,15 @@ function set_fullmode() {
}
echo "\n";
- echo "\n";
+ echo "\n";
- echo "\n";
+ echo "\n";
br();br();
- start_table("$table_style2 width=400");
+ start_form(false, false, $_SESSION['timeout']['uri'], "loginform");
+ start_table($table_style2);
start_row();
- echo "";
+ echo " | ";
if (!$login_timeout) { // FA logo
echo " ";
} else {
@@ -75,9 +76,6 @@ function set_fullmode() {
echo " | \n";
end_row();
- br();
- start_form(false, false, $_SESSION['timeout']['uri'], "loginform");
- start_table("$table_style2 width=400 style='background-color:#eeeeee;'");
echo "\n";
if (!$login_timeout)
table_section_title(_("Version")." $version Build $build_version - "._("Login"));
@@ -105,7 +103,7 @@ function set_fullmode() {
end_row();
};
end_table(1);
- echo "\n";
+ echo "\n";
end_form(1);
foreach($_SESSION['timeout']['post'] as $p => $val) {
@@ -114,7 +112,6 @@ function set_fullmode() {
'password', 'SubmitUser', 'company_login_name')))
echo "";
}
- end_table();
echo "";
- echo "\n";
+ echo "\n";
echo "";
if (isset($_SESSION['wa_current_user']))
$date = Today() . " | " . Now();
else
$date = date("m/d/Y") . " | " . date("h.i am");
- echo "$date | \n";
+ echo "$date | \n";
echo "
\n";
- echo "\n";
+ echo "
\n";
echo "\n";