X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=access%2Fpassword_reset.php;h=bdea9136b89b6911fca2ae11d5823a6850a74fde;hb=11109ad9f0e6af3f59d72731a95e473e72fb308b;hp=b1fba1b061696d04a6970ae97db24cf44fc45ffd;hpb=5b8f4c4b4aa8cf996bc071f116bfce1273200fa2;p=fa-stable.git diff --git a/access/password_reset.php b/access/password_reset.php index b1fba1b0..bdea9136 100644 --- a/access/password_reset.php +++ b/access/password_reset.php @@ -17,7 +17,7 @@ $js = ""; add_js_file('login.js'); @@ -28,7 +28,7 @@ function defaultCompany() $login_timeout = $_SESSION["wa_current_user"]->last_act; - $title = $app_title." ".$version." - "._("Password reset"); + $title = $SysPrefs->app_title." ".$version." - "._("Password reset"); $encoding = isset($_SESSION['language']->encoding) ? $_SESSION['language']->encoding : "iso-8859-1"; $rtl = isset($_SESSION['language']->dir) ? $_SESSION['language']->dir : "ltr"; $onload = !$login_timeout ? "onload='defaultCompany()'" : ""; @@ -36,7 +36,7 @@ function defaultCompany() echo "\n"; echo "\n"; echo "$title\n"; - echo "\n"; + echo "\n"; echo " \n"; echo " \n"; send_scripts(); @@ -53,20 +53,19 @@ function defaultCompany() start_table(false, "class='login'"); start_row(); echo ""; - echo "FrontAccounting"; + echo "FrontAccounting"; echo "\n"; end_row(); - echo "\n"; - table_section_title(_("Version")." $version Build $build_version - "._("Password reset")); + echo "\n"; + table_section_title(_("Version")." $version Build ".$SysPrefs->build_version." - "._("Password reset")); text_row(_("Email"), "email_entry_field", "", 20, 30); - if (isset($_SESSION['wa_current_user']->company)) - $coy = $_SESSION['wa_current_user']->company; - else + $coy = user_company(); + if (!isset($coy)) $coy = $def_coy; - if (!@$text_company_selection) { + if (!@$SysPrefs->text_company_selection) { echo ""._("Company")."\n"; + onclick='set_fullmode();'>\n"; end_form(1); $Ajax->addScript(true, "document.forms[0].password.focus();"); @@ -105,10 +104,10 @@ function defaultCompany() echo "\n"; echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; echo "

\n"; echo "\n";