From 621177abc2bc60e9edb3ca723a4afaa9d9e713ef Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 12 Dec 2009 19:51:49 +0000 Subject: convert line endings to Unix --- views/default/tidypics/forms/edit.php | 234 +++++++++++++++++----------------- 1 file changed, 117 insertions(+), 117 deletions(-) (limited to 'views/default/tidypics/forms/edit.php') diff --git a/views/default/tidypics/forms/edit.php b/views/default/tidypics/forms/edit.php index cec1945f0..342ac8822 100644 --- a/views/default/tidypics/forms/edit.php +++ b/views/default/tidypics/forms/edit.php @@ -1,118 +1,118 @@ -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 = ""; - if (defined('ACCESS_DEFAULT')) - $access_id = ACCESS_DEFAULT; - else - $access_id = 1; // logged_in by 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->cover; - - if ($cover_guid != $img_guid) { - -?> -

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

- -

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

- - - - - - -

-
+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 = ""; + if (defined('ACCESS_DEFAULT')) + $access_id = ACCESS_DEFAULT; + else + $access_id = 1; // logged_in by 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->cover; + + 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