svc_conferencing, RT#24389
[freeside.git] / httemplate / edit / conferencing_type.html
diff --git a/httemplate/edit/conferencing_type.html b/httemplate/edit/conferencing_type.html
new file mode 100644 (file)
index 0000000..964a560
--- /dev/null
@@ -0,0 +1,21 @@
+<& elements/edit.html,
+     'table'            => 'conferencing_type',
+     'name_singular'    => 'type',
+     'fields'           => [
+                             { field=>'typeid',   type=>'text', size=>4 },
+                             { field=>'typename', type=>'text', },
+                             { field=>'disabled', type=>'checkbox', value=>'Y'},
+                           ],
+     'labels'           => { 'conftypenum' => 'Type',
+                             'typeid'      => 'ID',
+                             'typename'    => 'Name',
+                             'disabled'    => 'Disabled',
+                           },
+     'viewall_dir'      => 'browse',
+&>
+<%init>
+
+die "access denied"
+  unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+
+</%init>