summaryrefslogtreecommitdiff
path: root/httemplate/edit/elements/class_Common.html
diff options
context:
space:
mode:
authorcvs2git <cvs2git>2010-12-27 00:04:45 +0000
committercvs2git <cvs2git>2010-12-27 00:04:45 +0000
commitc82d349f864e6bd9f96fd1156903bc1f7193a203 (patch)
treee117a87533656110b6acd56fc0ca64289892a9f5 /httemplate/edit/elements/class_Common.html
parent74e058c8a010ef6feb539248a550d0bb169c1e94 (diff)
This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'.TORRUS_1_0_9
Diffstat (limited to 'httemplate/edit/elements/class_Common.html')
-rw-r--r--httemplate/edit/elements/class_Common.html36
1 files changed, 0 insertions, 36 deletions
diff --git a/httemplate/edit/elements/class_Common.html b/httemplate/edit/elements/class_Common.html
deleted file mode 100644
index e6334fe23..000000000
--- a/httemplate/edit/elements/class_Common.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<% include( 'edit.html',
- 'fields' => [
- 'classname',
- (scalar(@category)
- ? { field=>'categorynum', type=>'select-table', 'empty_label'=>'(none)', 'table'=>'pkg_category', 'name_col'=>'categoryname' }
- : { field=>'categorynum', type=>'hidden' }
- ),
- { field=>'disabled', type=>'checkbox', value=>'Y', },
- ],
- 'labels' => {
- 'classnum' => 'Class number',
- 'classname' => 'Class name',
- 'categorynum' => 'Category',
- 'disabled' => 'Disable class',
- },
- 'viewall_dir' => 'browse',
- %opt,
- )
-
-%>
-<%init>
-
-die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
-
-my %opt = @_;
-
-my $table = $opt{'table'};
-
-my @category;
-unless ( $opt{'nocat'} ) {
- ( my $category_table = $table ) =~ s/class/category/ or die;
- @category = qsearch($category_table, { 'disabled' => '' });
-}
-
-</%init>