$t('Required files missing'),
'description' => $t(
'You are missing the required files for the Jquery Colorpicker. Please download the colorpicker.zip from !eyecon and unzip the CSS, JS and IMAGES folders to !colorpicker_path. After doing this, confirm that the following path exists: !colorpicker_js_path.',
array(
'!eyecon' => l(
'http://www.eyecon.ro/colorpicker/',
'http://www.eyecon.ro/colorpicker/',
array(
'external' => TRUE,
)
),
'!colorpicker_path' => '' . $path . '',
'!colorpicker_js_path' => '' . $path . '/js/colorpicker.js',
)
),
'severity' => REQUIREMENT_ERROR,
);
}
}
return $errors;
}
/**
* Implements hook_field_schema()
*/
function jquery_colorpicker_field_schema($field) {
$columns = array(
'jquery_colorpicker' => array(
'type' => 'varchar',
'length' => 6,
'not null' => FALSE,
),
);
return array(
'columns' => $columns,
);
}