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 { $action = "tidypics/addalbum"; $tags = ""; $title = ""; $description = ""; if (defined('ACCESS_DEFAULT')) $access_id = ACCESS_DEFAULT; else $access_id = 0; $subtype = 'album'; } // group or individual $container_guid = page_owner(); ?>

"title", "value" => $title,)); ?>

"descript","value" => $body,)); ?>

"descript","value" => $body,)); ?>

"tags","value" => $tags,)); ?>

guid; $container_guid = $vars['entity']->container_guid; $cover_guid = get_entity($container_guid)->cover; if($cover_guid == $vars['entity']->guid) $cover = 'yes'; ?>

"cover", "value" => $cover, 'options' => array(elgg_echo('album:cover:yes')))); ?>

'access_id','value' => $access_id)); ?>