Changeset 2067:5f3282a11316
- Timestamp:
- 09/24/13 19:07:41 (12 years ago)
- Branch:
- default
- Children:
- 2068:7e104be982a3, 2069:8c8ad1be0ea2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/post.php
r2064 r2067 142 142 } 143 143 } 144 if (isset($_REQUEST['section']) && $_REQUEST['section']=='trackbacks') { 145 $anchor = 'trackbacks'; 146 } else { 147 $anchor = 'comments'; 148 } 149 $comments_actions_page = new dcCommentsActionsPage($core,'post.php',array('id' => $post_id, '_ANCHOR'=>$anchor)); 150 151 if ($comments_actions_page->process()) { 152 return; 153 } 144 154 145 155 # Ping blogs … … 358 368 } 359 369 360 if (isset($_REQUEST['section']) && $_REQUEST['section']=='trackbacks') {361 $anchor = 'trackbacks';362 } else {363 $anchor = 'comments';364 }365 $comments_actions_page = new dcCommentsActionsPage($core,'post.php',array('id' => $post_id, '_ANCHOR'=>$anchor));366 367 if ($comments_actions_page->process()) {368 return;369 }370 370 371 371 dcPage::open($page_title.' - '.__('Entries'), -
plugins/dclegacy/_admin.php
r2061 r2067 65 65 dcPage::jsMetaEditor(). 66 66 $core->callBehavior('adminCommentsActionsHeaders'),''); 67 ob_start(); 67 68 $core->callBehavior('adminCommentsActionsContent',$core,$as->getAction(),$as->getHiddenFields(true)); 69 $res = ob_get_contents(); 70 ob_end_clean(); 71 $res = str_replace("comments_actions.php",$as->getURI(),$res); 72 echo $res; 68 73 $as->endPage(); 69 74
Note: See TracChangeset
for help on using the changeset viewer.