summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--httemplate/edit/elements/edit.html9
-rw-r--r--httemplate/edit/part_event.html5
2 files changed, 6 insertions, 8 deletions
diff --git a/httemplate/edit/elements/edit.html b/httemplate/edit/elements/edit.html
index 54d676849..f00345434 100644
--- a/httemplate/edit/elements/edit.html
+++ b/httemplate/edit/elements/edit.html
@@ -196,7 +196,7 @@ Example:
&>
</%doc>
-
+%
% unless ( $opt{embed} ) {
%
% my $title = $opt{action}. ' '. ( $opt{name} || $opt{'name_singular'} );
@@ -213,14 +213,13 @@ Example:
% "View all $items" => $viewall_url,
% );
% }
-
-
- <% include('/elements/header'. ( $opt{popup} ? '-popup' : '' ). '.html',
+%
+<% include('/elements/header'. ( $opt{popup} ? '-popup' : '' ). '.html',
$title,
include( '/elements/menubar.html', @menubar ),
$opt{'body_etc'},
)
- %>
+%>
<% defined($opt{'html_init'})
? ( ref($opt{'html_init'})
diff --git a/httemplate/edit/part_event.html b/httemplate/edit/part_event.html
index 702471b73..47b8c1ac8 100644
--- a/httemplate/edit/part_event.html
+++ b/httemplate/edit/part_event.html
@@ -1,4 +1,4 @@
-<% include( 'elements/edit.html',
+<& elements/edit.html,
'name' => 'Billing event definition',
'table' => 'part_event',
'fields' => [
@@ -82,8 +82,7 @@
'agent_virt' => 1,
'agent_null_right' => 'Edit global billing events',
- )
-%>
+&>
<SCRIPT TYPE="text/javascript">
window.onload = function () { eventtable_changed(document.getElementById('eventtable')) };