diff --git a/include/class_filetosend.php b/include/class_filetosend.php
index e59364386..76429da29 100644
--- a/include/class_filetosend.php
+++ b/include/class_filetosend.php
@@ -63,7 +63,7 @@ class FileToSend
$this->type="application/zip";
break;
default:
- $this->type="application/octect";
+ $this->type="application/octet";
}
}
@@ -72,7 +72,9 @@ class FileToSend
*/
function compute_name($p_filename)
{
-
+ /**
+ * @todo compute a filename
+ */
}
}
diff --git a/include/config_file.php b/include/config_file.php
index 6df02440b..2cab01a03 100644
--- a/include/config_file.php
+++ b/include/config_file.php
@@ -62,7 +62,7 @@ function config_file_form($p_array=null)
/* default value */
$ctmp=($os==1)?'/tmp':'c:/tmp';
$cpath=($os==1)?'/usr/bin':'c:/phpcompta/postgresql/bin';
- $cuser='phpcompta';
+ $cuser='phpcompta_sql';
$cpasswd='dany';
$cport=5432;
$cdomain='';
diff --git a/include/template/dashboard.php b/include/template/dashboard.php
index 3b4e78046..19c4548aa 100644
--- a/include/template/dashboard.php
+++ b/include/template/dashboard.php
@@ -1,5 +1,68 @@
-
+
+
+
+
+
+
+
+get_mini_report();
+
+$rapport=new Acc_Report($cn);
+$rapport->id=$report;
+if ( $rapport->exist() == false ) {
+ $g_user->set_mini_report(0);
+ $report=0;
+}
+
+if ( $report != 0 ) : ?>
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-get_mini_report();
-$rapport=new Acc_Report($cn);
-$rapport->id=$report;
-if ( $rapport->exist() == false ) {
- $g_user->set_mini_report(0);
- $report=0;
-}
-
-if ( $report != 0 ) : ?>
-
-
-
-
-
-