+
+ % if ($config->{debug} == 1) {
+
+ %= dumper $c->current_route
+
+ % }
+
+
<%=$title%>
+ %= $modul
+
+ %if ($certificate_data->{first}) {
+
+ %=$c->render_to_string(inline =>$c->l($certificate_data->{first}))
+
+
+ %} elsif ($certificate_data->{success}) {
+
+
Operation Status Report - success
+
+ %= $c->l($certificate_data->{success});
+
+
+
+
+ %} elsif ($certificate_data->{error}) {
+
+
Operation Status Report - error
+
+ %= $c->l($certificate_data->{error});
+
+
+
+
+ %} elsif ($certificate_data->{warning}) {
+
+
Operation Status Report - warning
+
+ %= $c->l($certificate_data->{warning});
+
+
+
+
+ %}
+ %= form_for '/certificatesave' => (method => 'POST') => begin
+ % my $btn = l('SAVE');
+ %== l 'DESC_SSL_CERTIFICAT_CONFIG_PAGE'
+
+
+
+ %=l 'LABEL_DOMAIN_CRT'
+
+ %=l 'DESC_DOMAIN_CRT'
+
+
+ % param 'ca_crt' => $certificate_data->{'domain.crt'} unless param 'ca_crt';
+ %= text_area 'ca_crt' , cols=>60, rows=>15
+
+
+
+
+
+ %=l 'LABEL_DOMAIN_KEY'
+
+ %=l 'DESC_DOMAIN_KEY'
+
+ % param 'ca_key' => $certificate_data->{'domain.key'} unless param 'ca_key';
+ %= text_area 'ca_key' , cols=>60, rows=>15
+
+
+
+
+
+ %=l 'LABEL_CERTIFICATE_CHAINFILE'
+
+ %=l 'DESC_CERTIFICATE_CHAINFILE'
+
+ % param 'chain_crt_file' => $certificate_data->{'chain.pem'} unless param 'chain_crt_file';
+ %= text_area 'chain_crt_file' , cols=>60, rows=>15
+
+
+ %= submit_button "$btn", class => 'action'
+
+%end
+
+%= stylesheet begin
+span.label {
+ width:46em;
+ font-weight:normal;
+}
+
+span.label strong {
+ text-align:left;
+}
+%end
+
+%end
\ No newline at end of file