summaryrefslogtreecommitdiffstats
path: root/editattachstatuses.cgi
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-04-24 16:24:43 +0200
committergerv%gerv.net <>2002-04-24 16:24:43 +0200
commit05d101e58b400b1a52adcc86515b5442b85cd2f5 (patch)
treeded36788873d147ce2a62bd76239e0e99974c621 /editattachstatuses.cgi
parentc29a6dcb565731ef6757a625b7374e7ff46d417c (diff)
downloadbugzilla-05d101e58b400b1a52adcc86515b5442b85cd2f5.tar.gz
bugzilla-05d101e58b400b1a52adcc86515b5442b85cd2f5.tar.xz
Bug 138588 - change to use new template structure. Patch by gerv, r=myk, afranke.
Diffstat (limited to 'editattachstatuses.cgi')
-rwxr-xr-xeditattachstatuses.cgi20
1 files changed, 8 insertions, 12 deletions
diff --git a/editattachstatuses.cgi b/editattachstatuses.cgi
index 61e1a15ae..f4176a321 100755
--- a/editattachstatuses.cgi
+++ b/editattachstatuses.cgi
@@ -201,9 +201,8 @@ sub list
print "Content-type: text/html\n\n";
# Generate and return the UI (HTML page) from the appropriate template.
- $template->process("attachstatus/list.atml", $vars)
- || DisplayError("Template process failed: " . $template->error())
- && exit;
+ $template->process("admin/attachstatus/list.html.tmpl", $vars)
+ || ThrowTemplateError($template->error());
}
@@ -223,9 +222,8 @@ sub create
print "Content-type: text/html\n\n";
# Generate and return the UI (HTML page) from the appropriate template.
- $template->process("attachstatus/create.atml", $vars)
- || DisplayError("Template process failed: " . $template->error())
- && exit;
+ $template->process("admin/attachstatus/create.html.tmpl", $vars)
+ || ThrowTemplateError($template->error());
}
@@ -272,9 +270,8 @@ sub edit
print "Content-type: text/html\n\n";
# Generate and return the UI (HTML page) from the appropriate template.
- $template->process("attachstatus/edit.atml", $vars)
- || DisplayError("Template process failed: " . $template->error())
- && exit;
+ $template->process("admin/attachstatus/edit.html.tmpl", $vars)
+ || ThrowTemplateError($template->error());
}
@@ -322,9 +319,8 @@ sub confirmDelete
print "Content-type: text/html\n\n";
- $template->process("attachstatus/delete.atml", $vars)
- || DisplayError("Template process failed: " . & $template->error())
- && exit;
+ $template->process("admin/attachstatus/delete.html.tmpl", $vars)
+ || ThrowTemplateError($template->error());
}
else {
deleteStatus();