summaryrefslogtreecommitdiff
path: root/httemplate/edit/pkg_category.html
diff options
context:
space:
mode:
authorivan <ivan>2009-10-29 01:08:33 +0000
committerivan <ivan>2009-10-29 01:08:33 +0000
commit9d77a21db3642ca66d9a0e545b804b7e6b4090ee (patch)
tree8323e01c8e25420222c97b4e0ea87f89b73203fd /httemplate/edit/pkg_category.html
parentf274814c7cde3681578ca594a2b00475370e4c92 (diff)
customer classification, RT#6376
Diffstat (limited to 'httemplate/edit/pkg_category.html')
-rw-r--r--httemplate/edit/pkg_category.html23
1 files changed, 2 insertions, 21 deletions
diff --git a/httemplate/edit/pkg_category.html b/httemplate/edit/pkg_category.html
index a07dc5842..a244bd53a 100644
--- a/httemplate/edit/pkg_category.html
+++ b/httemplate/edit/pkg_category.html
@@ -1,24 +1,5 @@
-<% include( 'elements/edit.html',
+<% include( 'elements/category_Common.html',
'name' => 'Package Category',
'table' => 'pkg_category',
- 'fields' => [
- 'categoryname',
- 'weight',
- { field=>'disabled', type=>'checkbox', value=>'Y', },
- ],
- 'labels' => {
- 'categorynum' => 'Category number',
- 'categoryname' => 'Category name',
- 'weight' => 'Weight',
- 'disabled' => 'Disable category',
- },
- 'viewall_dir' => 'browse',
- )
-
+ )
%>
-<%init>
-
-die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
-
-</%init>