diff --git a/README b/README
index 5547d8570..b20ca8fa7 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
Si vous avez besoin d'aide pour l'installation
utilisez la mailing list
Pour souscrire ou faire des recherches
- aller à http://mail.nongnu.org/mailman/listinfo/phpcompta-support
+ aller à https://lists.nongnu.org/mailman/listinfo/noalyss-generale
diff --git a/contrib/mono-dossier/mono.sql b/contrib/mono-dossier/mono.sql
index 6ec4f93b0..fe4fef052 100644
--- a/contrib/mono-dossier/mono.sql
+++ b/contrib/mono-dossier/mono.sql
@@ -528,3 +528,11 @@ ALTER TABLE ONLY priv_user
-- PostgreSQL database dump complete
--
+begin;
+update theme set the_name='Mandarine' ,the_filestyle='style-mandarine.css' where the_name='Colored';
+update theme set the_name='Mobile' ,the_filestyle='style-mobile.css' where the_name='EPad';
+update theme set the_name = 'Classique' where the_name='classic';
+update user_global_pref set parameter_value='Classique' where parameter_type='THEME';
+update theme set the_filestyle='style-classic.css' where the_filestyle='style.css';
+update repo_version set val=15;
+commit;
diff --git a/doc/commencer-avec-noalyss.odt b/doc/commencer-avec-noalyss.odt
new file mode 100644
index 000000000..b6f8247ce
Binary files /dev/null and b/doc/commencer-avec-noalyss.odt differ
diff --git a/doc/commencer-avec-noalyss.pdf b/doc/commencer-avec-noalyss.pdf
new file mode 100644
index 000000000..286b1b679
Binary files /dev/null and b/doc/commencer-avec-noalyss.pdf differ
diff --git a/doc/commencer-avec-phpcompta.odt b/doc/commencer-avec-phpcompta.odt
deleted file mode 100644
index a8c64c12e..000000000
Binary files a/doc/commencer-avec-phpcompta.odt and /dev/null differ
diff --git a/doc/commencer-avec-phpcompta.pdf b/doc/commencer-avec-phpcompta.pdf
deleted file mode 100644
index 0ef10cc05..000000000
Binary files a/doc/commencer-avec-phpcompta.pdf and /dev/null differ
diff --git a/html/admin/sql/patch/ac-upgrade14.sql b/html/admin/sql/patch/ac-upgrade14.sql
index 599cb177c..140f72705 100644
--- a/html/admin/sql/patch/ac-upgrade14.sql
+++ b/html/admin/sql/patch/ac-upgrade14.sql
@@ -1,8 +1,8 @@
begin;
update theme set the_name='Mandarine' ,the_filestyle='style-mandarine.css' where the_name='Colored';
update theme set the_name='Mobile' ,the_filestyle='style-mobile.css' where the_name='EPad';
-update user_global_pref set parameter_value='Mandarine' where parameter_value='Colored';
-update user_global_pref set parameter_value='Mobile' where parameter_value='EPad';
+update theme set the_name = 'Classique' where the_name='classic';
+update user_global_pref set parameter_value='Classique' where parameter_type='THEME';
update theme set the_filestyle='style-classic.css' where the_filestyle='style.css';
CREATE OR REPLACE FUNCTION public.upgrade_repo(p_version integer)
diff --git a/html/admin/sql/patch/upgrade115.sql b/html/admin/sql/patch/upgrade115.sql
new file mode 100644
index 000000000..f458f13b2
--- /dev/null
+++ b/html/admin/sql/patch/upgrade115.sql
@@ -0,0 +1,9 @@
+begin;
+
+INSERT INTO menu_ref(me_code, me_menu, me_file, me_type)VALUES ('PDF:AncReceipt', 'Export pièce PDF', 'export_anc_receipt_pdf.php','PR');
+
+insert into profile_menu(me_code,p_id,p_type_display,pm_default) values ('PDF:AncReceipt',1,'P',0);
+
+update version set val=116;
+
+commit;
diff --git a/html/backup.php b/html/backup.php
index 5ddc083ad..7bb11931a 100644
--- a/html/backup.php
+++ b/html/backup.php
@@ -68,12 +68,14 @@ if ( isset ($_REQUEST['sa']) )
putenv("PGUSER=".phpcompta_user);
putenv("PGHOST=".phpcompta_psql_host);
putenv("PGPORT=".phpcompta_psql_port);
+ } else {
+ die ('Aucune connection');
}
if ( $_REQUEST['t'] == 'd' )
{
$database=domaine."dossier".$_REQUEST['d'];
- $args= " -Fc -Z9 --no-owner -h ".noalyss_psql_host." -p ".noalyss_psql_port." ".$database;
+ $args= " -Fc -Z9 --no-owner -h ".getenv("PGHOST")." -p ".getenv("PGPORT")." ".$database;
header('Content-type: application/octet');
header('Content-Disposition:attachment;filename="'.$database.'.bin"',FALSE);
@@ -84,7 +86,7 @@ if ( isset ($_REQUEST['sa']) )
if ( $_REQUEST['t'] == 'm' )
{
$database=domaine."mod".$_REQUEST['d'];
- $args= " -Fc -Z9 --no-owner -h ".noalyss_psql_host." -p ".noalyss_psql_port." ".$database;
+ $args= " -Fc -Z9 --no-owner -h ".getenv("PGHOST")." -p ".getenv("PGPORT")." ".$database;
header('Content-type: bin/x-application');
header('Content-Disposition: attachment;filename="'.$database.'.bin"',FALSE);
$a=passthru ($cmd.$args);
diff --git a/html/direct.php b/html/direct.php
index 3b4838ed5..4eb2a72cb 100644
--- a/html/direct.php
+++ b/html/direct.php
@@ -1,4 +1,23 @@
check_print($_GET['act'])
exit();
}
// get file and execute it
-
- $prfile=$cn->get_value("select me_file from menu_ref where me_code=$1",array($_GET['act']));
+$action=HtmlInput::default_value_get('act', null);
+if ($action == null )
+{
+ die(_('Appel invalide'));
+}
+ $prfile=$cn->get_value("select me_file from menu_ref where me_code=$1",array($action));
+ if ( $prfile == "") {
+ die (_('Export impossible'));
+ }
require_once $prfile;
?>
\ No newline at end of file
diff --git a/html/image/bg-submit5.png b/html/image/bg-submit5.png
index 00e582c76..fc0bb8cbd 100644
Binary files a/html/image/bg-submit5.png and b/html/image/bg-submit5.png differ
diff --git a/html/image/documents.png b/html/image/documents.png
new file mode 100644
index 000000000..61d9f0ff9
Binary files /dev/null and b/html/image/documents.png differ
diff --git a/html/index.php b/html/index.php
index 757323061..a71fc7705 100644
--- a/html/index.php
+++ b/html/index.php
@@ -1,4 +1,22 @@
0 )
echo '
-version 6.7.2.0 - '.$my_domain.'
+version 6.7.2.1 - '.$my_domain.'
@@ -250,6 +268,7 @@ echo '