From 58db1fd338a7670dcb973748aa6b44f8415f0065 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Sat, 20 Dec 2008 23:10:11 +0000 Subject: [PATCH] Better layout in big forms --- CHANGELOG.txt | 2 ++ includes/ui/ui_controls.inc | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index a0f6baf4..ba348321 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -22,6 +22,8 @@ $ -> Affected files 20-Dec-2008 Joe Hunt ! Replaced the ajax paging in stock movements with the old file. $ /inventory/inquiry/stock_movements.php +! Better layout in big forms +$ /includes/ui/ui_controls.inc 18-Dec-2008 Joe Hunt + Added quick entries in supplier invoice/credit note as well. Based on bank payments diff --git a/includes/ui/ui_controls.inc b/includes/ui/ui_controls.inc index d0231002..40bfc9a8 100644 --- a/includes/ui/ui_controls.inc +++ b/includes/ui/ui_controls.inc @@ -56,9 +56,10 @@ function end_table($breaks=0) br($breaks); } -function start_outer_table($extra="", $padding='2', $spacing='0') +function start_outer_table($extra="", $padding='2', $spacing='0', $br=false) { - br(); + if ($br) + br(); start_table($extra, $padding, $spacing); echo "\n"; // outer table } -- 2.30.2