1
0
orblog-legacy/private/templates/comment_form.php
2024-07-13 19:19:16 +03:00

25 lines
1.1 KiB
PHP

<?php
/*-----------------------------------------------------------------------------
orblog - Simple blog for hidden networks.
Version: 0.1
Git: https://code.fossee.net/chicory/orblog-legacy
Copyright: chicory@fossee.net 2020
License: http://www.apache.org/licenses/LICENSE-2.0
-----------------------------------------------------------------------------*/
?>
<h1 id="add"><?=$_LANG['add_comment']?></h1>
<?php if($_TPL['error']) { ?>
<div class="error">
<?=$_TPL['error']?>
</div>
<?php } ?>
<form action="index.php?view=post&id=<?=$_TPL['id']?>&action=add_comment" method="post">
<textarea name="text" class="editor" rows="4" placeholder="<?=$_LANG['comment_text']?>"></textarea>
<img src="captcha.php" alt="captcha" class="captcha"><br>
<input type="text" name="captcha" class="editor" placeholder="<?=$_LANG['input_captcha']?>">
<input type="submit" class="button" value="<?=$_LANG['submit']?>">
</form>