summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrel O\'Pry2008-07-31 05:25:11 (GMT)
committer Darrel O\'Pry2008-07-31 05:25:11 (GMT)
commitbc63d6a9358a4809a88c6e7ae8c0a08e9ee6eca2 (patch)
treeaa8a816d90f8299e50652b47edd79aab9d6ea617
parent94bdd4997a637855e6a8bf48fe7deb3c4925764c (diff)
#286629 by dopry, restore default formatter. silly me.
-rw-r--r--filefield.module4
-rw-r--r--filefield_formatter.inc2
2 files changed, 3 insertions, 3 deletions
diff --git a/filefield.module b/filefield.module
index 5da2dac..e0cc0a1 100644
--- a/filefield.module
+++ b/filefield.module
@@ -101,7 +101,7 @@ function filefield_theme() {
),
- 'filefield_formatter_filefield_default' => array(
+ 'filefield_formatter_default' => array(
'arguments' => array('element' => NULL),
'file' => 'filefield_formatter.inc',
),
@@ -371,7 +371,7 @@ function filefield_widget_info() {
*/
function filefield_field_formatter_info() {
return array(
- 'filefield_default' => array(
+ 'default' => array(
'label' => t('Generic files'),
'suitability callback' => TRUE,
'field types' => array('filefield','image'),
diff --git a/filefield_formatter.inc b/filefield_formatter.inc
index 431e3b0..c02d560 100644
--- a/filefield_formatter.inc
+++ b/filefield_formatter.inc
@@ -13,7 +13,7 @@
/**
* Theme function for the 'default' filefield formatter.
*/
-function theme_filefield_formatter_filefield_default($element) {
+function theme_filefield_formatter_default($element) {
$file = $element['#item'];
$field = content_fields($element['#field_name']);
$output = theme('filefield_item', $file, $field);