summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit')
-rw-r--r--httemplate/edit/conferencing_quality.html21
-rw-r--r--httemplate/edit/conferencing_type.html21
-rw-r--r--httemplate/edit/process/conferencing_quality.html10
-rw-r--r--httemplate/edit/process/conferencing_type.html10
4 files changed, 62 insertions, 0 deletions
diff --git a/httemplate/edit/conferencing_quality.html b/httemplate/edit/conferencing_quality.html
new file mode 100644
index 000000000..4d93deefa
--- /dev/null
+++ b/httemplate/edit/conferencing_quality.html
@@ -0,0 +1,21 @@
+<& elements/edit.html,
+ 'table' => 'conferencing_quality',
+ 'name_singular' => 'quality',
+ 'fields' => [
+ { field=>'qualityid', type=>'text', size=>4 },
+ { field=>'qualityname', type=>'text', },
+ { field=>'disabled', type=>'checkbox', value=>'Y'},
+ ],
+ 'labels' => { 'confqualitynum' => 'Type',
+ 'qualityid' => 'ID',
+ 'qualityname' => 'Name',
+ 'disabled' => 'Disabled',
+ },
+ 'viewall_dir' => 'browse',
+&>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+
+</%init>
diff --git a/httemplate/edit/conferencing_type.html b/httemplate/edit/conferencing_type.html
new file mode 100644
index 000000000..964a5601a
--- /dev/null
+++ b/httemplate/edit/conferencing_type.html
@@ -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>
diff --git a/httemplate/edit/process/conferencing_quality.html b/httemplate/edit/process/conferencing_quality.html
new file mode 100644
index 000000000..e68b4ead7
--- /dev/null
+++ b/httemplate/edit/process/conferencing_quality.html
@@ -0,0 +1,10 @@
+<& elements/process.html,
+ 'table' => 'conferencing_quality',
+ 'viewall_dir' => 'browse',
+&>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+
+</%init>
diff --git a/httemplate/edit/process/conferencing_type.html b/httemplate/edit/process/conferencing_type.html
new file mode 100644
index 000000000..a67d7792a
--- /dev/null
+++ b/httemplate/edit/process/conferencing_type.html
@@ -0,0 +1,10 @@
+<& elements/process.html,
+ 'table' => 'conferencing_type',
+ 'viewall_dir' => 'browse',
+&>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+
+</%init>