Database host names up to 60 chars long allowed
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Tue, 4 Jan 2011 13:57:02 +0000 (13:57 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Tue, 4 Jan 2011 13:57:02 +0000 (13:57 +0000)
CHANGELOG.txt
admin/create_coy.php
install/index.php

index f755e30c453ab17e8d4b513987e49a7210768d30..ca0a7a52536cc952b25ad8c398094487308dd7cc 100644 (file)
@@ -19,6 +19,11 @@ Legend:
 ! -> Note
 $ -> Affected files
 
+04-Jan-2011 Janusz Dobrowolski
+! Database host name up to 60 chars allowed.
+$ /admin/create_coy.php
+  /install/index.php
+
 31-Dec-2010 Joe Hunt
 # Fixed bug in earlier invoice_db (GRN Provision should have only one row)
   Only GRN Clearring on stock items.
index 21861a0f83c8bb9343f4be3fb3956824b89ef3c2..348c3634c7b604e81454dd93029aa7632674494f 100644 (file)
@@ -311,7 +311,7 @@ function display_company_edit($selected_id)
        else
                $_POST['tbpref'] = $tb_pref_counter."_";
        text_row_ex(_("Company"), 'name', 30);
-       text_row_ex(_("Host"), 'host', 30);
+       text_row_ex(_("Host"), 'host', 30, 60);
        text_row_ex(_("Database User"), 'dbuser', 30);
        if ($selected_id == -1)
                text_row_ex(_("Database Password"), 'dbpassword', 30);
index e9e0ef59630379763a9f41588f8940940f3f7c9d..52adfbef158562c095cdcc2314f9848b180dab0d 100644 (file)
@@ -337,7 +337,7 @@ start_form();
                        }
                        subpage_title(_('Database Server Settings'));
                        start_table(TABLESTYLE);
-                       text_row_ex(_("Server Host:"), 'host', 30);
+                       text_row_ex(_("Server Host:"), 'host', 30, 60);
                        text_row_ex(_("Database User:"), 'dbuser', 30);
                        text_row_ex(_("Database Password:"), 'dbpassword', 30);
                        text_row_ex(_("Database Name:"), 'dbname', 30);