From ef14fba62306943abbd1d17b50f8e8459d0b07c5 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 8 Apr 2011 13:47:06 +0000 Subject: [PATCH] Works on hook --- htdocs/core/tpl/freeproductline_edit.tpl.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/htdocs/core/tpl/freeproductline_edit.tpl.php b/htdocs/core/tpl/freeproductline_edit.tpl.php index e490b677343..3247c21d6c9 100644 --- a/htdocs/core/tpl/freeproductline_edit.tpl.php +++ b/htdocs/core/tpl/freeproductline_edit.tpl.php @@ -1,6 +1,6 @@ - * Copyright (C) 2010 Laurent Destailleur +/* Copyright (C) 2010-2011 Regis Houssin + * Copyright (C) 2010-2011 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -38,7 +38,15 @@ > + hooks)) { + foreach($this->hooks as $module) { + $module->formAddProductOption($this,$line->fk_parent_line); + echo '
'; + } + } + // editeur wysiwyg $nbrows=ROWS_2; if (! empty($conf->global->MAIN_INPUT_DESC_HEIGHT)) $nbrows=$conf->global->MAIN_INPUT_DESC_HEIGHT;