load('helper','url'); ?>
My Comments

show_tabbed_nav($links, $captions, 0); ?>
load('libraries', 'table'); if($comments){ $cms->table->clear(); $cms->table->set_heading('', 'Comment excerpt', 'Date'); foreach($comments as $row){ if($row->show){ if ($row->published == 1) $published = "id\" src=\"" .$cms->get_path('live') ."/components/com_jomcomment/images/publish_g.png\" border=\"0\" title='Published'/>"; else $published = "id\" src=\"" .$cms->get_path('live') ."/components/com_jomcomment/images/publish_x.png\" border=\"0\" title='Waiting for admin to approve your comment'/>"; # Make the links, we can only link on com_content, othewise, w can't really know for sure $link = $row->parentLink . '#comment-' . $row->id; $comment = jcTransformDbText($cms->trunchtml->trunchtml($row->comment, 30)); $comment = '' . $comment . ''; // add some additional info $title = ('com_content' == $row->option || 'com_myblog' == $row->option) ? jcContentTitle($row->contentid) : ''; $comment .= (!empty($title)) ? '
table->add_row($published , $comment, $row->date); } } echo $cms->table->generate(); echo $pagination; } else { echo "No Comments"; } ?>