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 --- views/default/tidypics/forms/edit.php | 125 ---------------------------------- 1 file changed, 125 deletions(-) delete mode 100644 views/default/tidypics/forms/edit.php (limited to 'views/default/tidypics') diff --git a/views/default/tidypics/forms/edit.php b/views/default/tidypics/forms/edit.php deleted file mode 100644 index 8e2bd9bcc..000000000 --- a/views/default/tidypics/forms/edit.php +++ /dev/null @@ -1,125 +0,0 @@ -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 = ""; - $body = ""; - $access_id = ACCESS_DEFAULT; - $subtype = 'album'; - - $title = $_SESSION['tidypicstitle']; - $body = $_SESSION['tidypicsbody']; - $tags = $_SESSION['tidypicstags']; - - unset($_SESSION['tidypicstitle']); - unset($_SESSION['tidypicsbody']); - unset($_SESSION['tidypicstags']); -} - -// group or individual -$container_guid = page_owner(); - -?> -
-
-

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

- -

- - "tidypicsbody","value" => $body,)); ?> -

- -

- - "tidypicsbody","value" => $body,"class" => 'tidypics_caption_input')); ?> -

- -

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

- - container_guid; - - // should this image be the cover for the album - only ask for non-cover photos - // determine if it is already the cover - $img_guid = $vars['entity']->guid; - $album = get_entity($container_guid); - $cover_guid = $album->getCoverImageGuid(); - - if ($cover_guid != $img_guid) { - - ?> -

- "cover", - 'options' => array(elgg_echo("album:cover")), - )); - ?> -

- -

- -

- - -

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

- - - - - - -

-
-
\ No newline at end of file -- cgit v1.2.3