From: Joe Hunt Date: Wed, 23 Sep 2009 09:30:57 +0000 (+0000) Subject: Cleaning from javascript errors. X-Git-Tag: v2.4.2~19^2~1212 X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=5fdbb94d191d8e0d2cef964ef01bfe42829a8706 Cleaning from javascript errors. --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 9a45588a..487b05de 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,11 @@ Legend: ! -> Note $ -> Affected files +23-Sep-2009 Joe Hunt +# Cleaning from javascript errors. +$ /access/login.php + /admin/fiscalyears.php + 22-Sep-2009 Joe Hunt ! Changed copyright notice in installer files to credit the original copyrighter. GPLv3. $ /install/index.php diff --git a/access/login.php b/access/login.php index 2779de81..18a233b4 100644 --- a/access/login.php +++ b/access/login.php @@ -22,7 +22,7 @@ function defaultCompany() $js2 = ""; @@ -52,9 +52,9 @@ function set_fullmode() { echo "$title\n"; echo "\n"; echo " \n"; + echo $js2; if (!$login_timeout) { - echo $js2; echo $js; } echo "\n"; diff --git a/admin/fiscalyears.php b/admin/fiscalyears.php index abff8a96..cbfdd80e 100644 --- a/admin/fiscalyears.php +++ b/admin/fiscalyears.php @@ -423,9 +423,7 @@ function display_fiscalyears() if ($myrow["id"] != $company_year) { delete_button_cell("Delete".$myrow['id'], _("Delete")); submit_js_confirm("Delete".$myrow['id'], - sprintf(_("Are you sure you want to remove fiscal year - '%s'-'%s'? All transactions are removed and converted into relevant - balances. Do you want to continue ?"), $from, $to)); + sprintf(_("Are you sure you want to remove fiscal year %s - %s? All transactions are removed and converted into relevant balances. Do you want to continue ?"), $from, $to)); } else label_cell(''); end_row();