Minor adjustments
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 8 Aug 2007 13:16:24 +0000 (13:16 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 8 Aug 2007 13:16:24 +0000 (13:16 +0000)
CHANGELOG.txt
access/login.php
admin/create_coy.php
config.php
reporting/includes/pdf_report.inc

index 4d41f313cc8f6b13a65c7154a86c8b617ffbc4e0..b1c4510621e304113b39e7118f6ddd9a3667f3a4 100644 (file)
@@ -19,6 +19,13 @@ Legend:
 ! -> Note
 $ -> Affected files
 
+08-Aug-2007
+ # Minor adjustments
+ $ config.php
+   /access/login.php
+   /admin/create_coy.php
+   /reporting/includes/pdf_report.inc
+   
 04-Aug-2007
  + Added a default fiscal year in the en_US-new.sql and start references.
  $ /sql/en_US-new.sql
index 3f9a04af90c86038e6469e203de9bf3df551257f..408af0e25d0ed1f290535103ddb87aacd7afdc48 100644 (file)
@@ -30,7 +30,7 @@ function defaultCompany()
 <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="defaultCompany()">
     <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
         <tr>
-            <td align="center" valign="bottom"><a target="_blank" href="http://frontaccounting.com/"><img src="themes/default/images/logo_frontaccounting.png" alt="FrontAccounting" width="250" height="50" onload="fixPNG(this)" border="0" /></a></td>
+            <td align="center" valign="bottom"><a target="_blank" href="<?php $power_url; ?>"><img src="themes/default/images/logo_frontaccounting.png" alt="FrontAccounting" width="250" height="50" onload="fixPNG(this)" border="0" /></a></td>
                </tr>
 
         <tr>
index ed557b6d97f62d814f9095ed4497da60e5525e00..ef633b5fdd59dc1f6c189171a209e93af63ca119 100644 (file)
@@ -234,12 +234,12 @@ function display_company_edit($selected_id)
        }
        else
                $_POST['tbpref'] = $tb_pref_counter."_";
-       text_row_ex(_("Company"), 'name', 20);
-       text_row_ex(_("Host"), 'host', 20);
-       text_row_ex(_("Database User"), 'dbuser', 20);
+       text_row_ex(_("Company"), 'name', 30);
+       text_row_ex(_("Host"), 'host', 30);
+       text_row_ex(_("Database User"), 'dbuser', 30);
        if ($selected_id == -1) 
-               text_row_ex(_("Database Password"), 'dbpassword', 20);
-       text_row_ex(_("Database Name"), 'dbname', 20);
+               text_row_ex(_("Database Password"), 'dbpassword', 30);
+       text_row_ex(_("Database Name"), 'dbname', 30);
        if ($selected_id == -1)
                yesno_list_row(_("Table Pref"), 'tbpref', 1, $_POST['tbpref'], _("None"), false);
        else
index 6e0fced361114828ce9437756ef566882cad2b8a..277d2ccf66af3db62f8b093d864923d381de298f 100644 (file)
@@ -59,7 +59,7 @@
 
        // Powered by
        $power_by               = "FrontAccounting";
-       $power_url              = "http://frontaccounting.net/ftac";
+       $power_url              = "http://frontaccounting.net";
 
     /*Stock units array*/
        $stock_units    = array(_("ea."), _("m"), _("kgg"), _("tons"), _("l"), _("lbs"), _("dozen"), _("pack"), _("hrs"));
index 72cc3390427cd2ef1f003830a099391572f6d6c0..e1455554def1682038dffbb58d0d03faaae73135 100644 (file)
@@ -466,8 +466,8 @@ class FrontReport extends Cpdf
                $adr = explode("\n", $this->company['postal_address']);
                for ($i = 0; $i < count($adr); $i++)
                {       
-                       $this->NewLine();
                        $this->Text($ccol, $adr[$i], $ccol2 + 40);
+                       $this->NewLine();
                }
                $this->row = $adrline; 
                $this->Text($ccol2 + 30, $this->company['phone'], $mcol);