From cc647ae934abe5c9d9a5fc12f020adfc566349d9 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 17 Feb 2010 08:32:53 +0000 Subject: communigate pro provisioning, RT#7083 --- httemplate/edit/svc_domain.cgi | 34 +++++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) (limited to 'httemplate/edit/svc_domain.cgi') diff --git a/httemplate/edit/svc_domain.cgi b/httemplate/edit/svc_domain.cgi index 10079ce98..369d6a0fe 100755 --- a/httemplate/edit/svc_domain.cgi +++ b/httemplate/edit/svc_domain.cgi @@ -8,10 +8,18 @@ <% ntable("#cccccc",2) %> + -

Domain -
+ Domain + +% if ( !$svcnum || $conf->exists('svc_domain-edit_domain') ) { + +% } else { + <% $domain %> +% } + % if ($export) { +
Available top-level domains: <% $export->option('tlds') %> @@ -27,11 +35,25 @@ Available top-level domains: <% $export->option('tlds') %> % } - - -

+ + +% if ( $part_svc->part_svc_column('max_accounts')->columnflag =~ /^[FA]$/ ) { + +% } else { + + Maximum number of accounts + + + + +% } + + +
+ + <% include('/elements/footer.html') %> @@ -41,6 +63,8 @@ Available top-level domains: <% $export->option('tlds') %> die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Provision customer service'); #something else more specific? +my $conf = new FS::Conf; + my($svcnum, $pkgnum, $svcpart, $kludge_action, $part_svc, $svc_domain); if ( $cgi->param('error') ) { -- cgit v1.2.1