1 <form action
="<?= get_pkgbase_uri($pkgbase_name) ?>" method
="post">
4 <input type
="hidden" name
="action" value
="<?= (isset($comment_id)) ? "do_EditComment
" : "do_AddComment
" ?>" />
5 <input type
="hidden" name
="ID" value
="<?= intval($base_id) ?>" />
6 <?php
if (isset($comment_id)): ?
>
7 <input type
="hidden" name
="comment_id" value
="<?= $comment_id ?>" />
9 <input type
="hidden" name
="token" value
="<?= htmlspecialchars($_COOKIE['AURSID']) ?>" />
12 <textarea id
="id_comment" name
="comment" cols
="80" rows
="10"><?
= (isset($comment_id)) ?
htmlspecialchars($comment) : "" ?
></textarea
>
15 <input type
="submit" value
="<?= (isset($comment_id)) ? __("Save
") : __("Add Comment
") ?>" />