2017-09-20, 02:36:21
Well, you could extend your getPublicPageContent() function before it returns the page content with the markup:
PHP Code:
...
if(isset($data) && empty($data->private)) {
$content =
'<div id="aktion">'.
exec_filter('content', stripslashes(htmlspecialchars_decode($data->content, ENT_QUOTES))).
'<div class="closeaktion" title="Fenster schließen">×</div>'.
'</div>';
return $content;
}