summaryrefslogtreecommitdiff
path: root/rt/html/Reports/Activity/Elements/Wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'rt/html/Reports/Activity/Elements/Wrapper')
-rw-r--r--rt/html/Reports/Activity/Elements/Wrapper16
1 files changed, 16 insertions, 0 deletions
diff --git a/rt/html/Reports/Activity/Elements/Wrapper b/rt/html/Reports/Activity/Elements/Wrapper
new file mode 100644
index 0000000..6f81f5f
--- /dev/null
+++ b/rt/html/Reports/Activity/Elements/Wrapper
@@ -0,0 +1,16 @@
+<%args>
+$mode => 'screen'
+</%args>
+
+% if ($mode eq 'print') {
+<& PrintHeader, %ARGS &>
+%} else {
+<& ScreenHeader, %ARGS &>
+% }
+<%$m->content |n%>
+% if ($mode eq 'print') {
+<& PrintFooter, %ARGS &>
+%} else {
+<& ScreenFooter, %ARGS &>
+% }
+