From 7d45e42039ef2b25381d581d6efa6aa658fbb4a0 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Fri, 27 Jun 2014 20:58:30 +0200 Subject: [PATCH] =?UTF-8?q?Bug=20#1006=20ANCGL=20:=20export=20des=20pi?= =?UTF-8?q?=C3=A8ces=20dans=20un=20grand=20PDF=20avec=20un=20tampon=20Task?= =?UTF-8?q?=20#1006=20-=20ANCGL=20:=20export=20des=20pi=C3=A8ces=20dans=20?= =?UTF-8?q?un=20grand=20PDF=20avec=20un=20tampon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README | 2 +- html/export.php | 11 +- html/js/infobulle.js | 2 + include/anc_great_ledger.inc.php | 38 +++++-- include/class_anc_grandlivre.php | 176 ++++++++++++++++++------------ include/class_document_export.php | 160 +++++++++++++++++++++++++++ include/template/template.gif | Bin 0 -> 6626 bytes release-note | 94 ---------------- sql/upgrade.sql | 48 +------- 9 files changed, 309 insertions(+), 222 deletions(-) create mode 100644 include/class_document_export.php create mode 100644 include/template/template.gif delete mode 100644 release-note 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/html/export.php b/html/export.php index 8f8bbfb4f..90b027955 100644 --- a/html/export.php +++ b/html/export.php @@ -43,7 +43,14 @@ if ( $action=='X' || ! isset($_GET['act']) || $g_user->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/js/infobulle.js b/html/js/infobulle.js index 36015afd7..3aa510847 100644 --- a/html/js/infobulle.js +++ b/html/js/infobulle.js @@ -64,6 +64,8 @@ content[33]='le type vaut :