From 22f8f19b6e5295ff481d50035889f7ffd8991e24 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Mon, 27 Jan 2014 19:23:58 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20du=20titre=20Task=20#972=20-=20G=C3=A9n?= =?UTF-8?q?=C3=A9ration=20de=20document?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/class_document.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/class_document.php b/include/class_document.php index 47960819c..1d742a5bb 100644 --- a/include/class_document.php +++ b/include/class_document.php @@ -541,6 +541,8 @@ class Document * - [BENEF_CITY] * - [BENEF_VAT] * - [ACOMPTE] + * - [TITLE] + * - [DESCRIPTION] * * \param $p_tag TAG * \param $p_array data from $_POST @@ -1146,6 +1148,9 @@ class Document if ( ! isset ($p_array['repo'])) return ""; $ret=$this->db->get_value('select r_phone from public.stock_repository where r_id=$1',array($p_array['repo'])); return $ret; + case 'TITLE': + $title=HtmlInput::default_value_request("ag_title", ""); + return $title; } /*