Index: tiki-list_comments.php IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- tiki-list_comments.php (revision 48542) +++ tiki-list_comments.php (revision ) @@ -6,7 +6,7 @@ // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. -// $Id: tiki-list_comments.php 46727 2013-09-30 21:04:37Z jonnybradley $ +// $Id: tiki-list_comments.php 46727 2013-07-19 11:47:04Z jonnybradley $ require_once ('tiki-setup.php'); @@ -75,7 +75,12 @@ // No need to show types choices if there is only one choice that is already choosed if (count($show_types) == 1 && count($selected_types) == 1) $show_types = array(); -$headers = array('title' => 'Title', 'objectType' => 'Type', 'object' => 'Object', 'userName' => 'Author', 'commentDate' => 'Date', 'data' => 'Comment',); +if ($prefs['section_comments_parse'] === 'y') { + $dataKey = 'parsed'; +} else { + $dataKey = 'data'; +} +$headers = array('title' => 'Title', 'objectType' => 'Type', 'object' => 'Object', 'userName' => 'Author', 'commentDate' => 'Date', $dataKey => 'Comment',); $more_info_headers = array('user_ip' => tra('IP'), 'email' => tra('Email'), 'website' => tra('Website')); if (count($selected_types) == 1) { Index: templates/tiki-list_comments.tpl IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- templates/tiki-list_comments.tpl (revision 48542) +++ templates/tiki-list_comments.tpl (revision ) @@ -1,4 +1,4 @@ -{* $Id: tiki-list_comments.tpl 47523 2013-09-30 21:05:58Z chibaguy $ *} +{* $Id: tiki-list_comments.tpl 47523 2013-09-17 14:39:03Z chibaguy $ *} {title help="comments" admpage="comments"}{$title}{/title} {if $comments or ($find ne '') or count($show_types) gt 0 or isset($smarty.request.findfilter_approved)} @@ -84,8 +84,8 @@ {foreach key=headerKey item=headerName from=$headers}{assign var=val value=$comments[ix].$headerKey} -