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(); ?>

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

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

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

"albumtags","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)); ?>

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