Index: mod1/index.php
===================================================================
--- mod1/index.php (revision 27977)
+++ mod1/index.php (working copy)
@@ -1041,17 +1041,20 @@
if ($flagRenderBeLayout==TRUE) {
$beTemplateCell = '
- ' . $LANG->sL($fieldContent['meta']['title'], 1) . ' |
+ ' . $LANG->sL($fieldContent['meta']['title'], 1) . ' |
- ' . $cellContent . ' |
+ ' . $cellContent . ' |
';
$beTemplate = str_replace('###'.$fieldID.'###', $beTemplateCell, $beTemplate);
} else {
// Add cell content to registers:
- $headerCells[]=''.$LANG->sL($fieldContent['meta']['title'],1).' | ';
- $cells[]=''.$cellContent.' | ';
+ $width = round(100 / count($elementContentTreeArr['sub'][$sheet][$lKey]));
+ $headerCells[]='' .
+ $LANG->sL($fieldContent['meta']['title'], 1) . ' | ';
+ $cells[]='' .
+ $cellContent.' | ';
}
}
}
Index: mod1/pagemodule.css
===================================================================
--- mod1/pagemodule.css (revision 27977)
+++ mod1/pagemodule.css (working copy)
@@ -21,6 +21,19 @@
}
/* element titlebars */
+.tpm-title-cell {
+ vertical-align: top;
+ padding-top:0;
+ padding-bottom:0;
+}
+.tpm-content-cell {
+ vertical-align: top;
+ padding: 5px;
+ border: 1px dashed #000;
+}
+.beTemplateCell .tpm-content-cell {
+ border: none;
+}
.tpm-container-element tr.tpm-titlebar-page {
background-color: #B8BEC9;
}