From bf9291c23b5fe587e2226bf73c317bf76ea686a6 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 20 Jun 2009 16:05:56 +0000 Subject: now using built-in radio input view --- actions/edit_multi.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'actions') diff --git a/actions/edit_multi.php b/actions/edit_multi.php index a857e92d7..7c03244a5 100644 --- a/actions/edit_multi.php +++ b/actions/edit_multi.php @@ -7,19 +7,19 @@ // Make sure we're logged in (send us to the front page if not) if (!isloggedin()) forward(); - // Get input data - $cover = get_input('cover'); + // Get input data $title_array = get_input('title'); $caption_array = get_input('caption'); $tags_array = get_input('tags'); $image_guid_array = get_input('image_guid'); $container_guid = get_input('container_guid'); $album_entity = get_entity($container_guid); + $cover = get_input('cover'); $not_updated = array(); - foreach($image_guid_array as $key => $im) { + foreach($image_guid_array as $key => $im) { $image = get_entity($im); - + if ($image->canEdit()) { // Convert string of tags into a preformatted array @@ -27,7 +27,7 @@ //set description appropriately $image->title = $title_array[$key]; - + //set description appropriately $image->description = $caption_array[$key]; @@ -43,7 +43,7 @@ } //if cover meta is sent from image save as metadata - if ($cover == $im) { + if ($cover == $im) { $album_entity->cover = $im; } } -- cgit v1.2.3