Dotclear

Changeset 1777


Ignore:
Timestamp:
10/27/09 17:55:39 (13 years ago)
Author:
Tomtom33
Message:

pageMaker 0.5.3 :

Location:
plugins/pageMaker/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/pageMaker/trunk/_define.php

    r1771 r1777  
    1515          /* Description*/         "Create pages for entries and comments lists", 
    1616          /* Author */             "Tomtom (http://blog.zenstyle.fr)", 
    17           /* Version */            '0.5.2', 
     17          /* Version */            '0.5.3', 
    1818          /* Permissions */        'usage', 
    1919          /* Priority */           100010 
  • plugins/pageMaker/trunk/inc/class.page.maker.php

    r1554 r1777  
    2121     { 
    2222          $end_entry = '/page/%s'; 
    23           $end_comment = '/c/%s#comments'; 
     23          $end_comment = '/c/%1$s%2$s'; 
    2424           
    2525          $this->base_url = $GLOBALS['_ctx']->posts->getURL(); 
     
    2727          if ($params['type'] === 'post') { 
    2828               $this->base_url .= $end_entry; 
    29                $this->base_url .= isset($params['post_comment_current']) ? sprintf($end_comment,$params['post_comment_current']) : ''; 
     29               $this->base_url .= isset($params['post_comment_current']) ? sprintf($end_comment,$params['post_comment_current'],'') : ''; 
    3030          } 
    3131          elseif ($params['type'] === 'comment') { 
    3232               $this->base_url .= isset($params['post_page_current']) ? sprintf($end_entry,$params['post_page_current']) : ''; 
    33                $this->base_url .= $end_comment; 
     33               $this->base_url .= sprintf($end_comment,'%s','#comments'); 
    3434          } 
    3535           
Note: See TracChangeset for help on using the changeset viewer.

Sites map