1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 12:21:45 +02:00

Column count fix for 'no records found' message.

This commit is contained in:
Cameron
2013-05-20 04:50:56 -07:00
parent ba358b975b
commit 37fa9241d3

View File

@@ -3194,10 +3194,10 @@ class e_form
if(!$tree)
{
$text .= "
<tr>
<td colspan='".count($current_fields)."' class='center middle'>".LAN_NO_RECORDS."</td>
</tr>
";
</tbody>
</table>";
$text .= "<div class='alert alert-block alert-info center middle'>".LAN_NO_RECORDS."</div>"; // not prone to column-count issues.
}
else
{
@@ -3208,13 +3208,13 @@ class e_form
$text .= $this->renderTableRow($fields, $current_fields, $model->getData(), $options['pid']);
}
e107::setRegistry('core/adminUI/currentListModel', null);
$text .= "</tbody>
</table>";
}
$text .= "
</tbody>
</table>
".vartrue($options['table_post'])."
";
$text .= vartrue($options['table_post']);
if($tree && $amount)