summaryrefslogtreecommitdiff
path: root/httemplate/browse/msgcat.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/browse/msgcat.cgi')
-rwxr-xr-xhttemplate/browse/msgcat.cgi20
1 files changed, 5 insertions, 15 deletions
diff --git a/httemplate/browse/msgcat.cgi b/httemplate/browse/msgcat.cgi
index d4adf9f1a..318ebfdff 100755
--- a/httemplate/browse/msgcat.cgi
+++ b/httemplate/browse/msgcat.cgi
@@ -1,10 +1,6 @@
-<!-- mason kludge -->
-<%
-
-print header("View Message catalog", menubar(
- 'Main Menu' => $p,
+<%= include('/elements/header.html', "View Message catalog", menubar(
'Edit message catalog' => $p. "edit/msgcat.cgi",
-)), '<BR>';
+)) %><%
my $widget = new HTML::Widgets::SelectLayers(
'selected_layer' => 'en_US',
@@ -38,13 +34,7 @@ my $widget = new HTML::Widgets::SelectLayers(
},
);
-
-print $widget->html;
-
-print <<END;
- </TABLE>
- </BODY>
-</HTML>
-END
-
%>
+
+<%= $widget->html %>
+<%= include('/elements/footer.html') %>