Thread: [Frontaccounting-cvs_updates] /hgroot/frontaccounting/frontaccounting: Cleanups.
Brought to you by:
frontaccounting,
itronics
From: FrontAccounting <fro...@us...> - 2012-03-07 19:52:34
|
details: http://frontaccounting.hg.sourceforge.net:8000/hgroot/frontaccounting/frontaccounting/hgroot/frontaccounting/frontaccounting/rev/d01360bb8c75 changeset: 2984:d01360bb8c75 user: Janusz Dobrowolski <ja...@fr...> date: Wed Mar 07 20:50:14 2012 +0100 description: Cleanups. diffstat: admin/attachments.php | 2 +- admin/gl_setup.php | 2 +- install/lang/new_language_template/LC_MESSAGES/empty.po | 66 +- lang/new_language_template/LC_MESSAGES/empty.po | 1567 +++++++------- sales/manage/sales_people.php | 2 +- 5 files changed, 828 insertions(+), 811 deletions(-) diffs (truncated from 3723 to 300 lines): diff -r 41e059ddfd6e -r d01360bb8c75 admin/attachments.php --- a/admin/attachments.php Mon Mar 05 14:14:41 2012 +0100 +++ b/admin/attachments.php Wed Mar 07 20:50:14 2012 +0100 @@ -92,7 +92,7 @@ $index_file = "<?php\nheader(\"Location: ../index.php\");\n?>"; $fp = fopen($dir."/index.php", "w"); fwrite($fp, $index_file); - fclose($fp); _vd($dir); + fclose($fp); } // file name compatible with POSIX // protect against directory traversal diff -r 41e059ddfd6e -r d01360bb8c75 admin/gl_setup.php --- a/admin/gl_setup.php Mon Mar 05 14:14:41 2012 +0100 +++ b/admin/gl_setup.php Wed Mar 07 20:50:14 2012 +0100 @@ -84,7 +84,7 @@ table_section(1); -if (get_company_pref('grn_clearing_act') === null) { // available form 2.3.1, can be not defined on pre-2.4 installations +if (get_company_pref('grn_clearing_act') === null) { // available from 2.3.1, can be not defined on pre-2.4 installations set_company_pref('grn_clearing_act', 'glsetup.purchase', 'varchar', 15, 0); refresh_sys_prefs(); } diff -r 41e059ddfd6e -r d01360bb8c75 install/lang/new_language_template/LC_MESSAGES/empty.po --- a/install/lang/new_language_template/LC_MESSAGES/empty.po Mon Mar 05 14:14:41 2012 +0100 +++ b/install/lang/new_language_template/LC_MESSAGES/empty.po Wed Mar 07 20:50:14 2012 +0100 @@ -8,6 +8,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-03-07 20:46+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL...@li...>\n" @@ -16,58 +17,58 @@ "Content-Type: text/plain; charset=ISO-8859-2\n" "Content-Transfer-Encoding: 8bit\n" -#: install/index.php:20 install/index.php:40 +#: install/index.php:20 install/index.php:41 msgid "FrontAccouting ERP Installation Wizard" msgstr "" -#: install/index.php:41 +#: install/index.php:42 #, php-format msgid "Step %d: %s" msgstr "" -#: install/index.php:48 +#: install/index.php:49 msgid "Chart of accounts" msgstr "" -#: install/index.php:48 install/index.php:75 +#: install/index.php:49 install/index.php:76 msgid "Encoding" msgstr "" -#: install/index.php:48 install/index.php:75 +#: install/index.php:49 install/index.php:76 msgid "Description" msgstr "" -#: install/index.php:48 install/index.php:75 +#: install/index.php:49 install/index.php:76 msgid "Install" msgstr "" -#: install/index.php:65 install/index.php:93 +#: install/index.php:66 install/index.php:94 msgid "Installed" msgstr "" -#: install/index.php:75 +#: install/index.php:76 msgid "Language" msgstr "" -#: install/index.php:123 +#: install/index.php:124 msgid "" "Cannot connect to database. User or password is invalid or you have no " "permittions to create database." msgstr "" -#: install/index.php:159 +#: install/index.php:160 msgid "Cannot save system configuration file 'config.php'." msgstr "" -#: install/index.php:166 +#: install/index.php:167 msgid "Cannot open 'config_db.php' configuration file." msgstr "" -#: install/index.php:169 +#: install/index.php:170 msgid "Cannot write to the 'config_db.php' configuration file." msgstr "" -#: install/index.php:172 +#: install/index.php:173 msgid "" "Configuration file 'config_db.php' is not writable. Change its permissions " "so it is, then re-run installation step." @@ -116,7 +117,7 @@ msgstr "" #: install/index.php:325 install/index.php:351 install/index.php:358 -#: install/index.php:365 install/index.php:384 +#: install/index.php:365 install/index.php:389 msgid "Continue >>" msgstr "" @@ -184,7 +185,7 @@ msgstr "" #: install/index.php:350 install/index.php:357 install/index.php:364 -#: install/index.php:383 +#: install/index.php:388 msgid "<< Back" msgstr "" @@ -196,43 +197,43 @@ msgid "Charts of Accounts Selection" msgstr "" -#: install/index.php:374 +#: install/index.php:379 msgid "Company Settings" msgstr "" -#: install/index.php:376 +#: install/index.php:381 msgid "Company Name:" msgstr "" -#: install/index.php:377 +#: install/index.php:382 msgid "Admin Login:" msgstr "" -#: install/index.php:378 +#: install/index.php:383 msgid "Admin Password:" msgstr "" -#: install/index.php:379 +#: install/index.php:384 msgid "Reenter Password:" msgstr "" -#: install/index.php:380 +#: install/index.php:385 msgid "Select Chart of Accounts:" msgstr "" -#: install/index.php:381 +#: install/index.php:386 msgid "Select Default Language:" msgstr "" -#: install/index.php:388 +#: install/index.php:393 msgid "FrontAccounting ERP has been installed successsfully." msgstr "" -#: install/index.php:389 +#: install/index.php:394 msgid "Please do not forget to remove install wizard folder." msgstr "" -#: install/index.php:392 +#: install/index.php:397 msgid "Click here to start." msgstr "" @@ -468,29 +469,34 @@ msgid "No key field '%s' in file '%s'" msgstr "" -#: includes/packages.inc:295 +#: includes/packages.inc:295 includes/packages.inc:329 +#, php-format +msgid "Cannot delete outdated '%s' file." +msgstr "" + +#: includes/packages.inc:299 msgid "Release file in repository is invalid, or public key is outdated." msgstr "" -#: includes/packages.inc:311 +#: includes/packages.inc:316 msgid "Repository version does not match application version." msgstr "" -#: includes/packages.inc:325 +#: includes/packages.inc:333 #, php-format msgid "" "Security alert: broken index file in repository '%s'. Please inform " "repository administrator about this issue." msgstr "" -#: includes/packages.inc:358 +#: includes/packages.inc:366 #, php-format msgid "" "Security alert: broken package '%s' in repository. Please inform repository " "administrator about this issue." msgstr "" -#: includes/packages.inc:613 includes/packages.inc:664 +#: includes/packages.inc:621 includes/packages.inc:672 #, php-format msgid "Package '%s' not found." msgstr "" diff -r 41e059ddfd6e -r d01360bb8c75 lang/new_language_template/LC_MESSAGES/empty.po --- a/lang/new_language_template/LC_MESSAGES/empty.po Mon Mar 05 14:14:41 2012 +0100 +++ b/lang/new_language_template/LC_MESSAGES/empty.po Wed Mar 07 20:50:14 2012 +0100 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-11-10 11:14+0100\n" +"POT-Creation-Date: 2012-03-07 20:49+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL...@li...>\n" @@ -26,48 +26,51 @@ msgid "Logout" msgstr "" -#: access/login.php:13 +#: access/login.php:13 admin/db/login.php:13 msgid "Restricted access" msgstr "" -#: access/login.php:27 +#: access/login.php:27 admin/db/login.php:28 msgid "Login as user: demouser and password: password" msgstr "" -#: access/login.php:31 +#: access/login.php:31 admin/db/login.php:32 msgid "Please login here" msgstr "" -#: access/login.php:39 access/login.php:69 +#: access/login.php:39 access/login.php:69 admin/db/login.php:40 +#: admin/db/login.php:70 msgid "Authorization timeout" msgstr "" -#: access/login.php:39 access/login.php:76 +#: access/login.php:39 access/login.php:76 admin/db/login.php:40 +#: admin/db/login.php:77 msgid "Login" msgstr "" -#: access/login.php:76 admin/inst_upgrade.php:137 +#: access/login.php:76 admin/inst_upgrade.php:137 admin/db/login.php:77 msgid "Version" msgstr "" -#: access/login.php:79 +#: access/login.php:79 admin/db/login.php:80 msgid "User name" msgstr "" #: access/login.php:83 admin/change_current_user_password.php:78 -#: admin/users.php:191 +#: admin/users.php:191 admin/db/login.php:84 msgid "Password:" msgstr "" #: access/login.php:92 admin/create_coy.php:249 admin/create_coy.php:331 +#: admin/db/login.php:93 msgid "Company" msgstr "" -#: access/login.php:101 +#: access/login.php:101 admin/db/login.php:102 msgid "Login -->" msgstr "" -#: access/login.php:132 admin/display_prefs.php:111 +#: access/login.php:132 admin/display_prefs.php:111 admin/db/login.php:133 #: themes/default/renderer.php:123 msgid "Theme:" msgstr "" @@ -84,20 +87,20 @@ msgid "Attach Documents" msgstr "" -#: admin/attachments.php:119 +#: admin/attachments.php:123 msgid "Attachment has been inserted." |
From: FrontAccounting <fro...@us...> - 2013-03-23 08:44:36
|
details: http://frontaccounting.hg.sourceforge.net:8000/hgroot/frontaccounting/frontaccounting/hgroot/frontaccounting/frontaccounting/rev/0b68240f7c85 changeset: 3207:0b68240f7c85 user: Janusz Dobrowolski <ja...@fr...> date: Wed Mar 20 11:14:37 2013 +0100 description: Cleanups. diffstat: includes/db_pager.inc | 2 +- includes/ui/ui_input.inc | 2 +- sales/inquiry/sales_orders_view.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diffs (38 lines): diff -r 707eac3abb80 -r 0b68240f7c85 includes/db_pager.inc --- a/includes/db_pager.inc Tue Mar 19 23:03:14 2013 +0100 +++ b/includes/db_pager.inc Wed Mar 20 11:14:37 2013 +0100 @@ -413,7 +413,7 @@ update_record_status($id, !$value, $table, $key); $value = !$value; } - echo '<td align="center">'. checkbox(null, $name, $value, true, '', "align='center'") + echo '<td align="center">'. checkbox(null, $name, $value, true, '') . hidden("LInact[$id]", $value, false) . '</td>'; } } else diff -r 707eac3abb80 -r 0b68240f7c85 includes/ui/ui_input.inc --- a/includes/ui/ui_input.inc Tue Mar 19 23:03:14 2013 +0100 +++ b/includes/ui/ui_input.inc Wed Mar 20 11:14:37 2013 +0100 @@ -890,7 +890,7 @@ get_post('Update')) && (check_value('Inactive'.$id) != $value)) { update_record_status($id, !$value, $table, $key); } - echo '<td align="center">'. checkbox(null, $name, $value, true, '', "align='center'") + echo '<td align="center">'. checkbox(null, $name, $value, true, '') . hidden("LInact[$id]", $value, false) . '</td>'; } } diff -r 707eac3abb80 -r 0b68240f7c85 sales/inquiry/sales_orders_view.php --- a/sales/inquiry/sales_orders_view.php Tue Mar 19 23:03:14 2013 +0100 +++ b/sales/inquiry/sales_orders_view.php Wed Mar 20 11:14:37 2013 +0100 @@ -167,8 +167,8 @@ global $trans_type; if ($trans_type == ST_SALESQUOTE) return ''; - if (@$_GET['popup']) - return ''; + if (@$_GET['popup']) + return ''; $name = "chgtpl" .$row['order_no']; $value = $row['type'] ? 1:0; |