From 4fb376687dc1546f51e637cae1478582309f85f0 Mon Sep 17 00:00:00 2001
From: Silvio Rhatto
Date: Sat, 15 Mar 2014 15:09:48 -0300
Subject: Squashed 'mod/foafssl/' content from commit 3c1da1e
git-subtree-dir: mod/foafssl
git-subtree-split: 3c1da1eaff8f61049b45ad99528f8f4e09ac7e62
---
generate.php | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 generate.php
(limited to 'generate.php')
diff --git a/generate.php b/generate.php
new file mode 100644
index 000000000..1e86a7070
--- /dev/null
+++ b/generate.php
@@ -0,0 +1,22 @@
+".elgg_echo('foafssl:generate:description')."
";
+$form_body .= elgg_echo('foafssl:name').":";
+$form_body .= elgg_view('input/text',array('internalname' => 'name'));
+$form_body .= '';
+$form_body .= elgg_view('input/submit', array('value'=>elgg_echo('foafssl:generate')));
+$objects = elgg_view('input/form',array('body' => $form_body, 'action' => $CONFIG->wwwroot . 'action/foafssl/generate', 'method' => 'post'));
+
+
+$title = elgg_echo('foafssl:generatecert');
+$body = elgg_view_title($title);
+$body .= $objects;
+$body .= "".elgg_echo('foafssl:return')."";
+
+$body = elgg_view_layout('two_column_left_sidebar', '', $body, $area3);
+
+// Finally draw the page
+echo page_draw($title, $body);
+
+?>
--
cgit v1.2.3