summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2010-04-20 04:13:34 +0000
committerivan <ivan>2010-04-20 04:13:34 +0000
commit7a8c7b6f64ac14d555d866f93300e64c47b74a98 (patch)
tree7c725534f58dc2dbcfdee849f9d0481c6e46b631 /httemplate
parent9d97d8bcc06f8c0fc12cdba4fe9cb5a0ac993066 (diff)
communigate (phase 2): Account Preferences (& Domain::Account Defaults:Preferences): ProntoSkinName RT#7514
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/edit/svc_acct.cgi9
-rwxr-xr-xhttemplate/edit/svc_domain.cgi8
-rw-r--r--httemplate/view/svc_acct/basics.html5
-rw-r--r--httemplate/view/svc_domain/acct_defaults.html6
4 files changed, 24 insertions, 4 deletions
diff --git a/httemplate/edit/svc_acct.cgi b/httemplate/edit/svc_acct.cgi
index bed0aaa..5c2d5f4 100755
--- a/httemplate/edit/svc_acct.cgi
+++ b/httemplate/edit/svc_acct.cgi
@@ -492,7 +492,14 @@ Service # <% $svcnum ? "<B>$svcnum</B>" : " (NEW)" %><BR>
)
%>
-%#XXX pronto style
+ <% include('/elements/tr-select.html',
+ 'label' => 'Pronto style',
+ 'field' => 'cgp_prontoskinname',
+ 'options' => [ '', 'Pronto', 'Pronto-darkflame', 'Pronto-steel', 'Pronto-twilight', ],
+
+ 'curr_value' => $svc_acct->cgp_prontoskinname,
+ )
+ %>
<% include('/elements/tr-select.html',
'label' => 'Send read receipts',
diff --git a/httemplate/edit/svc_domain.cgi b/httemplate/edit/svc_domain.cgi
index 4f780d6..b19e9ee 100755
--- a/httemplate/edit/svc_domain.cgi
+++ b/httemplate/edit/svc_domain.cgi
@@ -320,7 +320,13 @@ Account defaults
)
%>
-%#XXX pronto style
+ <% include('/elements/tr-select.html',
+ 'label' => 'Pronto style',
+ 'field' => 'acct_def_cgp_prontoskinname',
+ 'options' => [ '', 'Pronto', 'Pronto-darkflame', 'Pronto-steel', 'Pronto-twilight', ],
+ 'curr_value' => $svc_domain->acct_def_cgp_prontoskinname,
+ )
+ %>
<% include('/elements/tr-select.html',
'label' => 'Send read receipts',
diff --git a/httemplate/view/svc_acct/basics.html b/httemplate/view/svc_acct/basics.html
index db7abe4..7beb88a 100644
--- a/httemplate/view/svc_acct/basics.html
+++ b/httemplate/view/svc_acct/basics.html
@@ -116,7 +116,10 @@
value=>$svc_acct->cgp_timezone || 'default (HostOS)' ) %>
<% include('/view/elements/tr.html', label=>'Layout',
value=>$svc_acct->cgp_skinname || 'default (***)' ) %>
-%#XXX pronto style
+
+ <% include('/view/elements/tr.html', label=>'Pronto style',
+ value=>$svc_acct->cgp_prontoskinname ) %>
+
<% include('/view/elements/tr.html', label=>'Send read receipts',
value=>$svc_acct->cgp_sendmdnmode ) %>
diff --git a/httemplate/view/svc_domain/acct_defaults.html b/httemplate/view/svc_domain/acct_defaults.html
index 6351580..b6d03e2 100644
--- a/httemplate/view/svc_domain/acct_defaults.html
+++ b/httemplate/view/svc_domain/acct_defaults.html
@@ -103,7 +103,11 @@
)
%>
-%#XXX pronto style
+ <% include('/view/elements/tr.html',
+ label=>'Pronto style',
+ value=>$svc_domain->acct_def_cgp_prontoskinname
+ )
+ %>
<% include('/view/elements/tr.html',
label=>'Send read receipts',