Ejemplo n.º 1
0
 public static function onActionLegacy($core, dcPagesActionsPage $as, $post)
 {
     $core->callBehavior('adminPostsActions', $core, $as->getRS(), $as->getAction(), $as->getRedirection());
     $as->beginPage('', dcPage::jsLoad('js/jquery/jquery.autocomplete.js') . dcPage::jsMetaEditor() . $core->callBehavior('adminPostsActionsHeaders'), '');
     ob_start();
     $core->callBehavior('adminPostsActionsContent', $core, $as->getAction(), $as->getHiddenFields(true));
     $res = ob_get_contents();
     ob_end_clean();
     $res = str_replace("posts_actions.php", "plugin.php", $res);
     echo $res;
     $as->endPage();
 }