From 9d77a21db3642ca66d9a0e545b804b7e6b4090ee Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 29 Oct 2009 01:08:33 +0000 Subject: customer classification, RT#6376 --- httemplate/edit/pkg_category.html | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) (limited to 'httemplate/edit/pkg_category.html') 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'); - - -- cgit v1.2.1