<% # cert-form.adp -- an incldued file for cert-edit.adp and cert-add.adp which # share the form between those two pages. # # required arguments - the text for the "submit" button and the form action # make sure these variables exist so we don't generate lots of errors # accessing unknown variables below if { [ns_adp_argc] != 3 } { ns_log error "wrong number of arguments passed to cert-form.adp. The text for the submit button should be included, as well as the form action to send the data to." ns_adp_abort } ns_adp_bind_args submit_button_text form_action if { ![info exists hostname] } { set hostname "" } if { ![info exists issuer] } { set issuer "" } if { ![info exists encoded_email] } { set encoded_email "" } if { ![info exists expires] } { set expires [ns_fmttime [ns_time] "%Y-%m-%d"] } %> <%=[glassroom_form_action "$form_action" ]%> <% if { [info exists cert_id] } { ns_puts "[export_form_vars cert_id]\n" } %>
Hostname: >
Issuer: >
The Certificate Request: >
Exipiration Date: <%= [philg_dateentrywidget expires] %>

<%=[glassroom_submit_button "$submit_button_text" ]%>