Example #1
0
    && $connectedToOnlineServer == false) {
?>
<tr>
  <td><?php camp_html_display_msgs('0.25em', '0.25em'); ?></td>
</tr>
</table>
<?php
} else {
?>
<tr>
  <td align="right" valign="top" nowrap><?php putGS('From'); ?>:</td>
  <td><?php p(htmlspecialchars($comment->getAuthor())); ?> &lt;<?php p(htmlspecialchars($comment->getEmail())); ?>&gt; (<?php p($comment->getIpAddress()); ?>)</td>
</tr>
<tr>
  <td align="right" valign="top" nowrap><?php putGS('Date'); ?>:</td>
  <td><?php p(date('Y-m-d H:i:s', $comment->getCreationDate())); ?></td>
</tr>
<tr>
  <td align="right" valign="top" nowrap><?php putGS('Subject'); ?>:</td>
  <td><?php p(htmlspecialchars($comment->getSubject())); ?></td>
</tr>
<tr>
  <td align="right" valign="top" nowrap><?php putGS('Comment'); ?>:</td>
  <td><?php p(htmlspecialchars($comment->getBody())); ?></td>
</tr>
</table>
<p>
<form action="/<?php p($ADMIN); ?>/articles/comments/do_add_comment.php" method="GET">
<?php echo SecurityToken::FormParameter(); ?>
<input type="hidden" name="f_language_id" value="<?php p($f_language_id); ?>">
<input type="hidden" name="f_article_number" value="<?php p($f_article_number); ?>">