aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/pages/add.php
blob: c7fd3cf79d97fa4ada4ad0d3916ea81fb56d1c88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
 * Add bookmark page
 *
 * @package Bookmarks
 */

$page_owner = elgg_get_page_owner_entity();

$title = elgg_echo('bookmarks:add');
elgg_push_breadcrumb($title);

$vars = bookmarks_prepare_form_vars();
$content = elgg_view_form('bookmarks/save', array(), $vars);

$body = elgg_view_layout('content', array(
	'filter' => '',
	'buttons' => '',
	'content' => $content,
	'title' => $title,
));

echo elgg_view_page($title, $body);