From 4167599b17004d09a53c628c1563f1fa98964685 Mon Sep 17 00:00:00 2001 From: Paul Thursby Date: Tue, 27 Feb 2018 11:37:43 +0000 Subject: [PATCH] FixedAssetLocations.php: Move closing condition brace to cover entire table output to avoid a stray closing table tag output if the condition is not met. Also, replace some style attributes with equivalent CSS. --- FixedAssetLocations.php | 24 ++++++++++++------------ doc/Change.log | 1 + 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/FixedAssetLocations.php b/FixedAssetLocations.php index 3f460044c..cce994517 100755 --- a/FixedAssetLocations.php +++ b/FixedAssetLocations.php @@ -99,8 +99,8 @@ ' . _('Location Description') . ' ' . _('Parent Location') . ' '; -} -while ($myrow=DB_fetch_array($result)) { + + while ($myrow=DB_fetch_array($result)) { echo ' ' . $myrow['locationid'] . ' ' . $myrow['locationdescription'] . ''; @@ -108,17 +108,18 @@ $ParentResult=DB_query($ParentSql); $ParentRow=DB_fetch_array($ParentResult); echo '' . $ParentRow['locationdescription'] . ' - ' . _('Edit') . ''; + ', _('Edit'), ''; + } + + echo ''; } -echo ' -
'; -echo '
+ echo '
- '; + '; if (isset($_GET['SelectedLocation'])) { echo ''; echo ''; @@ -128,11 +129,11 @@ } echo ' - + - +
' . _('Location ID') . '' . _('Location ID') . '' . $LocationID . '
' . _('Location Description') . '' . _('Location Description') . '
' . _('Parent Location') . '' . _('Parent Location') . ' '; - echo '
-
+ echo ' +

'; } else { echo ''; diff --git a/doc/Change.log b/doc/Change.log index 1a51d5d26..ae2945d0f 100644 --- a/doc/Change.log +++ b/doc/Change.log @@ -1,5 +1,6 @@ webERP Change Log +17/2/18 PaulT: FixedAssetLocations.php: Move closing condition brace to cover entire table output to avoid a stray closing table tag output if the condition is not met. Also, replace some style attributes with equivalent CSS. 17/2/18 PaulT: MaintenanceUserSchedule.php: Fix closing tag mismatch. 17/2/18 PaulT: GLJournalInquiry.php: Add missing = to value attribute. 17/02/18 Exson: Fixed the DB_escape_string bug for Array in session.inc and destroy cookie while users log out in Logout.php