diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-15 15:09:48 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-15 15:09:48 -0300 |
commit | 7d9fff84991467dfe4d28f206663f50e38dbbc6d (patch) | |
tree | 47355573880b175fed210689363c10d6f2d77d2b /mod/foafssl/manage.php | |
parent | 80ea7ce46f9f6f760570370ff45f73cf29c9e5af (diff) | |
parent | 4fb376687dc1546f51e637cae1478582309f85f0 (diff) | |
download | elgg-7d9fff84991467dfe4d28f206663f50e38dbbc6d.tar.gz elgg-7d9fff84991467dfe4d28f206663f50e38dbbc6d.tar.bz2 |
Merge commit '4fb376687dc1546f51e637cae1478582309f85f0' as 'mod/foafssl'
Diffstat (limited to 'mod/foafssl/manage.php')
-rw-r--r-- | mod/foafssl/manage.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mod/foafssl/manage.php b/mod/foafssl/manage.php new file mode 100644 index 000000000..4a38c7342 --- /dev/null +++ b/mod/foafssl/manage.php @@ -0,0 +1,27 @@ +<?php +gatekeeper(); +global $CONFIG; +set_context("settings"); +$user = get_loggedin_user(); + +$title = elgg_echo("foafssl:your"); +$options = array('types'=>'object','subtypes'=>'sslkey','owner_guid'=>$user->getGUID(),'full_view'=>false); +$objects = elgg_list_entities($options); + +$body = elgg_view_title($title); +$body .= "<div class='contentWrapper'>"; +$body .= sprintf(elgg_echo("foafssl:explain"), $user->getURL()."?view=foaf")."<br/><br/>"; +$body .= "<a class='add_topic_button' href='".$CONFIG->wwwroot."pg/foafssl/add'>".elgg_echo('foafssl:addforeign')."</a> "; +$body .= "<a class='add_topic_button' href='".$CONFIG->wwwroot."pg/foafssl/generate'>".elgg_echo('foafssl:generate')."</a> "; +$body .= "<a class='add_topic_button' href='".elgg_add_action_tokens_to_url($CONFIG->wwwroot."action/foafssl/suck")."'>".elgg_echo('foafssl:suck')."</a><br/>"; +$body .= "</div>"; + +//$body .= elgg_view("pages/welcome", array('entity' => $welcome_message)); +$body .= $objects; + +$body = elgg_view_layout('two_column_left_sidebar', '', $body, $area3); + +// Finally draw the page +page_draw($title, $body); + +?> |