Changeset 2566:9bf417837888 for plugins/dclegacy/_admin.php
- Timestamp:
- 11/17/13 20:25:53 (12 years ago)
- Branch:
- 2.6
- Children:
- 2567:6c11245cbf04, 2568:61c67a7d17fa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/dclegacy/_admin.php
r2067 r2566 16 16 $GLOBALS['core']->addBehavior('adminCommentsActionsPage',array('dcLegacyComments','adminCommentsActionsPage')); 17 17 18 /* Handle deprecated behaviors : 18 /* Handle deprecated behaviors : 19 19 * adminPostsActionsCombo 20 20 * adminPostsActionsHeaders … … 30 30 } 31 31 } 32 32 33 33 public static function onActionLegacy($core, dcPostsActionsPage $as, $post) { 34 34 $core->callBehavior('adminPostsActions',$core,$as->getRS(),$as->getAction(),$as->getRedirection()); … … 39 39 $core->callBehavior('adminPostsActionsContent',$core,$as->getAction(),$as->getHiddenFields(true)); 40 40 $as->endPage(); 41 41 42 42 } 43 43 } 44 44 45 45 46 /* Handle deprecated behaviors : 46 /* Handle deprecated behaviors : 47 47 * adminCommentsActionsCombo 48 48 * adminCommentsActionsHeaders … … 58 58 } 59 59 } 60 60 61 61 public static function onActionLegacy($core, dcCommentsActionsPage $as, $Comment) { 62 62 $core->callBehavior('adminCommentsActions',$core,$as->getRS(),$as->getAction(),$as->getRedirection()); … … 70 70 ob_end_clean(); 71 71 $res = str_replace("comments_actions.php",$as->getURI(),$res); 72 echo $res; 72 echo $res; 73 73 $as->endPage(); 74 74 75 75 } 76 76 } 77 /* Handle deprecated behaviors : 77 /* Handle deprecated behaviors : 78 78 * adminPagesActionsCombo 79 79 * adminPagesActionsHeaders … … 89 89 } 90 90 } 91 91 92 92 public static function onActionLegacy($core, dcPagesActionsPage $as, $post) { 93 93 $core->callBehavior('adminPostsActions',$core,$as->getRS(),$as->getAction(),$as->getRedirection());
Note: See TracChangeset
for help on using the changeset viewer.