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 <?
= __("Git commit identifiers referencing commits in the AUR package repository and URLs are converted to links automatically.") ?
>
13 <?
= __("%sMarkdown syntax%s is partially supported.", '<a href="https://daringfireball.net/projects/markdown/syntax">', "</a>") ?
>
16 <textarea id
="id_comment" name
="comment" cols
="80" rows
="10"><?
= (isset($comment_id)) ?
htmlspecialchars($comment) : "" ?
></textarea
>
19 <input type
="submit" value
="<?= (isset($comment_id)) ? __("Save
") : __("Add Comment
") ?>" />
20 <?php
if (!isset($comment_id) && !pkgbase_user_notify($uid, $base_id)): ?
>
21 <span
class="comment-enable-notifications">
22 <input type
="checkbox" name
="enable_notifications" id
="id_enable_notifications" />
23 <label
for="id_enable_notifications"><?
= __("Enable notifications") ?
></label
>