summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2010-11-08 05:24:06 +0000
committerivan <ivan>2010-11-08 05:24:06 +0000
commit246e76618447bb7ac436e9bfb8c0b042f9613326 (patch)
treec30cec1518231df96a3e45ba0a4eece200ecb0e5 /httemplate
parente50b6ec8d63afe4c04ae33384758d8786fcc7cfe (diff)
certificates ala communigate, RT#7515
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/edit/svc_domain/communigate-basics.html18
-rw-r--r--httemplate/view/svc_domain/basics.html7
2 files changed, 25 insertions, 0 deletions
diff --git a/httemplate/edit/svc_domain/communigate-basics.html b/httemplate/edit/svc_domain/communigate-basics.html
index ff401c0fc..dbad35f1c 100644
--- a/httemplate/edit/svc_domain/communigate-basics.html
+++ b/httemplate/edit/svc_domain/communigate-basics.html
@@ -56,6 +56,24 @@
% }
% if ( $communigate
+% && $part_svc->part_svc_column('cgp_certificatetype')->columnflag ne 'F' )
+% {
+
+ <% include('/elements/tr-select.html',
+ 'label' => 'PKI services',
+ 'field' => 'cgp_certificatetype',
+ 'options' => $svc_domain->cgp_certificatetype_values,
+ 'labels' => {
+ '' => 'default (Test)',
+ },
+ 'curr_value' => $svc_domain->cgp_certificatetype,
+ )
+ %>
+% } else {
+ <INPUT TYPE="hidden" NAME="cgp_certificatetype" VALUE="<% $svc_domain->cgp_certificatetype() |h %>">
+% }
+
+% if ( $communigate
% && $part_svc->part_svc_column('trailer')->columnflag ne 'F' )
% {
diff --git a/httemplate/view/svc_domain/basics.html b/httemplate/view/svc_domain/basics.html
index 1915719a0..71b7ca4eb 100644
--- a/httemplate/view/svc_domain/basics.html
+++ b/httemplate/view/svc_domain/basics.html
@@ -86,6 +86,13 @@ Service #<B><% $svcnum %></B>
</TR>
% }
+% if ( $svc_domain->cgp_certificatetype ) {
+ <TR>
+ <TD ALIGN="right">PKI services</TD>
+ <TD BGCOLOR="#ffffff"><% $svc_domain->cgp_certificatetype %></TD>
+ </TR>
+% }
+
% if ( $svc_domain->trailer ) {
<TR>
<TD ALIGN="right">Mail trailer</TD>