From 98664daa72a390fe760b69116af8bfa9327826e3 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 19 Nov 2011 18:43:35 -0500 Subject: album creation and editing is working --- pages/photos/album/add.php | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 pages/photos/album/add.php (limited to 'pages/photos/album/add.php') diff --git a/pages/photos/album/add.php b/pages/photos/album/add.php new file mode 100644 index 000000000..d34d39177 --- /dev/null +++ b/pages/photos/album/add.php @@ -0,0 +1,34 @@ +name, "photos/owner/$owner->username"); +} else { + elgg_push_breadcrumb($owner->name, "photos/group/$owner->guid/all"); +} +elgg_push_breadcrumb($title); + +$vars = tidypics_prepare_form_vars(); +$content = elgg_view_form('photos/album/save', array('method' => 'post'), $vars); + +$body = elgg_view_layout('content', array( + 'content' => $content, + 'title' => $title, + 'filter' => '', +)); + +echo elgg_view_page($title, $body); -- cgit v1.2.3