aboutsummaryrefslogtreecommitdiff
path: root/manage.php
blob: 4a38c7342ffd4873835ba30c398af94bfe218ed6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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);

?>