You are here

function photos_edit_to_sub in Album Photos 7.3

Same name and namespace in other branches
  1. 6.2 inc/photos.edit.inc \photos_edit_to_sub()

Move image to sub album.

1 string reference to 'photos_edit_to_sub'
photos_menu in ./photos.module
Implements hook_menu().

File

inc/photos.edit.inc, line 1176
Handles uploading and editing images.

Code

function photos_edit_to_sub($fid) {
  global $user;
  $photos_to_sub_form = drupal_get_form('_photos_to_sub', $fid);
  $content = drupal_render($photos_to_sub_form);
  $content .= theme('pager');
  print theme('photos_print', array(
    'content' => $content,
  ));
}