diff options
Diffstat (limited to 'mod/foafssl/add.php')
-rw-r--r-- | mod/foafssl/add.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/mod/foafssl/add.php b/mod/foafssl/add.php new file mode 100644 index 000000000..b06bc4218 --- /dev/null +++ b/mod/foafssl/add.php @@ -0,0 +1,24 @@ +<?php +set_context("settings"); +global $CONFIG; +$form_body = elgg_echo('foafssl:name'); +$form_body .= elgg_view('input/text',array('internalname' => 'name')); +/*$form_body .= elgg_echo('foafssl:modulus'); +$form_body .= elgg_view('input/text',array('internalname' => 'modulus')); +$form_body .= elgg_echo('foafssl:exponent'); +$form_body .= elgg_view('input/text',array('internalname' => 'exponent'));*/ +$form_body .= elgg_view("input/file", array( + 'internalname' => 'cert_file')).'</p><br>'; +$form_body .= elgg_view('input/submit', array('value'=>'submit')); +$objects = elgg_view('input/form',array('body' => $form_body, 'action' => $CONFIG->wwwroot . 'action/foafssl/add', 'method' => 'post')); + +$body = elgg_view_title($title); +$body .= $objects; + +$body = elgg_view_layout('two_column_left_sidebar', '', $body, $area3); + +// Finally draw the page +page_draw($title, $body); + + +?> |