Changeset 848 for trunk/comments.php


Ignore:
Timestamp:
Aug 21, 2005, 11:23:17 PM (19 years ago)
Author:
plg
Message:
  • modification : adaptation of template variables and blocks in comments page to display comment by comment instead of picture by picture.
  • [template cclear] comments.tpl copied and adapted from template default. Return to home new icon. As asked by chrisaga, special id #commentsPage in comments.tpl to set the #content margin-left to 0 (since no #menubar to display).
  • [template cclear] FORM.filter rules taken from template default (these rules have been written some time ago by yoDan.
  • [template cclear] bug fixed on #theImage : display:block must be used only on IMG and not on the P>A (yes, in BSF you can have HTML in picture and categories descriptions)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/comments.php

    r801 r848  
    426426   
    427427    $template->assign_block_vars(
    428       'picture.comment',
     428      'comment',
    429429      array(
    430         'COMMENT_AUTHOR' => $author,
    431         'COMMENT_DATE'=>format_date($comment['date'],'mysql_datetime',true),
    432         'COMMENT'=>parse_comment_content($comment['content']),
     430        'U_PICTURE' => add_session_id($url),
     431        'TN_SRC' => $thumbnail_src,
     432        'AUTHOR' => $author,
     433        'DATE'=>format_date($comment['date'],'mysql_datetime',true),
     434        'CONTENT'=>parse_comment_content($comment['content']),
    433435        ));
    434436  }
Note: See TracChangeset for help on using the changeset viewer.