plugins/nuggie/postbit.php
changeset 1 6e76ca311f2d
parent 0 a09fb41e48d5
child 2 4e7762863437
equal deleted inserted replaced
0:a09fb41e48d5 1:6e76ca311f2d
   148     $strings['POST_TITLE'] = htmlspecialchars($this->post_title);
   148     $strings['POST_TITLE'] = htmlspecialchars($this->post_title);
   149     $strings['POST_TEXT'] = RenderMan::render($this->post_text);
   149     $strings['POST_TEXT'] = RenderMan::render($this->post_text);
   150     $strings['PERMALINK'] = makeUrlNS('Blog', $this->post_author . date('/Y/n/j/', $this->post_timestamp) . $this->post_title_clean, false, true);
   150     $strings['PERMALINK'] = makeUrlNS('Blog', $this->post_author . date('/Y/n/j/', $this->post_timestamp) . $this->post_title_clean, false, true);
   151     $strings['EDIT_LINK'] = makeUrlNS('Special', "Preferences/Blog/Write/{$this->post_id}", false, true);
   151     $strings['EDIT_LINK'] = makeUrlNS('Special', "Preferences/Blog/Write/{$this->post_id}", false, true);
   152     
   152     
       
   153     /*
       
   154      * FIXME: Make this a real colored userpage link
       
   155      */
       
   156     
       
   157     $strings['USER_LINK'] = '<fixme>' . htmlspecialchars($this->post_author) . '</fixme>';
       
   158     
   153     if ( $this->num_comments == 0 )
   159     if ( $this->num_comments == 0 )
   154       $comment_string = 'No comments';
   160       $comment_string = 'No comments';
   155     else if ( $this->num_comments == 1 )
   161     else if ( $this->num_comments == 1 )
   156       $comment_string = '1 comment';
   162       $comment_string = '1 comment';
   157     else
   163     else