Split pkg_comment_form.php so the outer box is not always included
commitc7025054c686f1f1a877e2d2938c39c79fb62580
authorMarcel Korpel <marcel.korpel@gmail.com>
Tue, 21 Jul 2015 20:53:55 +0000 (21 22:53 +0200)
committerLukas Fleischer <lfleischer@archlinux.org>
Sat, 8 Aug 2015 10:59:24 +0000 (8 12:59 +0200)
tree242fc17e5946c2a18281d67daa6dab2885f8cecc
parent41b6cff7c0e8459ef3783b9c3447ff43c0672a13
Split pkg_comment_form.php so the outer box is not always included

For use in the new RPC interface to edit comments, the form shouldn't
always print a header. Create a new template pkg_comment_box.php that
prints form and box, change template pkg_comment_form.php to only
print the form.

Signed-off-by: Marcel Korpel <marcel.korpel@gmail.com>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
web/html/commentedit.php
web/lib/pkgbasefuncs.inc.php
web/lib/pkgfuncs.inc.php
web/template/pkg_comment_box.php [new file with mode: 0644]
web/template/pkg_comment_form.php