mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Add visible message if preview is not supported, instead of just nothing.
This commit is contained in:
parent
36eca32a77
commit
2b2a6e2261
@ -316,6 +316,10 @@
|
||||
$preview = html::table($rows);
|
||||
rewind($stream);
|
||||
}
|
||||
else
|
||||
{
|
||||
$preview = lang('Preview not supported by %1', $plugin->get_name());
|
||||
}
|
||||
if(count($plugin->get_warnings())) {
|
||||
$this->message .= "<br />\n".lang('Warnings').':';
|
||||
foreach($plugin->get_warnings() as $record => $message) {
|
||||
|
Loading…
Reference in New Issue
Block a user