title); $action = "tidypics/editalbum"; $title = $vars['entity']->title; $body = $vars['entity']->description; $tags = $vars['entity']->tags; $access_id = $vars['entity']->access_id; $subtype = $vars['subtype']; // if nothing is sent, create new, but only new albums are sent here // new images are sent to upload.php } else { $title = elgg_echo("album:add"); $action = "tidypics/addalbum"; $tags = ""; $title = ""; $description = ""; } // in case we have some cached details if (isset($vars['albumtitle'])) { $title = $vars['albumtitle']; $body = $vars['albumbody']; $tags = $vars['albumtags']; } $container_guid = get_input('container_guid'); if (!$container_guid) $container_guid = page_owner(); ?>