/trunk/plugins/viathinksoft/publicPages/095_attachments/OIDplusPagePublicAttachments.class.php |
---|
479,8 → 479,12 |
} catch (\Exception $e) { |
$doshow = true; |
$htmlmsg = $e instanceof OIDplusException ? $e->getHtmlMessage() : htmlentities($e->getMessage()); |
if (strtolower(substr($htmlmsg, 0, 3)) === '<p ') { |
$output = $htmlmsg; |
} else { |
$output = '<p>'.$htmlmsg.'</p>'; |
} |
} |
$output = '<h2>'._L('File attachments').'</h2>' . |
'<div class="container box">' . |