<? global $vis_language; ?>
<div class="modal-dialog">
    <div class="modal-content">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal">&times;</button>
            <h4 class="modal-title"><? echo $vis_language['TXTUPDATECOMMENT']; ?></h4>
        </div>
        <div class="modal-body">
            <div class="row">
                <div class="col-sm-12">
                    <form role="form" class="form-horizontal" id="vis_selfhelp_comment_form" name="vis_selfhelp_comment_form">
						<input type="hidden" name="vis_comment_id" value="<? echo $comment['comment_id']; ?>" />	
						<input type="hidden" name="vis_article_id" value="<? echo $comment['article_id']; ?>" />					
                        <div class="form-group">
                            <label class="col-sm-3 control-label txt_nowrap"><? echo $vis_language['TXTCOMMENT']; ?></label>
                            <div class="col-sm-9">
                                <textarea class="form-control input-sm" name="vis_content" id="vis_content"><? echo $comment['content']; ?></textarea>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
        <div class="modal-footer">
			<a class="btn btn-default" data-dismiss="modal"><? echo $vis_language['TXTCANCEL']; ?></a>
            <a class="btn btn-primary" onclick="$(this).visExecution('submit_form',{'vis_module':'selfhelp', 'vis_operation':'update_comment', 'vis_form':'vis_selfhelp_comment_form'});"><? echo $vis_language['TXTOK']; ?></a>
        </div>
    </div>
</div>
