Index: image_pub.module =================================================================== RCS file: /cvs/drupal/contributions/modules/image_pub/image_pub.module,v retrieving revision 1.11 diff -u -r1.11 image_pub.module --- image_pub.module 20 May 2006 12:14:37 -0000 1.11 +++ image_pub.module 16 Feb 2007 11:32:54 -0000 @@ -141,7 +141,7 @@ $options[$term->tid] = $dashes . $term->name; } } - $body[] = ''; foreach ($options as $aid => $term) { $sel = ''; if ($aid == $albumid) { @@ -220,11 +220,11 @@ } } } - + // move the file into the drupal filesystem $filelocation = $_FILES[$srcfield]['tmp_name']; $filename = basename($_FILES[$srcfield]['name']); - + if (file_exists(file_directory_temp() . '/' . $filename)) { // FIXME either rename or throw an error; } @@ -582,7 +582,7 @@ $album->parent = array($dtid); $term = (array)$album; $status = taxonomy_save_term( $term ); - + _image_pub_gr_finish(GR_STAT_SUCCESS, $body, 'Album reparented'); } @@ -781,6 +781,22 @@ + @@ -852,8 +868,8 @@ $body[] = 'Within:'; $body[] = _image_pub_album_selector('edit[create_parentid]', TRUE, $select_album); $body[] = ''; - $body[] = 'Name:'; - $body[] = 'Description:'; + $body[] = 'Name:'; + $body[] = 'Description:'; $body[] = ''; $body[] = ''; $body[] = ' ';