summaryrefslogtreecommitdiff
path: root/httemplate/view/elements
diff options
context:
space:
mode:
authorivan <ivan>2010-02-20 22:34:58 +0000
committerivan <ivan>2010-02-20 22:34:58 +0000
commit7c4c6e090b363b84c2b01e7c7d49c6823d5d376f (patch)
tree1ab97f6d29de66b25360a0cf07120ac5701e38b4 /httemplate/view/elements
parentd8ec509e462ab968884b87ebd2c12cc357542299 (diff)
communigate pro provisioning, RT#7083
Diffstat (limited to 'httemplate/view/elements')
-rw-r--r--httemplate/view/elements/svc_export_settings.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/httemplate/view/elements/svc_export_settings.html b/httemplate/view/elements/svc_export_settings.html
new file mode 100644
index 000000000..026280546
--- /dev/null
+++ b/httemplate/view/elements/svc_export_settings.html
@@ -0,0 +1,28 @@
+% my ( $settings, $defaults ) = $svc_x->export_getsettings;
+% if ( keys %$settings ) {
+
+%# XXX a way to label this "Communigate pro settings".. just a config maybe
+ External settings
+ <% ntable('#cccccc',2) %>
+
+% foreach my $key ( keys %$settings ) {
+ <TR>
+ <TD ALIGN="right"><% $key |h %></TD>
+ <TD BGCOLOR="<% $defaults->{$key} ? '#eeeeee' : '#ffffff' %>">
+ <% $defaults->{$key} ? '<I>' : '<B>' %>
+ <% $settings->{$key} |h %>
+ <% $defaults->{$key} ? '</I>' : '</B>' %>
+ </TD>
+ </TR>
+% }
+
+ </TABLE>
+ <BR>
+
+% }
+
+<%init>
+
+my $svc_x = shift;
+
+</%init>