Changeset 29008


Ignore:
Timestamp:
Jul 8, 2014, 9:00:47 PM (10 years ago)
Author:
mistic100
Message:

feature:2807 better fix for svn:28995

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/comments.php

    r28995 r29008  
    202202      'TN_SRC' => $thumb,
    203203      'AUTHOR' => trigger_change('render_comment_author', $author_name),
    204       'DATE' => format_date($row['date']).' '.substr($row['date'],11,4),
     204      'DATE' => format_date($row['date'], array('day_name','day','month','year','time')),
    205205      'CONTENT' => trigger_change('render_comment_content',$row['content']),
    206206      'IS_PENDING' => ('false' == $row['validated']),
  • trunk/comments.php

    r28995 r29008  
    486486      'AUTHOR' => trigger_change('render_comment_author', $comment['author']),
    487487      'WEBSITE_URL' => $comment['website_url'],
    488       'DATE'=>format_date($comment['date']).' '.substr($comment['date'],11,4),
     488      'DATE'=>format_date($comment['date'], array('day_name','day','month','year','time')),
    489489      'CONTENT'=>trigger_change('render_comment_content',$comment['content']),
    490490      );
  • trunk/include/functions.inc.php

    r28981 r29008  
    610610  }
    611611
    612   if ($show === null)
     612  if ($show === null || $show === true)
    613613  {
    614614    $show = array('day_name', 'day', 'month', 'year');
  • trunk/include/picture_comment.inc.php

    r28995 r29008  
    183183          'ID' => $row['id'],
    184184          'AUTHOR' => trigger_change('render_comment_author', $row['author']),
    185           'DATE' => format_date($row['date']).' '.substr($row['date'],11,4),
     185          'DATE' => format_date($row['date'], array('day_name','day','month','year','time')),
    186186          'CONTENT' => trigger_change('render_comment_content',$row['content']),
    187187          'WEBSITE_URL' => $row['website_url'],
Note: See TracChangeset for help on using the changeset viewer.