diff --git a/lam/lib/html.inc b/lam/lib/html.inc
index 5713cd89..2104d835 100644
--- a/lam/lib/html.inc
+++ b/lam/lib/html.inc
@@ -67,6 +67,8 @@ class htmlTable implements htmlElement {
const header = "
\n";
+ $this->elements[] = htmlTable::newLine;
}
/**
@@ -120,7 +122,9 @@ class htmlTable implements htmlElement {
}
// print simple Strings
else {
- echo $this->elements[$i];
+ if ($i != (sizeof($this->elements) - 1) || !($this->elements[$i] == htmlTable::newLine) ) {
+ echo $this->elements[$i];
+ }
}
}
echo htmlTable::footer;
@@ -534,7 +538,6 @@ class htmlTableExtendedSelect extends htmlSelect {
echo $this->label;
echo "\n\n\n";
$return = parent::generateHTML($module, $input, $values, $restricted, $tabindex, $scope);
- echo "\n | \n\n";
// print help link
if ($this->helpID != null) {
echo "\n | \n\n";
@@ -698,7 +701,6 @@ class htmlTableExtendedInputCheckbox extends htmlInputCheckbox {
echo "\n | \n\n";
echo $this->label;
}
- echo "\n | \n\n";
// print help link
if ($this->helpID != null) {
echo "\n | \n\n";
@@ -814,7 +816,6 @@ class htmlTableExtendedInputTextarea extends htmlInputTextarea {
}
echo "\n | \n\n";
$return = parent::generateHTML($module, $input, $values, $restricted, $tabindex, $scope);
- echo "\n | \n\n";
// print help link
if ($this->helpID != null) {
echo "\n | \n\n";
|