From 4674cdd60cb9d43ad635d3b5cec7a5aa3d5daf03 Mon Sep 17 00:00:00 2001 From: Silvio Date: Fri, 22 Oct 2010 17:15:49 -0200 Subject: Removing admin interface --- jquery_gallery_view.module | 33 --------------------------------- 1 file changed, 33 deletions(-) (limited to 'jquery_gallery_view.module') diff --git a/jquery_gallery_view.module b/jquery_gallery_view.module index fe3b815..4edb235 100644 --- a/jquery_gallery_view.module +++ b/jquery_gallery_view.module @@ -6,39 +6,6 @@ * jQuery GalleryView module. */ -/** - * Implementation of hook_menu(). - */ -function jquery_gallery_view_menu() { - $items['admin/settings/jquery_gallery_view'] = array( - 'title' => t('jQuery Gallery View'), - 'description' => t('Configure settings for jQuery Gallery View.'), - 'page callback' => 'jquery_gallery_view', - 'access arguments' => array('administer content'), - 'type' => MENU_NORMAL_ITEM, - 'file' => 'jquery_gallery_view.admin.inc', - ); - - return $items; -} - -/** - * Get the first filefield from a content type. - * - * @param $fields - * Content type fields. - * - * @return - * Field name. - */ -function jquery_gallery_view_field($fields) { - foreach ($fields as $field) { - if ($field['type'] == 'filefield') { - return $field['field_name']; - } - } -} - /** * Setup photos for a view. * -- cgit v1.2.3