/[drupal]/contributions/modules/image/contrib/image_gallery/image_gallery.admin.inc
ViewVC logotype

Diff of /contributions/modules/image/contrib/image_gallery/image_gallery.admin.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1, Fri Sep 4 07:39:27 2009 UTC revision 1.2, Sun Sep 13 07:53:58 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: image_gallery.admin.inc,v 1.1 2009/09/04 07:39:27 joachim Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 27  function image_gallery_admin_settings() Line 27  function image_gallery_admin_settings()
27      }      }
28      else {      else {
29        // The view is enabled: explain why there are no settings here and leave.        // The view is enabled: explain why there are no settings here and leave.
30            $form['info'] = array(        $form['info'] = array(
31          '#type' => 'item',          '#type' => 'item',
32          '#title' => t('Image galleries are being made with the Views module'),          '#title' => t('Image galleries are being made with the Views module'),
33        );        );
# Line 35  function image_gallery_admin_settings() Line 35  function image_gallery_admin_settings()
35          $form['info']['#value'] = t('To change the way galleries are displayed, edit the image_gallery view on the <a href="!views-link">Views administration page</a>.', array('!views-link' => url('admin/build/views')));          $form['info']['#value'] = t('To change the way galleries are displayed, edit the image_gallery view on the <a href="!views-link">Views administration page</a>.', array('!views-link' => url('admin/build/views')));
36        }        }
37        else {        else {
38          $form['info']['#value'] = t('To change the way galleries are displayed, enable the <strong>Views UI</strong> module on the <a href="!modules-link">Modules administration page</a>, then override the default image_gallery view.', array('!modules-link' => url('admin/build/modules', NULL, 'edit-status-views-ui')));          $form['info']['#value'] = t('To change the way galleries are displayed, enable the <strong>Views UI</strong> module on the <a href="!modules-link">Modules administration page</a>, then override the default image_gallery view.', array('!modules-link' => url('admin/build/modules')));
39        }        }
40        return $form;        return $form;
41      }      }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.2