Dotclear


Ignore:
Timestamp:
09/24/13 21:01:48 (12 years ago)
Author:
Dsls
Branch:
default
Message:

Handled in-plugin / out-plugin action pages display (dcPage.open vs direct html), tag_posts.php now works with new actions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/actions/class.dcactioncomments.php

    r2071 r2072  
    3131      
    3232     public function beginPage($breadcrumb='',$head='') { 
    33           dcPage::open( 
    34                __('Comments'), 
    35                 
    36                dcPage::jsLoad('js/_comments_actions.js'). 
    37                $head, 
    38                $breadcrumb 
    39           );    
     33          if ($this->in_plugin) { 
     34               echo '<html><head><title>'.__('Comments').'</title>'. 
     35                    dcPage::jsLoad('js/_comments_actions.js'). 
     36                    $head. 
     37                    '</script></head><body>'. 
     38                    $breadcrumb; 
     39          } else { 
     40               dcPage::open( 
     41                    __('Comments'), 
     42                    dcPage::jsLoad('js/_comments_actions.js'). 
     43                    $head, 
     44                    $breadcrumb 
     45               );    
     46 
     47          } 
    4048          echo '<p><a class="back" href="'.$this->getRedirection(array(),true).'">'.__('Back to comments list').'</a></p>'; 
    4149     } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map