public static function onActionLegacy($core, dcCommentsActionsPage $as, $Comment) { $core->callBehavior('adminCommentsActions', $core, $as->getRS(), $as->getAction(), $as->getRedirection()); $as->beginPage('', dcPage::jsLoad('js/jquery/jquery.autocomplete.js') . dcPage::jsMetaEditor() . $core->callBehavior('adminCommentsActionsHeaders'), ''); ob_start(); $core->callBehavior('adminCommentsActionsContent', $core, $as->getAction(), $as->getHiddenFields(true)); $res = ob_get_contents(); ob_end_clean(); $res = str_replace("comments_actions.php", $as->getURI(), $res); echo $res; $as->endPage(); }