mirror of
https://github.com/e107inc/e107.git
synced 2025-08-24 15:13:04 +02:00
Column count fix for 'no records found' message.
This commit is contained in:
@@ -3194,10 +3194,10 @@ class e_form
|
|||||||
if(!$tree)
|
if(!$tree)
|
||||||
{
|
{
|
||||||
$text .= "
|
$text .= "
|
||||||
<tr>
|
</tbody>
|
||||||
<td colspan='".count($current_fields)."' class='center middle'>".LAN_NO_RECORDS."</td>
|
</table>";
|
||||||
</tr>
|
|
||||||
";
|
$text .= "<div class='alert alert-block alert-info center middle'>".LAN_NO_RECORDS."</div>"; // not prone to column-count issues.
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -3208,13 +3208,13 @@ class e_form
|
|||||||
$text .= $this->renderTableRow($fields, $current_fields, $model->getData(), $options['pid']);
|
$text .= $this->renderTableRow($fields, $current_fields, $model->getData(), $options['pid']);
|
||||||
}
|
}
|
||||||
e107::setRegistry('core/adminUI/currentListModel', null);
|
e107::setRegistry('core/adminUI/currentListModel', null);
|
||||||
|
|
||||||
|
$text .= "</tbody>
|
||||||
|
</table>";
|
||||||
}
|
}
|
||||||
|
|
||||||
$text .= "
|
|
||||||
</tbody>
|
$text .= vartrue($options['table_post']);
|
||||||
</table>
|
|
||||||
".vartrue($options['table_post'])."
|
|
||||||
";
|
|
||||||
|
|
||||||
|
|
||||||
if($tree && $amount)
|
if($tree && $amount)
|
||||||
|
Reference in New Issue
Block a user