You are here

function image_gallery_admin_add in Image 5

Same name and namespace in other branches
  1. 5.2 contrib/image_gallery/image_gallery.module \image_gallery_admin_add()
1 string reference to 'image_gallery_admin_add'
image_gallery_menu in contrib/image_gallery/image_gallery.module

File

contrib/image_gallery/image_gallery.module, line 194

Code

function image_gallery_admin_add($edit = array()) {
  if ($_POST['op'] == t('Delete') || $_POST['confirm']) {
    return drupal_get_form('image_gallery_confirm_delete', $edit['tid']);
  }
  return drupal_get_form('image_gallery_admin_form', $edit);
}