From 8cc8717b3942202c854db5868f2afac9a216ce49 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 13 Sep 2010 19:00:49 +0000 Subject: [PATCH] Test: reorder lines with jquery --- htdocs/comm/propal.php | 17 ++++++++++++++--- htdocs/core/tpl/freeproductline_view.tpl.php | 4 ++++ .../core/tpl/predefinedproductline_view.tpl.php | 4 ++++ 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index eeae4ea2051..d362ebd273f 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -1367,16 +1367,27 @@ if ($id > 0 || ! empty($ref)) /* * Lines */ - print ''; - $result = $propal->getLinesArray(); if (!empty($propal->lines)) { + print '
'; $propal->print_title_list(); + print '
'; + + print ''; + + print '
'; $propal->printLinesList(); + print '
'; } - + + print ''; /* * Form to add new line diff --git a/htdocs/core/tpl/freeproductline_view.tpl.php b/htdocs/core/tpl/freeproductline_view.tpl.php index 7ec7351f110..a43cb75ac13 100644 --- a/htdocs/core/tpl/freeproductline_view.tpl.php +++ b/htdocs/core/tpl/freeproductline_view.tpl.php @@ -21,6 +21,8 @@ +
+
> +
info_bits & 2) == 2) { ?> @@ -101,5 +103,7 @@
+ diff --git a/htdocs/core/tpl/predefinedproductline_view.tpl.php b/htdocs/core/tpl/predefinedproductline_view.tpl.php index 6b687b69bcb..b6c2671f7ed 100644 --- a/htdocs/core/tpl/predefinedproductline_view.tpl.php +++ b/htdocs/core/tpl/predefinedproductline_view.tpl.php @@ -21,6 +21,8 @@ +
+> +
@@ -94,5 +96,7 @@
+