From c7025054c686f1f1a877e2d2938c39c79fb62580 Mon Sep 17 00:00:00 2001 From: Marcel Korpel Date: Tue, 21 Jul 2015 22:53:55 +0200 Subject: 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 Signed-off-by: Lukas Fleischer --- web/template/pkg_comment_box.php | 4 ++++ web/template/pkg_comment_form.php | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 web/template/pkg_comment_box.php (limited to 'web/template') diff --git a/web/template/pkg_comment_box.php b/web/template/pkg_comment_box.php new file mode 100644 index 0000000..22f90d4 --- /dev/null +++ b/web/template/pkg_comment_box.php @@ -0,0 +1,4 @@ +
+

+ +
diff --git a/web/template/pkg_comment_form.php b/web/template/pkg_comment_form.php index 16a92b1..7c16eb7 100644 --- a/web/template/pkg_comment_form.php +++ b/web/template/pkg_comment_form.php @@ -1,5 +1,3 @@ -
-

-
- -- cgit v1.2.3-70-g09d2