Fairly easy modification. Open your datalist.php file and look for this code, in my file it's on line 901 to 905 (word wrap off)
PHP Code:
// display details form ...
if($this->AllowSelection)
{
$this->HTML .= "\n\t<tr><td align=center colspan=" . ($FieldCount + 1) . "> " . form($SelectedID, $this->AllowUpdate, (($this->HideTableView && $SelectedID) ? 0 : $this->AllowInsert), $this->AllowDelete) . " </td></tr>";
}
Add a line break between the second last double quote and the closing td so you space the bottom of the Detail View table from the Table View area. This is the code with the added line break.
PHP Code:
// display details form ...
if($this->AllowSelection)
{
$this->HTML .= "\n\t<tr><td align=center colspan=" . ($FieldCount + 1) . "> " . form($SelectedID, $this->AllowUpdate, (($this->HideTableView && $SelectedID) ? 0 : $this->AllowInsert), $this->AllowDelete) . " <br /></td></tr>";
}
Search for the following code and cut and paste it directly above the line with the "// Templates", in my file it's line 608.
PHP Code:
// Templates
if($this->Template!=''){
$rowTemplate = @implode('', @file('./'.$this->Template));
if(!$rowTemplate){
$rowTemplate='';
$selrowTemplate = '';
}else{
if($this->SelectedTemplate!=''){
$selrowTemplate = @implode('', @file('./'.$this->SelectedTemplate));
if(!$selrowTemplate){
$selrowTemplate='';
}
}else{
$selrowTemplate = '';
}
}
}else{
$rowTemplate = '';
$selrowTemplate = '';
}
// End of templates