diff options
author | ivan <ivan> | 2010-02-21 03:16:02 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-02-21 03:16:02 +0000 |
commit | 259eacca8b815b2bf159e7ee14385e2ac28ed9ee (patch) | |
tree | de35289c365cc1e3b0c47a8193454f22e2ec25c7 /httemplate/edit/svc_acct.cgi | |
parent | d2e5d9d1f65fc94eb87eae45b675645e92087f49 (diff) |
communigate, RT#7083
Diffstat (limited to 'httemplate/edit/svc_acct.cgi')
-rwxr-xr-x | httemplate/edit/svc_acct.cgi | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/httemplate/edit/svc_acct.cgi b/httemplate/edit/svc_acct.cgi index 065ce701d..0254ec186 100755 --- a/httemplate/edit/svc_acct.cgi +++ b/httemplate/edit/svc_acct.cgi @@ -243,7 +243,9 @@ Service # <% $svcnum ? "<B>$svcnum</B>" : " (NEW)" %><BR> % } -% if ( $communigate ) { +% if ( $communigate +% && $part_svc->part_svc_column('cgp_type')->columnflag ne 'F' ) +% { <TR> <TD ALIGN="right">Mailbox type</TD> @@ -258,17 +260,27 @@ Service # <% $svcnum ? "<B>$svcnum</B>" : " (NEW)" %><BR> </TD> </TR> - <TR> +% } else { + <INPUT TYPE="hidden" NAME="cgp_type" VALUE="<% $svc_acct->cgp_type() %>"> +% } + + +% if ( $communigate +% && $part_svc->part_svc_column('cgp_accessmodes')->columnflag ne 'F' ) +% { + <TR> - <TD ALIGN="right">Mailbox type</TD> - <TD>XXX checkbox thingie!! + <TD ALIGN="right">Enabled services</TD> + <TD> + <% include( '/elements/communigate_pro-accessmodes.html', + 'curr_value' => $svc_acct->cgp_accessmodes, + ) + %> </TD> </TR> - % } else { - <INPUT TYPE="hidden" NAME="cgp_type" VALUE="<% $svc_acct->cgp_type() %>"> - <INPUT TYPE="hidden" NAME="cgp_accessmodes" VALUE="<% $svc_acct->cgp_accessmodes() %>"> + <INPUT TYPE="hidden" NAME="cgp_accessmodes" VALUE="<% $svc_acct->cgp_accessmodes() |h %>"> % } |