| 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 |
| 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 |
); |
); |
| 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 |
} |
} |