<?php endif; ?>
<input type="hidden" name="action" value="details.addcomment" />
<input type="hidden" name="task_id" value="<?php echo Filters::noXSS(Req::val('task_id', $task_details['task_id'])); ?>" />
+ <button class="button positive" accesskey="s" tabindex="9" type="submit"><?php echo Filters::noXSS(L('addcomment')); ?></button>
+ <?php echo TextFormatter::textarea('comment_text', 10, 72, array('accesskey' => 'r', 'tabindex' => 8, 'id' => 'comment_text')); ?>
<?php if ($user->perms('create_attachments')): ?>
<div id="uploadfilebox">
<span style="display: none;"><?php // this span is shown/copied in javascript when adding files ?>
<?php echo Filters::noXSS(L('addanotherlink')); ?>
</button>
<?php endif; ?>
- <?php echo TextFormatter::textarea('comment_text', 10, 72, array('accesskey' => 'r', 'tabindex' => 8, 'id' => 'comment_text')); ?>
- <button accesskey="s" tabindex="9" type="submit"><?php echo Filters::noXSS(L('addcomment')); ?></button>
<?php if (defined('FLYSPRAY_HAS_PREVIEW')): ?>
<button tabindex="9" type="button" onclick="showPreview('comment_text', '<?php echo Filters::noJsXSS($baseurl); ?>', 'preview')"><?php echo Filters::noXSS(L('preview')); ?></button>
<?php endif; ?>